/api/events
/api/runs
/api/teams
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
bad_fb = [] | |
exception = [] | |
# Create a new file and write to it | |
File.open('/Users/developer/Documents/results.csv', 'w') do |f| | |
User.where("'facebook_access_token' IS NOT NULL").each do |u| | |
unless u.facebook_access_token.nil? | |
begin | |
@graph = Koala::Facebook::API.new(u.facebook_access_token) | |
profile = @graph.get_object("me") |
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
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/pango/1.30/pango-1.30.0.tar.xz | |
Already downloaded: /Library/Caches/Homebrew/pango-1.30.0.tar.xz | |
xz -dc "/Library/Caches/Homebrew/pango-1.30.0.tar.xz" | /usr/bin/tar xf - | |
==> ./configure --disable-dependency-tracking --disable-debug --prefix=/usr/local/Cellar/pango/1.30.0 --enable-man --with-x --with-html-dir=/usr/local/Cellar/pango/1.30.0/share/doc --disable-introspection | |
./configure --disable-dependency-tracking --disable-debug --prefix=/usr/local/Cellar/pango/1.30.0 --enable-man --with-x --with-html-dir=/usr/local/Cellar/pango/1.30.0/share/doc --disable-introspection | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no | |
checking for mawk... no |
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
HOMEBREW_VERSION: 0.9 | |
HEAD: 09c170ea043abb570d5cc4dbd69e77ddc77f3033 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.4 | |
Kernel Architecture: x86_64 | |
Xcode: 4.3.2 | |
GCC-4.0: N/A | |
GCC-4.2: N/A |
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
Error: Some installed formula are missing dependencies. | |
You should `brew install` the missing dependencies: | |
brew install pango | |
Run `brew missing` for more details. |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by pango configure 1.30.0, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --disable-dependency-tracking --disable-debug --prefix=/usr/local/Cellar/pango/1.30.0 --enable-man --with-x --with-html-dir=/usr/local/Cellar/pango/1.30.0/share/doc --disable-introspection | |
## --------- ## | |
## Platform. ## |
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
after "deploy:symlink", "deploy:restart_workers" | |
after "deploy:restart_workers", "deploy:restart_scheduler" | |
## | |
# Rake helper task. | |
# http://pastie.org/255489 | |
# http://geminstallthat.wordpress.com/2008/01/27/rake-tasks-through-capistrano/ | |
# http://ananelson.com/said/on/2007/12/30/remote-rake-tasks-with-capistrano/ | |
def run_remote_rake(rake_cmd) | |
rake_args = ENV['RAKE_ARGS'].to_s.split(',') |
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
rd1: | |
availability_zone: us-east-1a | |
local_volumes: | |
- partition_device: /dev/xvdb | |
zero: false # zeros out disk for improved performance | |
- partition_device: /dev/xvdc | |
zero: false # zeros out disk for improved performance | |
packages: [xfsprogs, mdadm] | |
raid_volumes: | |
- device: /dev/md0 # OS device to to create raid array on |
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
namespace :rubber do | |
desc <<-DESC | |
Sets up persistent volumes in the cloud | |
All volumes defined in rubber.yml will be created if necessary, and attached/mounted on their associated instances | |
DESC | |
required_task :setup_volumes do | |
rubber_instances.filtered.each do |ic| | |
env = rubber_cfg.environment.bind(ic.role_names, ic.name) | |
created_vols = [] |
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
handleFileUpload: (e) -> | |
file = e.target.files[0] | |
reader = new FileReader(); | |
reader.onload = (e) => | |
@image = new Image() | |
@image.onload = @renderImage | |
@image.src = e.target.result | |
reader.readAsDataURL(file) |
OlderNewer