Edmund Burke on the Reflections on the Revolutions of France

with 1 Comment

Some interesting analysis of Edmund Burke’s Reflections on the Revolutions of France: https://www.libertarianism.org/columns/edmund-burke-intellectuals-french-revolution-part-3 Burke on prejudice In a very controversial manner, Burke defends the notion of prejudice, and speaks about how the English uphold their prejudices or “untaught feelings” of what … Read More

How to get IP address of visitors (Flask and Python)

with No Comments

Imports: from flask import request, jsonify Flask endpoint and code: @app.route(“/get_my_ip”, methods=[“GET”]) def get_my_ip(): return jsonify({‘ip’: request.remote_addr}), 200 request.remote_addr contains the strong of the IPv4 Address Another way: from flask import request request.environ.get(‘HTTP_X_REAL_IP’, request.remote_addr) Stack overflow post: https://stackoverflow.com/questions/3759981/get-ip-address-of-visitors-using-flask-for-python

How to push from Branch to Master in Git

with No Comments

How to push from a remote branch to master: https://stackoverflow.com/questions/5423517/how-do-i-push-a-local-git-branch-to-master-branch-in-the-remote What to do if you know what you are doing or are experienced with Git: $ git push <remote branch>:master General format: $ git push <remote> <local branch name>:<remote branch … Read More

1 2 3 4 5 6 8