BESTÅ BURS – TV bench, high gloss yellow
FRIHETEN – Corner sofa-bed, Skiftebo dark gray
SULTAN HANSBO – Memory foam pillowtop mattress, white, light gray
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle' | |
| }); |
| curl -s https://gist.githubusercontent.com/cdl/babab8bbe80e3a80fe23/raw/1a7769c66d1403fc3e835baaf018bade2a6a7b6c/no-reddit.sh | sh |
| # Simply curl -s this and pipe it into sh. | |
| # This script uses root privileges, be careful! | |
| # Appends a list of known Reddit subdomains to your /etc/hosts file, and points them to localhost. | |
| # Should work totally fine, but I take no responsibility if it messes up your machine. | |
| # Made by Colby Ludwig (twitter.com/cdl) | |
| sudo bash -c "echo -e '\n\n# -- Block all of Reddit --\n127.0.0.1\t\treddit.com\n127.0.0.1\t\twww.reddit.com\n127.0.0.1\t\tnp.reddit.com\n127.0.0.1\t\tssl.reddit.com\n127.0.0.1\t\tblog.reddit.com\n127.0.0.1\t\tfr.reddit.com\n127.0.0.1\t\tpay.reddit.com\n127.0.0.1\t\tes.reddit.com\n127.0.0.1\t\ten-us.reddit.com\n127.0.0.1\t\ten.reddit.com\n127.0.0.1\t\tru.reddit.com\n127.0.0.1\t\tus.reddit.com\n127.0.0.1\t\tde.reddit.com\n127.0.0.1\t\tdd.reddit.com\n127.0.0.1\t\tno.reddit.com\n127.0.0.1\t\tpt.reddit.com\n127.0.0.1\t\tww.reddit.com\n127.0.0.1\t\tss.reddit.com\n127.0.0.1\t\t4x.reddit.com\n127.0.0.1\t\tsv.reddit.com\n127.0.0.1\t\tnl.reddit.com\n127.0.0.1\t\thw.reddit.com\n127.0.0.1\t\thr.reddit.com |
| // view contains a label and a button - curious about lines 11 through 14 | |
| class ViewController: UIViewController { | |
| @IBOutlet weak var label: UILabel! | |
| // ... | |
| @IBAction func didPressButton(sender: AnyObject) { | |
| let date = NSDate() | |
| /** | |
| * This is super janky, but it works. Head to: | |
| * https://twitter.com/followers | |
| * in Chrome, and bring up the web console with Command + Option + J. | |
| * | |
| * Scroll as far down as you want the script to block (it'll block every | |
| * profile card that's visible on the page when you run it), scroll back | |
| * to the top (for the hell of it), and then paste in this script into | |
| * the web inspector and run it. | |
| * |
| Process: Telegram [59581] | |
| Path: /Applications/Telegram.app/Contents/MacOS/Telegram | |
| Identifier: ru.keepcoder.Telegram | |
| Version: 1.40 (15960) | |
| App Item ID: 747648890 | |
| App External ID: 812067011 | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: Telegram [59581] | |
| User ID: 501 |
| require 'twitter_ebooks' | |
| # eva_gbooks (v1.0) | |
| # written by @cdl for @evagiselle | |
| class EvaBot < Ebooks::Bot | |
| attr_accessor :original, :model, :model_path | |
| # Configuration here applies to all EvaBots | |
| def configure |
| # install ffmpeg via homebrew - visit brew.sh if you don't have Homebrew | |
| brew install ffmpeg | |
| # cd to directory of FLAC files | |
| cd /path/to/flacs/ | |
| # run the magic one-liner | |
| for i in *.flac; do ffmpeg -i "$i" -acodec alac "`basename "$i" .flac`.m4a"; done; |
| consumer_key = 'XXX' | |
| consumer_secret = 'XXX' | |
| access_token_key = 'XXX' | |
| access_token_secret = 'XXX' | |
| import tweepy | |
| auth = tweepy.OAuthHandler(consumer_key, consumer_secret) | |
| auth.set_access_token(access_token_key, access_token_secret) | |
| api = tweepy.API(auth) |