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
dome_height = 14.1; | |
dome_radius = 53; | |
propeller_d = 2 * dome_radius; | |
difference() { | |
union() { | |
scale([1,1,dome_height/dome_radius]) | |
sphere(r=dome_radius, $fn=72); |
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
#!/usr/bin/env python3 | |
# https://github.com/tweepy/tweepy/raw/master/examples/streaming.py | |
from __future__ import absolute_import, print_function | |
from tweepy.streaming import StreamListener | |
from tweepy import OAuthHandler | |
from tweepy import Stream |
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
### Keybase proof | |
I hereby claim: | |
* I am cdn on github. | |
* I am cn (https://keybase.io/cn) on keybase. | |
* I have a public key whose fingerprint is 47DC DE47 23C3 EEA1 6114 2A59 321B 2183 04DF F0CD | |
To claim this, I am signing this object: |
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
import mimetypes | |
import pprint | |
import requests # pip install requests [apt-get install python-pip] | |
import simplejson as json | |
from os.path import basename | |
from os.path import expanduser | |
base_url = 'https://alpha-api.app.net/stream/0' | |
token = 'USER ACCESS TOKEN' |
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
<?php | |
// part of the AppDotNetPHP class | |
// some code bias towards image handling | |
// .... | |
/** | |
* Returns a user's file objects. |
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
0 Smiley ': )', ': ]' | |
:-) (:-) :) (-: ^^ :'-) =) ^.^ ^?^ ^-^ :-] | |
1 Winking '; )' | |
'-) ;-) ;) ‘-) `-) | |
2 Tongue | |
:-p :-P :p :P :b :-b | |
:p | |
3 Grin |
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
# xorg.conf (xorg X Window System server configuration file) | |
# | |
# This file was generated by failsafeDexconf, using | |
# values from the debconf database and some overrides to use vesa mode. | |
# | |
# You should use dexconf or another such tool for creating a "real" xorg.conf | |
# For example: | |
# sudo dpkg-reconfigure -phigh xserver-xorg | |
Section "Files" | |
EndSection |
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
# xorg.conf (xorg X Window System server configuration file) | |
# | |
# This file was generated by failsafeDexconf, using | |
# values from the debconf database and some overrides to use vesa mode. | |
# | |
# You should use dexconf or another such tool for creating a "real" xorg.conf | |
# For example: | |
# sudo dpkg-reconfigure -phigh xserver-xorg | |
Section "Files" | |
EndSection |
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
/* | |
http://a0.twimg.com/a/1268179522/stylesheets/twitter.css?1268181179 | |
.minor-notification{background-color:#e3f1fa;border:solid #c6e4f2;border-width:1px 0;padding:.5em 1em;text-shadow:0 1px 1px rgba(255,255,255,.5); | |
*/ | |
@-moz-document url-prefix(http://twitter.com/) { |
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
<?php | |
ini_set('display_errors', 1); | |
error_reporting(7); | |
$lastfm_apikey = 'API Key from last.fm/api/account'; | |
$lastfm_user = 'cdn'; | |
// Amazon associate ID [-21 - GBR] | |
$_amz = 'cdn-21'; |