replace {{placeholders}} with your own values
ssh-keygen -f {{identification}} -t rsa -q
ssh-add -K {{identification}}
/** | |
* CSS Filters! | |
*/ | |
figure:nth-of-type(1) img{ | |
-webkit-filter:grayscale(1); | |
-webkit-transition:-webkit-filter 1s ease-in-out; | |
} | |
figure:nth-of-type(1) img:hover{ |
namespace :assets do | |
ROOT = Pathname.new(File.dirname(__FILE__)) | |
LOGGER = Logger.new(STDOUT) | |
APP_ASSETS_DIR = ROOT.join("app/assets") | |
PUBLIC_ASSETS_DIR = ROOT.join("vendor/assets") | |
OUTPUT_DIR = ROOT.join("public") | |
desc 'Compile assets' | |
task :compile => :compile_js |
guard 'sprockets', :destination => 'public', | |
:asset_paths => ['app/assets/javascripts', 'vendor/assets/javascripts'], | |
:root_file => 'app/assets/javascripts/application.js', :minify => true do | |
watch(%r{^app/assets/javascripts/(.+)\.(js|js\.coffee)}) | |
end |
Server { | |
SourceRoot = /var/www | |
} |
# RSpec | |
require 'spec/expectations' | |
# Webrat | |
require 'webrat' | |
require 'test/unit/assertions' | |
World(Test::Unit::Assertions) | |
Webrat.configure do |config| |
;extension = /usr/lib64/php/modules/geoip.so | |
hhvm.pid_file = "/var/run/hhvm/hhvm.pid" | |
hhvm.server.port = 9000 | |
hhvm.server.fix_path_info = true | |
hhvm.server.type = fastcgi | |
hhvm.server.enable_magic_quotes_gpc = false | |
hhvm.server.enable_keep_alive = true | |
hhvm.server.enable_ssl = true | |
hhvm.log.access_log_default_format = "%h %l %u %t \"%r\" %>s %b" |
You are going to install some things. Login in root or use sudo for most of the followings commands.
su -
First you need git.
yum install git
ruby -e "$(curl -fsSkL https://gist.githubusercontent.com/saetia/2369908/raw/4bf9a6d36060582e69f02c314f66449971a7bb11/parse.rb)" /Users/Joel/site.db.121010.dump | |
ruby parse.rb site.120411.dump |
LAContext *myContext = [[LAContext alloc] init]; | |
NSError *authError = nil; | |
NSString *myLocalizedReasonString = @"Authenticate using your finger"; | |
if ([myContext canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&authError]) { | |
[myContext evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics | |
localizedReason:myLocalizedReasonString | |
reply:^(BOOL success, NSError *error) { | |
if (success) { | |
NSLog(@"User is authenticated successfully"); | |
} else { |