Skip to content

Instantly share code, notes, and snippets.

View zessx's full-sized avatar

Samuel Marchal zessx

View GitHub Profile
@zessx
zessx / theme.css
Created May 5, 2022 14:34
JSONVue dark theme
/* https://chrome.google.com/webstore/detail/jsonvue/chklaanhfefbnpoihckbnefhakgolnmc?hl=fr */
#json {
white-space: pre;
font-family: Menlo, Monaco, "Courier New", monospace;
color: #d4d4d4;
background: #1e1e1e;
}
.property {
@zessx
zessx / .aliases-vagrant
Last active September 27, 2019 08:42
Manage Vagrant easily
#!/bin/zsh
# Let Funky Fox 🦊 manage your Vagrants!
# Available commands:
# - vag list
# - vag NAME up
# - vag NAME halt
# - vag NAME go
# - vag NAME ssh
function vag() {
{
"Ansi 5 Color" : {
"Green Component" : 0.30697798579568808,
"Blue Component" : 0.52344669809931299,
"Red Component" : 0.62333851809954743
},
"Tags" : [
],
"Ansi 12 Color" : {
@zessx
zessx / bash-git-prompt.sh
Last active December 15, 2021 19:15
Custom PS1 for git
# Install for all users:
# $ wget https://gist.githubusercontent.com/zessx/10777a44ff56304487e7970142ca0b65/raw/bash-git-prompt.sh --no-check-certificate -P /etc/bash_completion.d
# Install for one user:
# $ wget https://gist.githubusercontent.com/zessx/10777a44ff56304487e7970142ca0b65/raw/bash-git-prompt.sh --no-check-certificate -P ~
# $ echo "\n\n# Bash Git Prompt\nsource ~/bash-git-prompt.sh" >> ~/.bashrc
# $ . ~/.bashrc
# Settings:
BGP_BRANCH_SAFE=("develop" "dev")
@zessx
zessx / cloudSettings
Last active March 1, 2019 11:49
Visual Studio Code Sync Settings GIST (macOS)
{"lastUpload":"2019-03-01T11:49:06.131Z","extensionVersion":"v3.2.5"}
@zessx
zessx / todo.sh
Last active March 15, 2017 16:55
Search for single line TODOs in your project
#!/bin/bash
# Usage:
# ./todo.sh
# ./todo.sh folder1 folder2/subfolder
FOLDERS='./'
if [[ $* ]]; then
FOLDERS=$*
fi
@zessx
zessx / poke_refresh.js
Last active September 27, 2016 14:39
FastPokeMap Helper
javascript: (function() %7B
var audioContext = new AudioContext();
var history = [];
var names = %7B 1: "Bulbizarre", 2: "Herbizarre", 3: "Florizarre", 4: "Salamèche", 5: "Reptincel", 6: "Dracaufeu", 7: "Carapuce", 8: "Carabaffe", 9: "Tortank", 10: "Chenipan", 11: "Chrysacier", 12: "Papilusion", 13: "Aspicot", 14: "Coconfort", 15: "Dardargnan", 16: "Roucool", 17: "Roucoups", 18: "Roucarnage", 19: "Rattata", 20: "Rattatac", 21: "Piafabec", 22: "Rapasdepic", 23: "Abo", 24: "Arbok", 25: "Pikachu", 26: "Raichu", 27: "Sabelette", 28: "Sablaireau", 29: "Nidoran♀", 30: "Nidorina", 31: "Nidoqueen", 32: "Nidoran♂", 33: "Nidorino", 34: "Nidoking", 35: "Mélofée", 36: "Mélodelfe", 37: "Goupix", 38: "Feunard", 39: "Rondoudou", 40: "Grodoudou", 41: "Nosferapti", 42: "Nosferalto", 43: "Mystherbe", 44: "Ortide", 45: "Rafflesia", 46: "Paras", 47: "Parasect", 48: "Mimitoss", 49: "Aéromite", 50: "Taupiqueur", 51: "Triopikeur", 52: "Miaouss", 53: "Persian", 54: "Psykokwak", 55: "Akwakwak", 56: "Férosinge", 57: "Co
@zessx
zessx / UserConfiguration.txt
Created March 14, 2016 20:33
Eagletone Master K49 Instant Mapping for Ableton Live
# Instant Mappings for Eagletone Master K49
#
# @version : Live 9.6
# @author : zessx
# @contact : contact@zes.sx
#
# Copy this file in "<Live Path>/Preferences/User Remote Scripts/Eagletone Master K49/"
#
# Mapping required on your Master K49:
# +--------+---------+---------+
@zessx
zessx / keymaps\zessx.xml
Last active December 14, 2020 20:49
PHPStorm configuration
<keymap version="1" name="zessx" parent="$default">
<action id="$Copy">
<keyboard-shortcut first-keystroke="ctrl c" />
</action>
<action id="$Cut">
<keyboard-shortcut first-keystroke="ctrl x" />
</action>
<action id="$LRU">
<keyboard-shortcut first-keystroke="shift ctrl t" />
<keyboard-shortcut first-keystroke="shift ctrl o" />
@zessx
zessx / config.cson
Created December 17, 2015 17:06
Atom configuration files
#
# Config overrides
# @author: zessx
# @update: 2015-12-17
#
"*":
"exception-reporting":
userId: "a492e417-7928-3df0-5e75-a550025c5903"
welcome:
showOnStartup: false