- Flask conventions/best practices - https://github.com/mjhea0/flask-tracking (first 2 parts of a 7 series piece)
- Boilerplate for Flask - https://github.com/mjhea0/flask-boilerplate
- Django Testing - http://www.realpython.com/blog/python/testing-in-django-part-2-model-mommy-vs-django-testing-fixtures/
- Django Debug Toolbar - http://gun.io/blog/debugging-SQL/
- Dokku and Django - http://gun.io/blog/deploying-django-app-on-dokku/
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 'faker' | |
# Create Users | |
5.times do | |
user = User.new( | |
name: Faker::Name.name, | |
email: Faker::Internet.email, | |
password: Faker::Lorem.characters(10) | |
) | |
user.skip_confirmation! |
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
// How to use this: | |
// 1. Go to the desired profile page on coderwall, like http://coderwall.com/marcinbunsch | |
// 2. Paste this gist in the JS console | |
// | |
// You can also probably use this in greasemonkey and dot.js | |
// | |
// Also, it was tested in Chrome, Firefox and Safari, it probably will | |
// not work in IE, but I just don't care about it ;) | |
// | |
// UPDATE: Coderwall made changes to the site and I cannot retrieve the achievements, so they are hardcoded, taken from a cached version of the achievements page |