Skip to content

Instantly share code, notes, and snippets.

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

Marwen Ounis onixus74

🔮
Enchanting distributed systems with ML magic 🧪🔮💻
  • Copia Wealth Studios
  • Montreal
View GitHub Profile
@onixus74
onixus74 / Dockerfile
Created June 19, 2019 14:59 — forked from wmnnd/Dockerfile
Elixir Dockerfile Boilerplate
#===========
#Build Stage
#===========
FROM bitwalker/alpine-elixir:1.5 as build
#Copy the source folder into the Docker image
COPY . .
#Install dependencies and build Release
RUN export MIX_ENV=prod && \

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
@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
input#vomnibarInput.vimiumReset {
color: #FFF !important;
border: 0;
background-color: #111 !important;
}
#vomnibar {
top: 20%;
width: 50%;
@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 / PF_Invoice_OnItemsValueChanged_FormatTable.yaml
Created November 12, 2018 20:40
This app formats "|"\n formatted table to table - Shared with Script Lab
name: PF_Invoice_OnItemsValueChanged_FormatTable
description: This app formats "|"\n formatted table to table
author: onixus74
host: EXCEL
api_set: {}
script:
content: |
var lastFormattedItems = "TEST";
//Init
@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
Install Cmder
Install Wsltty
Install Zsh
Config Cmder:
- Add Task
Icon: /icon "%CMDER_ROOT%\icons\cmder.ico"
Task: %LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -~ /bin/zsh
Note:
Add "/bin/zsh" to shortcut to make zsh startup default
@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 / 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: {