Skip to content

Instantly share code, notes, and snippets.

View caiusCitiriga's full-sized avatar
🙅‍♂️
Not a people person

Caius Citiriga caiusCitiriga

🙅‍♂️
Not a people person
  • BizAway
  • Trento Italy
  • 18:33 (UTC +02:00)
View GitHub Profile
@caiusCitiriga
caiusCitiriga / ngrok.yml
Created August 22, 2022 12:15 — forked from ma7dev/ngrok.yml
Ngrok, running multiple ports at once (works for free version)
# Create 4 tunnels, each for different ports, with only https enabled
# This way the ngrok process stays bellow the Free plan limit (4 tunnels)
# command: ngrok start --all # to start all of them
# command: ngrok start note tb # to run jupyter notebook server and tensorboard server only
# refer to this page for more info: https://ngrok.com/docs#multiple-tunnels
authtoken: ...
log: ngrok.log
tunnels:
# to run jupyter notebook server
@caiusCitiriga
caiusCitiriga / iterm2-solarized.md
Created January 19, 2018 08:31 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

sudo: required
dist: trusty
language: node_js
node_js:
- '4.2'
addons:
apt:
sources:
- google-chrome
// Ajax File upload with jQuery and XHR2
// Sean Clark http://square-bracket.com
// xhr2 file upload
$.fn.upload = function(remote, data, successFn, progressFn) {
// if we dont have post data, move it along
if (typeof data != "object") {
progressFn = successFn;
successFn = data;
}