Skip to content

Instantly share code, notes, and snippets.

View gogson's full-sized avatar
🇫🇷
Locked in a container.

Hugo Lafitte gogson

🇫🇷
Locked in a container.
View GitHub Profile
@gogson
gogson / settings.jsonc
Created May 15, 2023 13:01 — forked from hyperupcall/settings.jsonc
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@gogson
gogson / angular_debug_watchers.js
Last active August 26, 2016 14:01 — forked from bertrandg/angular_debug_watchers.js
Displays the list all scopes along with the watchers numbers and the TOP 50 of scopes sorted by the watchers number
var debugWatchers = function(selector, dump) {
var target, i, checkInsideFn, jq, items,
nb_watchers = 0,
nb_scopes = 0,
scopes_id = {},
scopeArray = [];
if(typeof jQuery == 'undefined') {
jq = document.createElement('script');
jq.type = 'text/javascript';
@gogson
gogson / git-diff-color-scheme
Created January 7, 2016 13:37
git diff color scheme for Sublime Text 2's git plugin
<dict>
<key>name</key>
<string>Diff insertion</string>
<key>scope</key>
<string>markup.inserted.diff, meta.diff.header.to-file</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#aad2ac</string>
<key>background</key>