Skip to content

Instantly share code, notes, and snippets.

View nermolov's full-sized avatar

Taylor Ermolov nermolov

View GitHub Profile
@nermolov
nermolov / curl.fish
Created September 15, 2022 03:09
node.js v16 array iterator blocking test
#!/usr/bin/env fish
# Once node server is running, run test by endpoint name:
# ./curl.fish long1
function getTime
printf (cat $argv | awk '{ print $1 }')
end
while true
@nermolov
nermolov / README.md
Last active April 5, 2018 23:35
MTGAP on Linux (xkbmap)

MTGAP on Linux!

  1. Add the contents of us below to the end of /usr/share/X11/xkb/symbols/us
  2. Add the contents of base.lst below to the end of /usr/share/X11/xkb/rules/base.lst
  3. Add the <variant>....</variant> block in base.xml below to /usr/share/X11/xkb/rules/base.xml (under the variantList for English)
  4. Copy /usr/share/X11/xkb/rules/base.lst to /usr/share/X11/xkb/rules/evdev.lst and /usr/share/X11/xkb/rules/base.xml to /usr/share/X11/xkb/rules/evdev.xml
  5. Reboot
  6. Choose layout in the layout manager for your WM and enable it!

Issues

nermolov@NewMac ~> mozregression --good 2017-06-12 --bad 2017-09-21
**********
You should use a config file. Please use the --write-config command line flag to help you create one.
**********
0:05.42 INFO: Testing good and bad builds to ensure that they are really good and bad...
0:05.42 INFO: Downloading build from: https://archive.mozilla.org/pub/firefox/nightly/2017/06/2017-06-12-09-11-12-mozilla-central/firefox-56.0a1.en-US.mac.dmg
===== Downloaded 100% =====
0:12.96 INFO: Running mozilla-central build for 2017-06-12
0:28.44 INFO: Launching /private/var/folders/kn/rlr00tzj1sj4j7h9q9nq_jmr0000gn/T/tmpANUJ2s/FirefoxNightly.app/Contents/MacOS/firefox

Keybase proof

I hereby claim:

  • I am nermolov on github.
  • I am nermolov (https://keybase.io/nermolov) on keybase.
  • I have a public key ASCTRbSJ-jd_r3iwVwD72gMnar6Py0mgll1eC8_MtgkTNAo

To claim this, I am signing this object:

@nermolov
nermolov / sdinstall.sh
Created December 3, 2016 23:11
Samsung 303C Arch linux install scripts
#!/bin/bash
umount /dev/mmcblk1*
echo 'Please hit g then w'
fdisk /dev/mmcblk1
cgpt create /dev/mmcblk1
cgpt add -i 1 -t kernel -b 8192 -s 32768 -l Kernel -S 1 -T 5 -P 10 /dev/mmcblk1
NUMO=`cgpt show /dev/mmcblk1 | grep 'Sec GPT table' | awk '{ print $1 }'`
cgpt add -i 2 -t data -b 40960 -s `expr $NUMO - 40960` -l Root /dev/mmcblk1
blockdev --rereadpt /dev/mmcblk1
@nermolov
nermolov / system_profiler.txt
Created December 19, 2015 19:00
El Capitan installer not seeing drives - system_profiler output
Audio:
Intel High Definition Audio:
Audio ID: 1
Line Output:
Connection: 1/8-Inch Jack
#!/usr/bin/python
import sys, getopt
import json
from pprint import pprint
def main(argv):
inputfile = ''
try:
opts, args = getopt.getopt(argv,"hi:",["ifile="])
package {
import com.vpg.vpage.components.button.*;
public dynamic class double_page_btn extends BasicButton {
public function double_page_btn(){
addFrameScript(8, this.frame9, 19, this.frame20);
}
function frame9(){
stop();