To toast:
- Make sure you have ImageMagick installed (
brew install imagemagick
) - Change line 7 of toast.rb to the repository name you're working with
- toast!
$ bundle install
$ ./get_token [user] [pass]
$ export GHUSER=[myuser]
/* Solarized Dark | |
For use with Jekyll and Pygments | |
http://ethanschoonover.com/solarized | |
SOLARIZED HEX ROLE | |
--------- -------- ------------------------------------------ | |
base03 #002b36 background | |
base01 #586e75 comments / secondary content |
#!/bin/bash | |
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
export QT_QWS_FONTDIR=/usr/share/fonts/truetype/droid/ | |
if [ ! -e /dev/fb0 ]; then | |
/bin/ln -s /dev/graphics/fb0 /dev/fb0 | |
fi | |
export TSLIB_FBDEVICE=/dev/graphics/fb0 | |
export TSLIB_CONFFILE=/etc/ts.conf |
import com.android.volley.toolbox.HurlStack; | |
import com.squareup.okhttp.OkHttpClient; | |
import java.io.IOException; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
/** | |
* An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
* uses OkHttp as its transport. | |
*/ |
require 'dm-core' | |
require 'dm-do-adapter' | |
# Credits to kabakiyo for the ILIKE Comparator. | |
module DataMapper | |
class Query | |
module Conditions | |
class SimilarToComparison < AbstractComparison | |
slug :similar |
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | |
load 'deploy/assets' | |
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | |
load 'config/deploy' |
To toast:
brew install imagemagick
)$ bundle install
$ ./get_token [user] [pass]
$ export GHUSER=[myuser]
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>HTML5 camera test</title> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
</head> | |
<body> | |
<form> |
/* | |
* Copyright 2012 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
<?php | |
require __DIR__.'/vendor/autoload.php'; | |
use React\Curry\Util as Curry; | |
$projects = array( | |
'react-php/react', | |
'cboden/Ratchet', | |
'nrk/predis-async', |
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
Afterwards, we'll see how easy it is to package our newly provisioned VM