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 Transmission < Formula | |
homepage "http://www.transmissionbt.com/" | |
url "https://transmission.cachefly.net/transmission-2.84.tar.xz" | |
sha1 "455359bc1fa34aeecc1bac9255ad0c884b94419c" | |
option "with-nls", "Build with native language support" | |
depends_on "pkg-config" => :build |
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
http://developer.vimeo.com/apis/simple |
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
rvm install 1.9.3-p194 --with-gcc=clang | |
Fixes this error In Mac: | |
``` | |
In file included from ./include/ruby/ruby.h:64, | |
from ./include/ruby.h:32, | |
from main.c:13: | |
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory |
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
CodeRay.scan("example", :ruby).term # just to load necessary files | |
CUSTOM_COLORS = { | |
:constant => '1;34', # Bold Midnight Blue #191970 | |
:class_variable => '1;34', | |
:symbol => '1;31' # will make symbols bolded and light red on my terminal | |
} | |
Pry.config.prompt = [ | |
proc { |target_self, nest_level, pry| |
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
title: bizcard-digitization-with-awesome-badges | |
public: false | |
description: A sample line to take an image of a business card, process it so worker can easily read it and then digitize it | |
department: Digitization | |
input_formats: | |
- name: image_url | |
required: true | |
valid_type: url |
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
defaults write /Applications/Stickies.app/Contents/Info LSUIElement 1 | |
# Stickies is the name of the application, replace with the custom application | |
# Change 1 to 0 to turn the feature off | |
************** OR ********************** | |
# Find the application, usually in the applications folder | |
# Right click and 'open package contents' |
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
# === To a File | |
# | |
# CSV.open("path/to/file.csv", "wb") do |csv| | |
# csv << ["row", "of", "CSV", "data"] | |
# csv << ["another", "row"] | |
# # ... | |
# end |
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
background-image: -moz-radial-gradient(center top , ellipse farthest-side, rgba(16, 83, 130, 0.5), rgba(16, 83, 130, 0) 75%), -moz-radial-gradient(center top , ellipse farthest-side, rgba(180, 218, 244, 0.5), rgba(180, 218, 244, 0)), -moz-radial-gradient(center top , ellipse farthest-side, rgba(180, 218, 244, 0.3), rgba(180, 218, 244, 0)); | |
background-repeat: no-repeat; | |
background-size: 100% 5px, 100% 50px, 100% 100%; | |
height: 30%; |
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
module CustomMatchers | |
def define_constant(expected) | |
DefineConstant.new(expected) | |
end | |
class DefineConstant | |
def initialize(expected_constant) | |
@expected_constant = expected_constant | |
end |