Skip to content

Instantly share code, notes, and snippets.

View gokmen's full-sized avatar
🎯
Focusing

Gokmen Goksel gokmen

🎯
Focusing
View GitHub Profile
@gokmen
gokmen / ngrok-selfhosting-setup.md
Created September 21, 2016 23:31 — forked from lyoshenka/ngrok-selfhosting-setup.md
How to setup Ngrok with a self-signed SSL cert

Intro

The plan is to create a pair of executables (ngrok and ngrokd) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok to connect to this ngrokd, and vice versa.

DNS

Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com, you'll need a record for that and for *.domain.com.

Different Operating Systems

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@gokmen
gokmen / index.coffee
Created May 30, 2013 08:00 — forked from anonymous/index.coffee
React's markdown example with KDFramework
class Markdown extends JView
constructor:->
super cssClass : 'markdown',
markdown : "Type some *markdown* here!"
@textInput = new KDInputView
bind : "keyup"
type : "textarea"
defaultValue : @data.markdown
@gokmen
gokmen / index.coffee
Last active December 17, 2015 21:39 — forked from anonymous/index.coffee
React's secondsElapsed example with KDFramework
class Timer extends JView
constructor:->
super cssClass: 'timer'
@setData secondsElapsed : 0
viewAppended:->
super
setInterval (@bound 'tick'), 1000
@gokmen
gokmen / dabblet.css
Created September 24, 2012 20:36 — forked from james2doyle/dabblet.css
event widget
/**
* event widget
* url: http://dribbble.com/shots/713807-Extended
*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300);
* {
box-sizing: border-box;
}