Skip to content

Instantly share code, notes, and snippets.

CR kyuucr

Block or report user

Report or block kyuucr

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
for i in */; do zip -r "${i%/}.zip" "$i"; done
kyuucr / ns-3.sublime-project
Created Dec 18, 2018
Sublime project file for ns-3, build system included
View ns-3.sublime-project
"path": "ns-3-dev-lbt",
"folder_exclude_patterns": [".git", ".hg", ".waf*", "build"],
"follow_symlinks": true
kyuucr / ns-3.sublime-build
Created Dec 15, 2018
Sublime Text build system for ns-3
View ns-3.sublime-build
"windows": {
"shell_cmd": "bash -c \"./waf build\""
"linux": {
"shell_cmd": "./waf build"
"file_patterns": ["*.cc", "*.h"],
"working_dir": "$folder",
"variants": [
kyuucr / steam-fast-sell.user.js
Last active Oct 27, 2017
Fast sell Steam inventory items for the lowest market price
View steam-fast-sell.user.js
// ==UserScript==
// @name Steam Fast Sell
// @include http*://*/inventory*
// @include http*://*/inventory*
// @description Fast sell Steam items with current price
// @version 2
// @updateURL
// @namespace kyuucr-steam-fast-sell
// ==/UserScript==
kyuucr / twitch-bottom-chat.user.js
Last active Apr 29, 2017
Simple script to modify a Twitch channel so the video will be on top and the chat on bottom, useful for vertical monitor setup. Currently only for theater mode.
View twitch-bottom-chat.user.js
// ==UserScript==
// @name Twitch bottom chat
// @namespace kyuucr-twitch-bottom-chat
// @description Set video top and chat on bottom, useful for vertical monitor setup.
// @include*
// @exclude
// @exclude*
// @exclude*
// @exclude*
// @exclude*

Keybase proof

I hereby claim:

  • I am kyuucr on github.
  • I am kyuucr ( on keybase.
  • I have a public key whose fingerprint is 46EB 218B 35A1 809F 1FF8 2044 2B46 267C 0DA7 C4FA

To claim this, I am signing this object:

kyuucr /
Last active Dec 15, 2015
This is an Ubuntu Unity Indicator to track your Dorm internet usage in NTUST. Added manual update quota, changed html parser. Written on Python 2.7
#!/usr/bin/env python
# -*- coding: utf8 -*-
import appindicator
import bs4
import datetime
import glib
import gtk
import logging
import pynotify
kyuucr /
Last active Nov 16, 2015
MES file text extractor from Dead of the Brain (PC-9801, 1992)
import re
filename = './MES/OPEN_1.MES'
with open(filename, 'rb') as f:
content =
# get lines from bytes start marker 0xBA 0x23-25 to end marker 0xBA 0x26
# 0x23 == cole, 0x24 == doc, 0x25 == jack(?)
results = re.findall(br'(\xBA[\x23-\x25].*?)\xBA\x26', content)
kyuucr / gist:2667195
Created May 12, 2012
Android - Hide context menu on certain ListView item.
View gist:2667195
public class ExampleActivity extends ListActivity {
public void onCreate(Bundle savedInstanceState) {
kyuucr / gist:2658573
Created May 11, 2012
Android - Finish activity with result
View gist:2658573
Intent data = new Intent();
if (getParent() == null) {
setResult(Activity.RESULT_OK, data);
} else {
getParent().setResult(Activity.RESULT_OK, data);
You can’t perform that action at this time.