Skip to content

Instantly share code, notes, and snippets.

View alexshk's full-sized avatar
🙊
Forking from home

Alex S. alexshk

🙊
Forking from home
  • WB
  • Sydney
View GitHub Profile
@alexshk
alexshk / README.markdown
Created December 9, 2011 11:02 — forked from marijn/README.markdown
List of countries in YAML, CSV and TXT format
@alexshk
alexshk / hamlhtml5boilerplate.html.haml
Created May 13, 2012 18:17 — forked from neiled/hamlhtml5boilerplate.html.haml
My haml version of the html 5 boiler plate code
!!! 5
/[if lt IE 7] <html lang="en" class="no-js ie6">
/[if IE 7 ] <html lang="en" class="no-js ie7">
/[if IE 8 ] <html lang="en" class="no-js ie8">
/[if IE 9 ] <html lang="en" class="no-js ie9">
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
%head
%meta{:charset => "utf-8"}/
/
Always force latest IE rendering engine (even in intranet) &amp; Chrome Frame
@alexshk
alexshk / deploy.rb
Created July 4, 2016 00:50
Deply Rails App with Puma and Nginx via Mina
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
require 'mina/rvm' # for rvm support. (http://rvm.io)
set :domain, 'esdb.cn'
set :identity_file, '/User/somebody/.ssh/somebody.pem'
set :deploy_to, '/home/ubuntu/apps/xxx.com'
set :repository, 'ssh://git@bitbucket.org/somebody/xxx.com.git'
set :branch, 'master'
@alexshk
alexshk / ps_scale_fix.sh
Last active October 3, 2020 02:12 — forked from thejoltjoker/ps_scale_fix.sh
Fix Adobe Photoshop CC 2019 default proportional scaling.
echo "TransformProportionalScale 0" > ~/Library/Preferences/Adobe\ Photoshop\ CC\ 2020\ Settings/PSUserConfig.txt