I hereby claim:
- I am hadifarnoud on github.
- I am hadifarnoud (https://keybase.io/hadifarnoud) on keybase.
- I have a public key whose fingerprint is 348A A16A 2BD7 1E3F AA6E B739 9903 D205 63E9 E34B
To claim this, I am signing this object:
#!/bin/bash | |
sudo bless --device /dev/disk0s4 --setBoot --legacy --nextonly | |
osascript -e 'ignoring application responses' -e 'tell application "Finder" to restart' -e 'end ignoring' |
install Homebrew if you don't have it already | |
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
then install rbenv and ruby-build | |
$ brew install rbenv ruby-build | |
finally, install Ruby and Rails | |
$ rbenv install 2.0.0-p353 |
I hereby claim:
To claim this, I am signing this object:
fa: | |
devise: | |
failure: | |
invited: "شما یک دعوت نامه در حال انتظار دارید، با قبول آن حساب خود را بسازید." | |
invitations: | |
send_instructions: "یک ایمیل دعوت نامه به %{email} ارسال شد." | |
invitation_token_invalid: "کد دعوت نامه معتبر نیست!" | |
updated: "رمز عبور شما ذخیره شد. شما وارد سایت شدید!" | |
updated_not_active: "رمز عبور شما ذخیره شد." | |
no_invitations_remaining: "دعوت نامه ای نمانده" |
/* The API controller | |
Exports 3 methods: | |
* post - Creates a new thread | |
* list - Returns a list of threads | |
* show - Displays a thread and its posts | |
*/ | |
var Thread = require('../models/thread.js'); | |
var Post = require('../models/post.js'); |
//gulp & plugins | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var jshint = require('gulp-jshint'); | |
var browserify = require('gulp-browserify'); | |
var jade = require('gulp-jade'); | |
var stylus = require('gulp-stylus'); | |
var mocha = require('gulp-mocha'); | |
var nodemon = require('gulp-nodemon'); | |
var livereload = require('gulp-livereload'); |
{ | |
"email": "me@email.com", | |
"zone": "CLOUDFLARE_ZONE", | |
"token": "CLOUDFLARE_TOKEN" | |
} |
// Use the router(s) for any internal (relative) links, unless it has a | |
// `data-bypass` attribute or is `target=_blank` | |
$(document).on('click', 'a:not([data-bypass],[target])', function(evt) { | |
var href = $(this).attr('href'), | |
protocol = this.protocol + '//'; | |
// For <a href="#"> links, we always want to preventDefault to avoid having to do | |
// this within each individual Backbone View event function. | |
// (However don't preventDefault on #something URLs in case we need to jump down a page.) |
# Combine multiple images into one. | |
# | |
# To install the Pillow module on Mac OS X: | |
# | |
# $ xcode-select --install | |
# $ brew install libtiff libjpeg webp little-cms2 | |
# $ pip install Pillow | |
# | |
from __future__ import print_function |
# download linux kenel | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>_all.deb | |
wgte http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>-generic_<version>_arm64.deb | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-image-<version>-generic_<version>_amd64.deb | |
# intsall linux kenel | |
sudo dpkg -i *.deb | |
# unintsall old kenel | |
dpkg -l|grep linux-image |