https://youtu.be/E-ZbrtoSuzw?si=QvFJ0CA8dSnBdjRV
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
[ | |
{ | |
"name": "SofleKeyboard", | |
"author": "Josef Adamcik", | |
"switchMount": "cherry" | |
}, | |
[ | |
{ | |
"y": 0.2, | |
"x": 3, |
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
setxkbmap us -variant colemak_dh | |
setxkbmap us | |
man xkeyboard-config | |
setxkbmap -query | |
# git clone [email protected]:DreymaR/BigBagKbdTrixXKB.git | |
./install-dreymar-xmod.sh -s -i ~/test2 -n | |
setxkbmap -I /home/jemma/test/BigBagKbdTrixXKB/xkb-data_xmod/xkb -model pc105awide -layout us(cmk_ed_us) -option misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:menu -v 9 |
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
[BASIC] | |
# mark pdb commands as bad-names | |
bad-names=a, | |
alias, | |
args, | |
b, | |
break, | |
bt, |
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
name: jupyenv | |
channels: | |
- conda-forge | |
dependencies: | |
- pandas | |
- pytest | |
- black | |
- jupyterlab | |
- jupytext |
- 4326: lat-lon
- 3857: gmaps, OSM, Pseudo-Mercator
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
# https://stackoverflow.com/a/35939357/3362993 | |
import os | |
import glob | |
import subprocess | |
flist = sorted(glob.glob("*.webm") + glob.glob("*.mp4")) | |
pairs_index = [(x, x + 2) for x in range(0, len(flist), 2)] | |
flist_pairs = [flist[pairs_index[i][0]:pairs_index[i][1]] for i in range(0, int(len(flist)/2))] |
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
// bottom-left, top-right | |
var aoi = ee.Geometry.Rectangle(43.1, 13, 47, 30); | |
var ecoregions = ee.FeatureCollection('RESOLVE/ECOREGIONS/2017') | |
.filterBounds(aoi); | |
var ecoregions_img = ecoregions | |
.filter(ee.Filter.notNull(['SHAPE_AREA'])) | |
.reduceToImage({ | |
properties: ['SHAPE_AREA'], |
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
import pygmt | |
fig = pygmt.Figure() | |
fig.coast(region="-122/23/-65/48r", frame=False, land="#666666", water="skyblue", projection="A-100/30/4.5i") | |
# fig.show() | |
fig.savefig("usa.pdf") |
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
library(magick) | |
image_write_gif(image_join(lapply(list.files("path/to/folder", pattern = "png", | |
include.dirs = TRUE, full.names = TRUE), image_read)), "output.gif", delay = 4.5) |
NewerOlder