Skip to content

Instantly share code, notes, and snippets.

View abdennebi's full-sized avatar
๐ŸŽฏ
Focusing

Mohamed Abdennebi abdennebi

๐ŸŽฏ
Focusing
View GitHub Profile
@abdennebi
abdennebi / gist:4bc860e586e397fb817ec6324852202f
Created March 3, 2019 19:19
Install Spinnaker one liner
curl -sSL "https://www.spinnaker.io/downloads/kubernetes/quick-install.yml" sed 's/version:.*/version: 1.12.2/g' | kubectl apply -f -
@abdennebi
abdennebi / tmux-cheatsheet.markdown
Created December 31, 2018 10:07 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@abdennebi
abdennebi / KubernetesOnWindows.md
Created June 6, 2017 09:09 — forked from AdamLJohnson/KubernetesOnWindows.md
How to get Kubernetes running on Windows 10

Kubernetes On Windows

Early in August 2016 Microsoft released the Windows 10 Anniversary Update. There were a number of changes, but the one that got me to actually take the time to install the update was "Bash on Ubuntu on Windows". This feature would install Ubuntu Linux without the kernel. It would run linux in user-mode. Linux would run the commands while Windows does all the work/processing.

For an upcoming project I needed to get Kubernetes running. Being as Kubernetes is not able to be run in Windows the normally accepted way to procees is to create a virtual Linux box and run it from there. I wanted to see if Kubernetes would run in Bash on Ubuntu on Windows.

This is how I got it to work:

Install the Windows 10 Anniversary Update

@abdennebi
abdennebi / gist:abb1ff9e9528e6022f0b395464fb4160
Created May 30, 2017 14:48 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
We couldnโ€™t find that file to show.
@abdennebi
abdennebi / install-minikube-ubuntu.md
Last active September 16, 2018 12:56
Install Minikube on Ubuntu

1 - Install Virtualbox

sudo apt install virtualbox-qt

2 - Install Minikube

curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.18.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

3 - Install kubectl

@abdennebi
abdennebi / Worldโ€™s Simplest Database.md
Created March 21, 2017 22:01
Worldโ€™s Simplest Database

#!/bin/bash

db_set () { echo "$1,$2" >> database }

db_get () { grep "^$1," database | sed -e "s/^$1,//" | tail -n 1 }

@abdennebi
abdennebi / gist:b39990c88edfa46b87b3ae99d179dfb7
Created September 12, 2016 15:19
Show SQL requests in Spring JDBC
Add this logger :
<logger name="org.springframework.jdbc.core">
<priority value="debug" />
</logger>
A comparison of Collection+JSON, HAL, JSON-LD and SIREN media types.
@abdennebi
abdennebi / gist:c165468d47a9f6d8c191
Created September 24, 2015 10:10
[Android] Read apk's properties
./aapt dump badging app.apk