I hereby claim:
- I am A-F1V3 on github.
- I am a_f1v3 (https://keybase.io/a_f1v3) on keybase.
- I have a public key whose fingerprint is 3202 C79F 4671 AC03 F4B6 924D F9B5 8580 457A C0CE
To claim this, I am signing this object:
FROM ubuntu | |
RUN apt-get install wget -y | |
RUN cd /opt && \ | |
wget https://dl.bintray.com/mitchellh/nomad/nomad_0.1.1_linux_amd64.zip -O nomad.zip && \ | |
gunzip -c nomad.zip > nomad && \ | |
chmod +x nomad && \ | |
rm nomad.zip |
I hereby claim:
To claim this, I am signing this object:
//first ajax call | |
function ajax1(whatever, function(info){ | |
//do things | |
ajaxDone(); | |
}); | |
//second ajax call | |
function ajax2(whatever, function(info){ |
#include <stdio.h> | |
#include <errno.h> | |
#include "pHash.h" | |
#include "audiophash.h" | |
#define TRUE 1 | |
#define FALSE 0 | |
int main(int argc, char **argv){ |
#Deploy and rollback on Heroku in staging and production | |
task :deploy_staging => ['deploy:set_staging_app', 'deploy:push', 'deploy:restart', 'deploy:tag'] | |
task :deploy_production => ['deploy:set_production_app', 'deploy:push', 'deploy:restart', 'deploy:tag'] | |
namespace :deploy do | |
PRODUCTION_APP = 'YOUR_PRODUCTION_APP_NAME_ON_HEROKU' | |
STAGING_APP = 'YOUR_STAGING_APP_NAME_ON_HEROKU' | |
task :staging_migrations => [:set_staging_app, :push, :off, :migrate, :restart, :on, :tag] | |
task :staging_rollback => [:set_staging_app, :off, :push_previous, :restart, :on] |
package main | |
import "fmt" | |
import "github.com/gographics/imagick/imagick" | |
func main() { | |
imagick.Initialize() | |
defer imagick.Terminate() |
#!/bin/bash | |
RANGE=100 | |
while getopts r: option | |
do | |
case "${option}" | |
in | |
r) RANGE=${OPTARG} | |
esac |
.container-narrow | |
= simple_form_for(@discount) do |f| | |
.row | |
= f.input :first_name, :wrapper => :prepend,:label =>false do | |
=content_tag :span, "First Name", :class => "add-on" | |
=f.input_field :first_name | |
= f.input :last_name, :wrapper => :prepend,:label =>false do | |
=content_tag :span, "Last Name", :class => "add-on" | |
=f.input_field :last_name | |
=f.submit "Create Coupon", :class => 'btn btn-primary' |