Last tested using Mac OS X 10.8 Mountain Lion
- Backup .ssh folder to avoid having to regenerate codes for services such as Heroku and Github.
| sudo sed -i "s/archive\.ubuntu/mirrors.digitalocean/g" /etc/apt/sources.list |
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
| <div class="container"> | |
| <h2>Also included in every plan</h2> | |
| <div class="row"> | |
| <div class="col-6 col-lg-3"> | |
| <h4>Team Collaboration</h4> | |
| </div> | |
| <div class="col-6 col-lg-3"> | |
| <h4>Live Preview</h4> | |
| </div> | |
| <div class="col-6 col-lg-3"> |
| config.js |
| [PHP] | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; About php.ini ; | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; PHP's initialization file, generally called php.ini, is responsible for | |
| ; configuring many of the aspects of PHP's behavior. | |
| ; PHP attempts to find and load this configuration from a number of locations. | |
| ; The following is a summary of its search order: |
| #!/bin/sh | |
| echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
| read inputline | |
| name=$inputline | |
| echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
| read inputline | |
| url=$inputline |
| if (window.navigator.standalone) { | |
| var local = document.domain; | |
| $('a').click(function() { | |
| var a = $(this).attr('href'); | |
| if ( a.match('http://' + local) || a.match('http://www.' + local) ){ | |
| event.preventDefault(); | |
| document.location.href = a; | |
| } | |
| }); | |
| } |
| { | |
| "name": "Codiqa Prototypes", | |
| "description": "Rapid Mobile Prototyping - Saves directly to Google Drive!", | |
| "version": "1.3", | |
| "container": "GOOGLE_DRIVE", | |
| "api_console_project_id" : "CONSOLE_PROJECT_ID", | |
| "intents": { | |
| "http://drive.google.com/intents/opendrivedoc": [ { | |
| "disposition": "window", | |
| "href": "http://codiqadrive.appspot.com", |
| (function( undefined ){ | |
| /* Apple Device Webkit Browsers */ | |
| var isIdevice = /(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent); | |
| if (isIdevice){ | |
| document.getElementsByTagName('body')[0].className += ' iphone ipod ipad'; | |
| } | |
| var isIphone = /(iPhone).*AppleWebKit/i.test(navigator.userAgent); | |
| if (isIphone){ | |
| document.getElementsByTagName('body')[0].className += ' iphone'; |