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
  • 14:59 (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 / tmp.kml
Last active February 27, 2019 17:04
Hello World Examples
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>Test track data transit map</name>
<description>---</description>
<Style id="yellowLine">
<LineStyle>
<color>ff0000ff</color>
@caiusCitiriga
caiusCitiriga / command.js
Created May 9, 2018 14:47
Clear terminal NODE
console.log('\x1Bc');
@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

@caiusCitiriga
caiusCitiriga / DefaultProfile.json
Last active April 8, 2025 23:06
@ShellProfilerData
{"aliases":[{"id":"d21a03ee-22db-4626-6599-cbbaa4ab388d","name":"gl","desc":"Log the repository history","command":"alias gl=\"git log\""},{"id":"dc45e31c-10bf-fc1e-a45e-5f5dcee00777","name":"greset","desc":"Reset all the uncommited work","command":"alias greset=\"git reset --hard\""},{"id":"547d1236-073f-7473-8938-7bec3b09f464","name":"gbl","desc":"Prints the local branches","command":"alias gbl=\"git branch -l\""},{"id":"4f8ec13f-4c10-ef3b-245c-276e636e77c1","name":"gbr","desc":"Prints the remote branches","command":"alias gbr=\"git branch -r\""},{"id":"bf3398b8-22fe-bb5b-718e-6e2e6aa2bfa0","name":"gfetch","desc":"Fetches the remotes","command":"alias gfetch=\"git fetch\""},{"id":"dfcba603-d5cd-e639-597e-ab00806ddfcb","name":"gclean","desc":"Cleans the repo from untracked files","command":"alias gclean=\"git clean -f -d\""},{"id":"62aae2e4-77e7-417e-6a2d-ff852d6af525","name":"kk","desc":"Clears the console","command":"alias kk=\"clear\""},{"id":"ff824b98-6fc9-63f1-a4b1-f0351c9410aa","name":"gs","desc":"Git
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;
}