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
# | |
# Meteor Flat UI installer - ( with Less support ) | |
# | |
# brew install rename # on osx | |
cd meteor-app | |
FLATUI_VER=2.1.3 | |
echo "\n Download Flat UI.. "$FLATUI_VER | |
mkdir -p client/vendor | |
mkdir -p public/assets/vendor |
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
'use strict'; | |
var thunk = require('thunkify'); | |
var co = require('co'); | |
var readline = require('readline'); | |
var rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); |
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
'editor': | |
'fontFamily': 'menlo' | |
'softWrap': true | |
'showInvisibles': true | |
'showIndentGuide': true | |
'fontSize': 14 | |
'core': | |
'themes': [ | |
'atom-dark-ui' | |
'darkmate' |
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
// Ported to Rust 0.13.0-nightly but it doesn't seem to work as expected | |
use std::time::duration::Duration; | |
use std::sync::{Arc,RWLock}; | |
use std::thread::Thread; | |
fn main() { | |
println!("running channels: "); | |
channels(); | |
println!("running locks: "); |
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
// Ported to rust 1.0.0-dev | |
// latest version is https://github.com/grigio/fun-with-threads/blob/master/rust_counter_atomics.rs | |
use std::sync::Arc; | |
use std::sync::atomic::AtomicUint; | |
use std::sync::atomic::Ordering::Relaxed; | |
use std::sync::mpsc::channel; | |
use std::thread::Thread; | |
const NUM_THREADS: usize = 20; | |
const NUM_INCREMENTS: usize = 10000000us; |
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
Google Chrome He (map: 0xffffff800fb225a0) triggered DYLD shared region unnest for map: 0xffffff800fb225a0, region 0x7fff85400000->0x7fff85600000. While not abnormal for debuggers, this increases system memory footprint until the target exits. | |
en0: 802.11d country code set to 'IT'. | |
en0: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 | |
memorystatus_thread: idle exiting pid 39 [iconservicesagen] | |
memorystatus_thread: idle exiting pid 100 [secinitd] | |
memorystatus_thread: idle exiting pid 99 [ctkd]mac | |
Google Chrome He (map: 0xffffff800fb22b40) triggered DYLD shared region unnest for map: 0xffffff800fb22b40, region 0x7fff85400000->0x7fff85600000. While not abnormal for debuggers, this increases system memory footprint until the target exits. | |
memorystatus_thread: idle exiting pid 127 [com.apple.ifdrea] | |
memorystatus_thread: idle exiting pid 125 [nehelper] | |
memorystatus_thread: idle exiting pid 133 [sysmond] |
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
Il simbolo della Apple in Unicode --> <-- |
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
$ rails | |
<internal:gem_prelude>:114:in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError) | |
from <internal:gem_prelude>:8:in `gem' | |
from /usr/bin/rails:18:in `<main>' | |
$ gem list | |
*** LOCAL GEMS *** | |
abstract (1.0.0) |
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
# Usage: ruby twitter-oauth-example.rb | |
require "rubygems" | |
require "oauth" | |
require "json" | |
CONSUMER_KEY = 'fill me' | |
CONSUMER_SECRET = 'fill me' | |
ACCESS_TOKEN = '' # don't worry | |
ACCESS_TOKEN_SECRET = '' # you'll get them! |
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
# Usage: ruby google-oauth-example.rb | |
require "rubygems" | |
require "oauth" | |
require "json" | |
CONSUMER_KEY = 'anonymous' | |
CONSUMER_SECRET = 'anonymous' | |
ACCESS_TOKEN = '' | |
ACCESS_TOKEN_SECRET = '' # Get them from Google Playground |
OlderNewer