Skip to content

Instantly share code, notes, and snippets.

View pertrai1's full-sized avatar
🏠
Working from home

Rob Simpson pertrai1

🏠
Working from home
  • Warrenton, VA
View GitHub Profile
@pertrai1
pertrai1 / AutoCompletion.plist
Created August 6, 2012 15:03 — forked from dgmid/AutoCompletion.plist
Updated AutoComplete.plist for CSSEdit 2.6.1 with CSS3 & Vendor Specific properties
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
This document has been divided up in to the following sections:
1) CSS3 Properties
2) Vendor Prefixed Properties
3) Extras
4) Standard CSSEdit plist
@pertrai1
pertrai1 / mq.css
Created October 3, 2012 20:26 — forked from chriscoyier/mq.css
@media only screen and (min-width: 320px) {
/* Small screen, non-retina */
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px),
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px),
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px),
iPad
1024 × 690 In landscape on iOS 4.3
1024 × 672 In landscape on iOS 5
768 × 946 In portrait on iOS 4.3
768 × 928 In portrait on iOS 5
1024 × 660 Always showing bookmarks bar in landscape on iOS 4.3
1024 × 644 Always showing bookmarks bar in landscape on iOS 5
768 × 916 Always showing bookmarks bar in portrait on iOS 4.3

Launch the instance and connect with ssh.

##Update the server

sudo yum update

##Install php and MySQL packages

{
"path": "/usr/local/share/npm/bin:/usr/local/bin:$PATH",
"working_dir": "${project_path:${folder}}",
"cmd": ["karma", "start"]
}
<!doctype html>
<html ng-app="Demo">
<head>
<meta charset="utf-8" />
<title>
Aborting AJAX Requests Using $http And AngularJS
</title>
<style type="text/css">
App.module("FooModule.Bar", {
startWithApp: false,
define: function() {
// Code of submodule
}
});
Complete installation process:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y python-software-properties python make build-essential g++ curl libssl-dev apache2-utils git libxml2-dev
sudo apt-get update
sudo apt-get upgrade
cd ~
mkdir git
cd ~/git
@pertrai1
pertrai1 / Ranger.md
Last active October 11, 2015 19:09 — forked from KyleJamesWalker/Ranger.md

Ranger mac setup:

  • brew install ranger
  • ranger --copy-config=all
  • vim ~/.config/ranger/rc.conf
    • preview_image false --> true

Other Tools:

  • brew install w3m
  • brew install lynx
@pertrai1
pertrai1 / .ctags
Last active August 29, 2015 14:10 — forked from jackcviers/.ctags
--langdef=js
--langmap=js:.js
--regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/
--regex-js=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/
--regex-js=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*\(([^)])\)/\1/,function/
--regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/
--regex-js=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/
--regex-js=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/
--langdef=coffee
--langmap=coffee:.coffee