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
osmconvert64.exe indonesia-140101.osm.pbf >indonesia-140101.osm | |
osmfilter.exe indonesia-140101.osm --out-key | |
osmfilter.exe indonesia-140101.osm --keep="highway= boundary=administrative" >indonesia-140101.filtered.osm | |
osmconvert64.exe indonesia-140101.filtered.osm -B=sumatra.poly >indonesia-140101.sumatra.filtered.osm | |
osmconvert64.exe indonesia-210505.osm.pbf -B=sumatra.poly --drop-author >indonesia-210505.sumatra.osm | |
osmfilter.exe indonesia-210505.sumatra.osm --keep="highway=motorway highway=trunk highway=primary highway=secondary boundary=administrative" >indonesia-210505.sumatra.filtered.osm |
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
ffmpeg -i Inst.ogg -i Voices.ogg -filter_complex amix=inputs=2:duration=longest output.ogg |
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
/* Make the logo bigger and the margin smaller */ | |
.logo { | |
margin-inline-end: 0.75rem; | |
transform: scale(1.75); | |
} | |
/* No need hover effect on dropdown icons */ | |
.addon-group > span > img:hover { |
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
// ==UserScript== | |
// @name Unblock All Twitter (REMOVE WHEN DONE!) | |
// @namespace https://gist.github.com/Hans5958/4ff0a03f4d7cd6d7af6f03371ca907a6 | |
// @version 0.1.0 | |
// @author Hans5958 | |
// @match https://twitter.com/settings/blocked/all | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Instagram Block Hitman | |
// @namespace https://gist.github.com/Hans5958/e6c02ffd2c91c3d6aca0ca529e154112 | |
// @version 0.1.0 | |
// @author Hans5958 | |
// @match https://www.instagram.com/* | |
// @grant none | |
// @run-at document-idle | |
// ==/UserScript== |
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
var headers = new Headers(); | |
headers.append('pragma', 'no-cache'); | |
headers.append('cache-control', 'no-cache'); | |
var parser = new DOMParser(); | |
var user = 'griffpatch' | |
var page = 1 | |
fetch(`https://scratch.mit.edu/users/${user}/followers/`, { | |
headers | |
}) |
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
if (document.querySelector("h1.css-901oao > span:nth-child(1)")) { | |
document.location.reload() | |
} | |
console.clear() | |
console.log("Script loaded!\n\nLoading...") | |
window.scrollBy(0, window.innerHeight) | |
var blockedNow = [] | |
var totalUnblocked = 0 | |
autoUnblock = setInterval(() => { | |
blockedNow = [] |
Made for placeAtlas/atlas.
Since the epoch of the timeline feature (so-called time travel), many members of the community suggests to add more time on the Atlas. I myself the one who supports the idea, but we should think about it for a while, especially on how fine we should make the timeline. Henceforth is my scribe about it.
Here are my conditions on choosing the granularity of the timeline.
(a,b)=>{P=(n,p)=>{for(n=n+"";n.length<p;n="0"+n);return n};R=n=>Math.random()*n|0;F=w=>w.slice(-1);while(!a||(a[0]==a[1]==a[2]>2))a=P(R(999),3);while(!b||(!b.split``.map(n=>t+=n,t=0)%7&&(!F(b)||F(b)>7)))b=P(R(1e7-1),7);return a+"-"+b}
[Try it online!][TIO-kattqmui]