I hereby claim:
- I am kyuucr on github.
- I am kyuucr (https://keybase.io/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:
// ==UserScript== | |
// @name Steam Fast Sell | |
// @include http*://steamcommunity.com/profiles/*/inventory* | |
// @include http*://steamcommunity.com/id/*/inventory* | |
// @description Fast sell Steam items with current price | |
// @version 2 | |
// @updateURL https://gist.github.com/kyuucr/84c2d99ea09a65fc904a6e40358171c2/raw/steam-fast-sell.user.js | |
// @namespace kyuucr-steam-fast-sell | |
// ==/UserScript== | |
// |
// ==UserScript== | |
// @name Twitch bottom chat | |
// @namespace kyuucr-twitch-bottom-chat | |
// @description Set video top and chat on bottom, useful for vertical monitor setup. | |
// @include https://www.twitch.tv/* | |
// @exclude https://www.twitch.tv | |
// @exclude https://www.twitch.tv/directory* | |
// @exclude https://www.twitch.tv/messages* | |
// @exclude https://www.twitch.tv/subscription* | |
// @exclude https://www.twitch.tv/settings* |
for i in */; do zip -r "${i%/}.zip" "$i"; done |
{ | |
"folders": | |
[ | |
{ | |
"path": "ns-3-dev-lbt", | |
"folder_exclude_patterns": [".git", ".hg", ".waf*", "build"], | |
"follow_symlinks": true | |
} | |
], | |
"settings": |
{ | |
"windows": { | |
"shell_cmd": "bash -c \"./waf build\"" | |
}, | |
"linux": { | |
"shell_cmd": "./waf build" | |
}, | |
"file_patterns": ["*.cc", "*.h"], | |
"working_dir": "$folder", | |
"variants": [ |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# -*- coding: utf8 -*- | |
import appindicator | |
import bs4 | |
import datetime | |
import glib | |
import gtk | |
import logging | |
import pynotify |
#!/usr/bin/python | |
import re | |
filename = './MES/OPEN_1.MES' | |
with open(filename, 'rb') as f: | |
content = f.read() | |
# 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) |
public class ExampleActivity extends ListActivity { | |
[...] | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main); | |
[...] |
Intent data = new Intent(); | |
[...] | |
if (getParent() == null) { | |
setResult(Activity.RESULT_OK, data); | |
} else { | |
getParent().setResult(Activity.RESULT_OK, data); | |
} | |
finish(); |