Skip to content

Instantly share code, notes, and snippets.

View imamabudaud's full-sized avatar

Imam Abu Daud imamabudaud

  • Katakode
  • Bogor, West Java, Indonesia
View GitHub Profile

Local SSL websites on Mac OSX

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on Mac OSX Yosemite.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward edit to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@imamabudaud
imamabudaud / README.md
Last active August 29, 2015 14:07 — forked from denji/README.md
@imamabudaud
imamabudaud / 0_reuse_code.js
Created June 13, 2014 06:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!DOCTYPE html>
<html>
<head>
<title>Capture Photo</title>
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1"/>
<script type="text/javascript" charset="utf-8" src="js/phonegap.js"></script>
<script type="text/javascript" charset="utf-8">
var pictureSource; // picture source
var destinationType; // sets the format of returned value