This file contains 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
(()=>{ | |
window.addEventListener("click", event => { | |
event.stopPropagation(); | |
}, true); | |
})(); |
This file contains 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
// Compiled using ts2gas 1.6.0 (TypeScript 3.3.3333) | |
var exports = exports || {}; | |
var module = module || { exports: exports }; | |
var startCol = 1; | |
var endCol = 2; | |
var titleCol = 3; | |
function main() { | |
var events = getEventsNext365Days(); | |
putEventsInSheet(events); | |
} |
This file contains 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
(function(){ | |
var deg = 1; | |
var body = document.getElementsByTagName("body")[0]; | |
body.style.overflow = "hidden"; | |
body.style.transition = "1000ms linear all"; | |
setInterval(function() { | |
body.style.transform = `rotate(${deg/5}deg)`; | |
deg ++; | |
},1000); |
This file contains 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
find . -name "*.jpg" | xargs mogrify -strip -interlace Plane -sampling-factor 4:2:0 -resize '2073600@>' -quality 85% |
This file contains 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
#!/bin/bash | |
git clone --bare git@github.com:rensjaspers/dotfiles.git $HOME/.mydotfiles | |
function mydotfiles { | |
/usr/bin/git --git-dir=$HOME/.mydotfiles/ --work-tree=$HOME $@ | |
} | |
mydotfiles checkout | |
mydotfiles config status.showUntrackedFiles no | |
mydotfiles submodule init | |
mydotfiles submodule update --remote --recursive |
This file contains 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
#!/bin/bash | |
sudo apt install libimlib2-dev libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxft-dev libxrender-dev zlib1g-dev libxinerama-dev libxcomposite-dev libxdamage-dev libxfixes-dev libxmu-dev git | |
cd /tmp | |
git clone https://github.com/richardgv/skippy-xd.git | |
cd skippy-xd | |
make | |
sudo make install |
This file contains 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
# get dependencies for this script | |
sudo apt install byzanz git dh-autoreconf libx11-dev | |
# get xrectsel to make selection on screen | |
git clone https://github.com/lolilolicon/xrectsel | |
cd xrectsel | |
./bootstrap # required if ./configure is not present | |
./configure --prefix /usr | |
make | |
sudo make DESTDIR="$directory" install |
This file contains 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
/* | |
1. ) Go to chrome://settings/searchEngines | |
2. ) Press Ctrl+Shift+J (or ⌥+⌘+J (Option+Command+J) if you're using Mac OS X) | |
3. ) Paste this script and press ENTER. | |
You may have to repeat step 3 two or three times. | |
*/ | |
var otherSearchEngineList = document.getElementById('other-search-engine-list'); | |
var d = otherSearchEngineList.getElementsByClassName("row-delete-button"); | |
d = Array.prototype.slice.call(d); |
This file contains 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
function onInstall(e) { | |
onOpen(e); | |
} | |
function onOpen() { | |
DocumentApp.getUi().createMenu('Utilities') | |
.addItem('Insert today\'s date', 'insertDate') | |
.addToUi(); | |
} |
This file contains 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
javascript:(function(){ var d=document.getElementsByClassName("docos-accept-suggestion"); d = Array.prototype.slice.call(d); d.forEach(function(n){ var e = document.createEvent("MouseEvents"); e.initEvent("click", true, false); n.dispatchEvent(e,true); e = document.createEvent("MouseEvents"); e.initEvent("mousedown", true, false); n.dispatchEvent(e,true); e = document.createEvent("MouseEvents"); e.initEvent("mouseup", true, false); n.dispatchEvent(e,true); }); })(); |
NewerOlder