Skip to content

Instantly share code, notes, and snippets.

View sebj54's full-sized avatar

Sébastien JEAN sebj54

View GitHub Profile
@sebj54
sebj54 / add-jquery.js
Created August 5, 2021 14:37
Add jQuery to a page in browser
var script = document.createElement('script');
script.src = 'https://code.jquery.com/jquery-3.6.0.min.js';
document.head.appendChild(script);
@sebj54
sebj54 / .zshrc
Created August 21, 2020 12:10
.zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/sebjean/.oh-my-zsh"
# PATH
export PATH=~/.npm-global/bin:$PATH
# Set name of the theme to load --- if set to "random", it will
@sebj54
sebj54 / .bashrc
Last active March 17, 2017 07:53
Config
alias lal='ls -Al'
changeSite() {
cd /d/sites/$1
}
alias site=changeSite
stripMin () {
rename -f "s/\.min//g" $1
}