This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--dark0: #2e3440; | |
--dark1: #3b4252; | |
--dark2: #434c5e; | |
--dark3: #4c566a; | |
--light0: #d8dee9; | |
--light1: #e5e9f0; | |
--light2: #eceff4; |
Tutorial: https://quickfever.com/install-older-version-of-chrome-extension
Extension Fonts :
- Disabling concrete extension update. You can do this by editing the extensions manifest json-file
on Windows: C:\Users\AppData\Local\Google\Chrome\User Data\Default\Extensions\\manifest.json (find out the extensions ID by enabling developer mode in the extension settings page)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
git fetch --all | |
git pull --all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXEC sp_configure 'Ole Automation Procedures', 1; | |
GO | |
RECONFIGURE; | |
GO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shannon entropy | |
const entropy = str => { | |
return [...new Set(str)] | |
.map(chr => { | |
return str.match(new RegExp(chr, 'g')).length; | |
}) | |
.reduce((sum, frequency) => { | |
let p = frequency / str.length; | |
return sum + p * Math.log2(1 / p); | |
}, 0); |
NewerOlder