Skip to content

Instantly share code, notes, and snippets.

View karubabu's full-sized avatar
☺️

karubabu karubabu

☺️
View GitHub Profile
#include <iostream>
using namespace std;
class Acls {
public:
int a;
void disp(){ cout << "Acls: a=" << a << endl; }
};
class Bcls: public Acls {
#!/bin/sh
VENDOR=lge
DEVICE=hammerhead
echo "Please wait..."
wget -nc -q https://dl.google.com/dl/android/aosp/hammerhead-mob31e-factory-90504514.zip
unzip hammerhead-mob31e-factory-90504514.zip
cd hammerhead-mob31e
unzip image-hammerhead-mob31e.zip

Keybase proof

I hereby claim:

  • I am karubabu on github.
  • I am karubabu (https://keybase.io/karubabu) on keybase.
  • I have a public key ASCEI8-Wcncjspr9eE2b5NmFejoNR8B38BMzqvClVCwf9Qo

To claim this, I am signing this object:

@karubabu
karubabu / lineage.dependencies
Created June 7, 2017 14:16
flo build 通らない なぜ 検索
[
{
"repository": "android_external_stlport",
"target_path": "external/stlport"
},
{
"repository": "android_kernel_google_msm",
"target_path": "kernel/google/msm"
}
]
// ==UserScript==
// @name T/U box
// @namespace http://tampermonkey.net/
// @version 0.1.4
// @description w/ "{title} {url}" format. easy copyable title/url box; click to copy, double-click outer to close
// @author read below comment
// @include http://*
// @include https://*
// @grant GM_registerMenuCommand
// @grant GM_setClipboard
announcements.js:91 Uncaught (in promise) TypeError: e.entrySeq is not a function
at t.render (announcements.js:91)
at l._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:798)
at l._renderValidatedComponent (ReactCompositeComponent.js:821)
at l._updateRenderedComponent (ReactCompositeComponent.js:745)
at l._performComponentUpdate (ReactCompositeComponent.js:723)
at l.updateComponent (ReactCompositeComponent.js:644)
at l.performUpdateIfNecessary (ReactCompositeComponent.js:560)
at Object.performUpdateIfNecessary (ReactReconciler.js:156)
at u (ReactUpdates.js:150)
@karubabu
karubabu / SKK-JISYO.mahjong.patch
Created September 23, 2017 14:53
SKK-JISYO.mahjong.patch
*** SKK-JISYO.mahjong 2017-09-23 23:40:44.398832446 +0900
--- SKK-JISYO-new.mahjong 2017-09-23 23:43:31.818838527 +0900
***************
*** 1,3 ****
--- 1,6 ----
+ ;;; -*- coding: utf-8 -*-
+ ;; okuri-ari entries.
+ ;; okuri-nasi entries.
やくまん /役満;[麻雀]/
さんばいまん /三倍満;[麻雀]/
@karubabu
karubabu / SKK-JISYO.mahjong.patch
Created September 25, 2017 14:48
SKK-JISYO.mahjong.patch
--- SKK-JISYO.mahjong 2017-09-25 23:44:39.168451239 +0900
+++ SKK-JISYO-new.mahjong 2017-09-25 23:43:54.321782943 +0900
@@ -1,5 +1,19 @@
;;; -*- coding: utf-8 -*-
;; okuri-ari entries.
+つもt /自摸;[麻雀]/
+つもt /ツモ;[麻雀]/
+つもr /自摸;[麻雀]/
+つもr /ツモ;[麻雀]/
+あんこt /暗刻;[麻雀]/
@karubabu
karubabu / tubox.user.js
Last active October 22, 2017 11:25
t/u box
// ==UserScript==
// @name T/U box
// @description w/ "{title} {url}" format. easy copyable title/url box; click to copy, double-click outer to close
// @include http://*
// @include https://*
// @grant GM_registerMenuCommand
// ==/UserScript==
/*
* @title T/U box
@karubabu
karubabu / .Xmodmap
Created November 4, 2017 17:29
dvorak settings
keycode 8 =
keycode 10 = 1 exclam
keycode 11 = 2 at at
keycode 12 = 3 numbersign
keycode 13 = 4 dollar dollar
keycode 14 = 5 percent
keycode 15 = 6 asciicircum
keycode 16 = 7 ampersand braceleft
keycode 17 = 8 asterisk bracketleft
keycode 18 = 9 parenleft bracketright