Skip to content

Instantly share code, notes, and snippets.

Nicholas Ermolov nermolov

Block or report user

Report or block nermolov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nermolov
nermolov / README.md
Last active Apr 5, 2018
MTGAP on Linux (xkbmap)
View README.md

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

View mozregression.txt
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
View keybase.md

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 Dec 3, 2016
Samsung 303C Arch linux install scripts
View sdinstall.sh
#!/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 Dec 19, 2015
El Capitan installer not seeing drives - system_profiler output
View system_profiler.txt
Audio:
Intel High Definition Audio:
Audio ID: 1
Line Output:
Connection: 1/8-Inch Jack
View test.py
#!/usr/bin/python
import sys, getopt
import json
from pprint import pprint
def main(argv):
inputfile = ''
try:
opts, args = getopt.getopt(argv,"hi:",["ifile="])
View arghhh.swf
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();
You can’t perform that action at this time.