- http://peopledevelopmentmagazine.com/2016/05/28/leadership-effectiveness/ - All about reading energy
- http://peopledevelopmentmagazine.com/2013/10/10/cornerstone-authentic-leadership - All about listening
- http://peopledevelopmentmagazine.com/2016/04/03/mindset-shifts-better-leader/ - Mindset Shift - Owning feelings
- https://www.entrepreneur.com/article/276800?utm_source=Latest&utm_medium=site&utm_campaign=iScroll - Employee grwoth
- http://www.theexecutivecoachingblog.com/2015/12/01/the-value-of-working-on-your-values/ - how to make decisions with opposing pairs
- http://www.theexecutivecoachingblog.com/2014/10/14/a-matter-of-scope/ - staying on track with differnet levels of vision.
- http://seapointcenter.com/dimensions-of-trust/ - bulilding trust
- http://leadchangegroup.com/stop-trying-to-grow-influence-grow-this-instead/ - influence vs capacity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "twitter" | |
# get these from apps.twitter.com | |
CONSUMER_KEY = "foo" | |
CONSUMER_SECRET = "bar" | |
OAUTH_TOKEN = "blee" | |
OAUTH_TOKEN_SECRET = "baz" | |
TWITTER_USER = "your_username" # needs to be the one associated with keys above |
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
by 0xabad1dea, December 2014
This document is an RFC of sorts for increasing the adoption rate of Singular They in technical English. This is not an ultimatum; this is not shaming anyone who has done otherwise; and this is definitely not applicable to any other language.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ajax = (function( root ) { | |
function getRequest() { | |
if (root.ActiveXObject) return new ActiveXObject('Microsoft.XMLHTTP'); | |
else if (root.XMLHttpRequest) return new XMLHttpRequest(); | |
else return null; | |
} | |
return function(url, callback, post) { | |
post = post || ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parseCSV(csv, delimiter) { | |
delimiter = (delimiter || ","); | |
var pattern = new RegExp("(\\"+ delimiter +"|\\r?\\n|\\r|^)"+"(?:\"([^\"]*(?:\"\"[^\"]*)*)\"|"+"([^\"\\"+ delimiter +"\\r\\n]*))", "gi"); | |
var quote = new RegExp("\"\"", "g"); | |
var data = [[]]; | |
var matches = null; | |
var val, d; | |
while (matches = pattern.exec(csv)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python manage.py sqlclear myapp auth sites sessions contenttypes | sed 's/";/" CASCADE;/' | python manage.py dbshell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Django's SMTP EmailBackend doesn't support an SMTP_SSL connection necessary to interact with Amazon SES's newly announced SMTP server. We need to write a custom EmailBackend overriding the default EMailBackend's open(). Thanks to https://github.com/bancek/django-smtp-ssl for the example. | |
""" | |
--- settings.py | |
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' | |
EMAIL_HOST = 'email-smtp.us-east-1.amazonaws.com' | |
EMAIL_PORT = 465 | |
EMAIL_HOST_USER = 'username' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load pagination_tags %} | |
{% load sorting_tags %} | |
{% block body %} | |
{% autosort filter.qs as sorted_objects %} | |
{% autopaginate sorted_objects 10 as object_list %} | |
{% for object in object_list %} | |
{{ object }} |
NewerOlder