- Courier
- Courier-Bold
- Courier-Oblique
- Courier-BoldOblique
- Helvetica
- Helvetica-Bold
- Helvetica-Oblique
- Helvetica-BoldOblique
- Times-Roman
- Times-Bold
This file contains hidden or 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
#!/bin/bash | |
tmp_dir=/tmp/database_redump | |
timestamp=$(date +\%Y_\%m_\%d_\%H%M) | |
tmp_dump_file="${tmp_dir}/${timestamp}.sql" | |
mkdir -p $tmp_dir | |
echo "Dumping all databases to file $tmp_dump_file" | |
mysqldump --all-databases > $tmp_dump_file |
This file contains hidden or 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
<script src="/bundle.js"></script> | |
<div id="result"></div> | |
<form method="post" enctype="multipart/form-data" action="http://www.anything2pdf.com//"> | |
<input type="hidden" name="MAX_FILE_SIZE" value="100000000"> | |
<p><strong>Select file:</strong></p> | |
<p><input type="file" name="document" style="width:220px"></p> | |
<p align="center"><input type="submit" value="Generate PDF!" id="button"></p> | |
</form> |
This file contains hidden or 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
if x? then use(x) | |
cupsOfCoffee ?= 0 | |
coffeePot?.brew() |
This file contains hidden or 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
#!/bin/bash | |
# Assume unknown | |
dtype="unknown" | |
# First try use lsb_release if exists | |
if hash lsb_release 2>/dev/null; then | |
dtype=`lsb_release -is` | |
# Last but not least try OS X |
This file contains hidden or 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
#!/bin/bash | |
# | |
# This is the installation script for puppet. | |
# | |
# Install Puppet by running this command: | |
# curl -L http://git.io/w3bB5A | sh | |
# | |
# Detect Os |
This file contains hidden or 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
require 'formula' | |
class Mysql56 < Formula | |
homepage 'http://dev.mysql.com/doc/refman/5.6/en/' | |
url 'http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.12.tar.gz/from/http://cdn.mysql.com/' | |
version '5.6.12' | |
sha1 'c48ae4061c23db89de7ebd2d25abbc36283bab69' | |
# bottle do | |
# sha1 '3c5b57df466eb538db58654c5f046ddf7bc675e9' => :mountainlion |
This file contains hidden or 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
#!/bin/sh | |
# Install rvm | |
rvm implode # will remove current rvm | |
rm ~/.rvmrc | |
\curl -L https://get.rvm.io | bash | |
source ~/.rvm/scripts/rvm | |
# Install ruby | |
rvm install ruby-1.8.6-head --rubygems 1.3.5 |
This file contains hidden or 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
#!/bin/sh | |
# then follow install brew | |
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
brew doctor |
This file contains hidden or 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
#!/bin/sh | |
# Install required gems | |
rvm gemset empty global | |
rvm gemset empty rails123 | |
bin/install/gems.sh | |
# Setup db | |
bin/get_clean_db.sh |