Skip to content

Instantly share code, notes, and snippets.

View onixus74's full-sized avatar
🔮
Currently enchanting distributed systems with ML magic 🧪🔮💻

Marwen Ounis onixus74

🔮
Currently enchanting distributed systems with ML magic 🧪🔮💻
  • Copia Wealth Studios
  • Montreal
View GitHub Profile
@onixus74
onixus74 / tmux.md
Created July 30, 2018 20:59 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@onixus74
onixus74 / tmux-cheatsheet.markdown
Created July 31, 2018 13:26 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@onixus74
onixus74 / tmux-cheatsheet.markdown
Created July 31, 2018 13:26 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@onixus74
onixus74 / tmux_cheat_sheet.md
Created August 1, 2018 21:25 — forked from karenyyng/tmux_cheat_sheet.md
common work flow of tmux

Title: Tmux project sessions
Date: 2014-12-24 17:00 Tags: Tmux, learn-X-in-Y-minutes
Author: K. Y. Ng

This is a tutorial for setting up Tmux for saving terminal project sessions.

Tmux helps you emulate several shell sessions within the same terminal window.

@onixus74
onixus74 / gulpfile.js
Created August 2, 2018 18:45 — forked from klugjo/gulpfile.js
Basic gulpfile.js for a static website with browser auto refresh
// Add our dependencies
var gulp = require('gulp'), // Main Gulp module
concat = require('gulp-concat'), // Gulp File concatenation plugin
open = require('gulp-open'), // Gulp browser opening plugin
connect = require('gulp-connect'); // Gulp Web server runner plugin
// Configuration
var configuration = {
paths: {
@onixus74
onixus74 / CmderZSH.md
Created September 11, 2018 17:20 — forked from dfontana/CmderZSH.md
My setup guide for installing Cgywin, Mintty, Cmder, and ZSH.

What's this?

Instructions to obtain ZSH on a windows environment, without the input funny business presented by some other attempted solutions.

The final result is ZSH running on a mintty terminal, emulated by cygwin, and being handled by the popular cmder.

Why is this here?

For the benefit of myself and others. I've already followed these instructions twice. It took me hours to figure all this out, maybe someone else can save a few.

What exactly is covered?

  • Installing and setting up cmder
@onixus74
onixus74 / gist:fed70f61308d84836ff38e1acfe5bcc3
Created September 24, 2018 14:11 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@onixus74
onixus74 / vimium-styling.md
Created November 27, 2018 14:55 — forked from jasonlong/vimium-styling.md
Nicer Vimium link hint styling. What's Vimium? See http://vimium.github.io. This awesome yellow is courtesy of @mrmrs colors: http://clrs.cc.

@onixus74
onixus74 / install-helm.sh
Created March 19, 2019 18:16 — forked from steebchen/install-helm.sh
install helm on k8s kubeadm cluster with rbac
# install helm
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
kubectl create serviceaccount -n kube-system tiller
kubectl create clusterrolebinding tiller-binding --clusterrole=cluster-admin --serviceaccount kube-system:tiller
# run tiller with specific tiller account
helm init --service-account tiller

The apt-get version of node is incredibly old, and installing a new copy is a bit of a runaround.

So here's how you can use NVM to quickly get a fresh copy of Node on your new Bash on Windows install

$ touch ~/.bashrc
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
// restart bash
$ nvm install node