Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| *.json | |
| *.xml | |
| token* | |
| oauth* |
| #!/usr/bin/env python | |
| # Haversine formula example in Python | |
| # Author: Wayne Dyck | |
| import math | |
| def distance(origin, destination): | |
| lat1, lon1 = origin | |
| lat2, lon2 = destination |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.example.myapp"> | |
| <!-- {packagename} will be replaced by the actual packagename --> | |
| <!-- Custom permission to safely send broadcasts between processes --> | |
| <permission | |
| android:name="{packagename}.permission.RECEIVE_BROADCASTS" | |
| android:protectionLevel="signature"/> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # encoding: utf-8 | |
| # Derived from Piotr Maliński's example with a few modifications to use logging and : | |
| # http://www.rkblog.rk.edu.pl/w/p/profiling-django-object-size-and-memory-usage-pympler/ | |
| from pympler import muppy | |
| from pympler.muppy import summary | |
| from pympler.asizeof import asizeof | |
| from django.conf import settings | |
| import logging |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
| ** 僅在全新的Ubuntu 14.04下測試過 ** | |
| 1. apt-get update && apt-get install golang git mercurial | |
| 2. cd && mkdir go | |
| 3. 編輯~/.bashrc檔, 把下列兩行加到底端: vim ~/.bashrc | |
| export GOPATH=$HOME/go | |
| export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin | |
| 4. source ~/.bashrc | |
| 5. go get github.com/google/skicka | |
| 6. skicka init |
PS: If you liked this talk or like this concept, let's chat about iOS development at Stitch Fix! #shamelessplug
Speaker: David Abrahams. (Tech lead for Swift standard library)
"Crusty" is an old-school programmer who doesn't trust IDE's, debuggers, programming fads. He's cynical, grumpy.
OOP has been around since the 1970's. It's not actually new.
Classes are Awesome