made with esnextbin
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 | |
# Download and run: | |
# curl -o- [raw gist url] | bash | |
function list_installed () { | |
comm -23 \ | |
<(apt-mark showmanual | sort -u) \ | |
<(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) | |
} |
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 | |
# Crude quarter tiling tool | |
# Installation: | |
# Move file to: /usr/local/bin/quarter-tiler | |
# Make executable: sudo chmod +x /usr/local/bin/quarter-tiler | |
# Assign keyboard shortcuts to commands like "quarter-tiler topleft" | |
# Margins around windows (elementary OS native apps) (HiDPI) | |
MARGIN_TOP=130 |
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
const SuperLogin = require('superlogin'); | |
const superloginConfig = require('../superlogin.config.js'); | |
const DBAuth = require('superlogin/lib/dbauth'); | |
const superlogin = new SuperLogin(superloginConfig); | |
const { config, userDB } = superlogin; | |
const dbAuth = new DBAuth(config); | |
if (!config.getItem('userDBs.defaultDBs')) { | |
console.log('no userDBs.defaultDBs defined'); |
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 | |
# Usage examples: | |
# | |
# Create sd.mp4.gif | |
# $ gifenc sd.mp4 | |
# | |
# Create sd.gif | |
# $ gifenc sd.mp4 sd.gif | |
# |
made with esnextbin
made with esnextbin
made with esnextbin
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
'{"data":[{"height":20,"transform":{"metadata":{"library":"CAL","type":"Matrix"},"matrix":[2.532535102433726,0,-15.363289865521766,0,2.532535102433726,30.37459874467367]},"z":0,"sculpt":[1,1,1],"twist":0,"points":[{"metadata":{"library":"CAL","type":"Vector"},"x":-27.51850563144776,"y":7.269115192200452},{"metadata":{"library":"CAL","type":"Vector"},"x":-27.51850563144776,"y":7.269115192200452},{"metadata":{"library":"CAL","type":"Vector"},"x":-27.51850563144776,"y":7.269115192200452}],"type":"FREE_HAND"},{"height":20,"transform":{"metadata":{"library":"CAL","type":"Matrix"},"matrix":[2.532535102433726,0,-15.363289865521766,0,2.532535102433726,30.37459874467367]},"z":0,"sculpt":[1,1,1],"twist":0,"points":[{"metadata":{"library":"CAL","type":"Vector"},"x":-18.90636751164164,"y":3.8242599442779905}],"type":"FREE_HAND"},{"height":20,"transform":{"metadata":{"library":"CAL","type":"Matrix"},"matrix":[2.532535102433726,0,-15.363289865521766,0,2.532535102433726,30.37459874467367]},"z":0,"sculpt":[1,1,1],"twist":0," |
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
'{"data":[{"height":9,"transform":{"metadata":{"library":"CAL","type":"Matrix"},"matrix":[0.40080160320641284,0,-100.20040080160322,0,0.40080160320641284,-102.60521042084166]},"z":0,"sculpt":[1,1],"twist":0,"points":[{"metadata":{"library":"CAL","type":"Vector"},"x":373.1,"y":192.6},{"metadata":{"library":"CAL","type":"Vector"},"x":382.7,"y":199},{"metadata":{"library":"CAL","type":"Vector"},"x":388.5,"y":205.7},{"metadata":{"library":"CAL","type":"Vector"},"x":392.4,"y":214.4},{"metadata":{"library":"CAL","type":"Vector"},"x":394.2,"y":223.1},{"metadata":{"library":"CAL","type":"Vector"},"x":393.3,"y":231.6},{"metadata":{"library":"CAL","type":"Vector"},"x":390.7,"y":240.4},{"metadata":{"library":"CAL","type":"Vector"},"x":383.9,"y":249.3},{"metadata":{"library":"CAL","type":"Vector"},"x":373.6,"y":257},{"metadata":{"library":"CAL","type":"Vector"},"x":358.7,"y":259.8},{"metadata":{"library":"CAL","type":"Vector"},"x":342.7,"y":256.9},{"metadata":{"library":"CAL","type":"Vector"},"x":331.7,"y":249.2},{"metad |
NewerOlder