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
{ | |
// Rough modified version of Celeste to darken it up | |
"name": "Celeste Dark", | |
"author": "Sublime HQ Pty Ltd", | |
"variables": | |
{ | |
// These colors are part of the hashed range | |
// and should only be used in non-source | |
"purple": "hsla(260, 50%, 70%, 1)", | |
"blue": "hsla(200, 70%, 55%, 1)", |
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
#= | |
Notes on Regular expressions in Julia: | |
Sources: | |
Regular Expressions Cookbook, Jan Goyvaerts & Steven Levithan. | |
https://www.regular-expressions.info/wordboundaries.html | |
https://www.regular-expressions.info/lookaround.html | |
http://www.rexegg.com/regex-disambiguation.html | |
Julialang Gitter Chat. | |
=# |
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
#Persistent | |
; The following script can define hotcorners for any number of monitors arranged in any configuration. | |
; Horizontally arranged monitors work best | |
; Vertically arranged monitors may have some difficulty (read: over sensitivity since moving your mouse too far up puts it into Bottom*, not Top*), but should still work | |
; --------------------------------------- | |
; USER CONFIGURABLE | |
; --------------------------------------- |
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
### Full command line options | |
``` | |
ffmpeg -f gif -i FOO.gif -pix_fmt yuv420p -c:v libx264 -movflags +faststart -filter:v crop='floor(in_w/2)*2:floor(in_h/2)*2' BAR.mp4 | |
``` | |
### Notie | |
* output mp4 is encoded with h264, support Firefox/Chrome/Safari in Windows, Mac OSX, Android, and iOS. |
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
# Repeat an operation n times, e.g. | |
# @dotimes 100 println("hi") | |
macro dotimes(n, body) | |
quote | |
for i = 1:$(esc(n)) | |
$(esc(body)) | |
end | |
end | |
end |
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
FFTW.set_num_threads(4) | |
# Warm up fft | |
x = randn(10) | |
y = fft(x) | |
# Also do a prime, power of two, just in case | |
x = randn(13) | |
y = fft(x) | |
x = randn(16) | |
y = fft(x) |