Skip to content

Instantly share code, notes, and snippets.

View 0E9B061F's full-sized avatar
🧮

nn 0E9B061F

🧮
View GitHub Profile
@0E9B061F
0E9B061F / recorder
Last active October 16, 2022 19:49
A simple screen recorder using ffmpeg, designed to be used headlessly, e.g., from a keyboard shortcut
#!/bin/bash
# ~/bin/recorder
#
# A simple screen recorder using ffmpeg, designed to be used headlessly, e.g.,
# from a keyboard shortcut. Calling the script again while another instance is
# running will kill the running instance, allowing you to toggle recording.
#
# REQUIRES: VAAPI, ffmpeg, notify-send, yad, beep
#

Keybase proof

I hereby claim:

  • I am 0e9b061f on github.
  • I am 0e9b061f (https://keybase.io/0e9b061f) on keybase.
  • I have a public key ASBr9cQxujF3ZKOt2FY7zhT2b8HhwQr55dOmD2hl7mmViAo

To claim this, I am signing this object:

@0E9B061F
0E9B061F / easings.less
Created October 7, 2017 03:44
24 named easings for use with the CSS transition property, provided in 3 libraries for Sass, Less and Stylus
/*
#! easings.less
#! Easings for CSS transitions, defined as bezier curves.
#!
#! Data taken from <http://easings.net> - visit the site to see
#! each easing. Credit to Andrey Sitnik <https://github.com/ai>.
#!
#! Generated from <https://github.com/aetherised/easing-gen>
#! Happy developing!
*/
Lande Istreb
[Lande (land.e), Istreb (ist.reb)]
Donreb Terets
[Donreb (don.reb), Terets (ter.ets)]
Granger Elrod
[Granger (gran.ger), Elrod (el.rod)]
Ale Tergenegran
[Ale (al.e), Tergenegran (ter.gene.gran)]
Aldtib Crowreb
[Aldtib (ald.tib), Crowreb (crow.reb)]
ps = Partset()
ps.add('kh', weight=0.9, rules=[
Rule(R.BOTH, P.CONSONANTS)
])
ps.add('el')
ps.add('iy', rules=[
Rule(R.BOTH, P.VOWELS_PY)
])
ps.add('ia', weight=0.6, rules=[
Rule(R.BOTH, P.VOWELS_PY)
Imnot (im.not)
Akha (akh.a)
Idereteks (ide.ret.eks)
Ideluclim (ide.luc.lim)
Raluc (ra.luc)
Idekheks (ide.kh.eks)
Agene (ag.ene)
Akheks (akh.eks)
Raxa (ra.x.a)
Akhala (akh.ala)