Skip to content

Instantly share code, notes, and snippets.

View byhemechi's full-sized avatar
🕴️

George byhemechi

🕴️
View GitHub Profile
@byhemechi
byhemechi / README.md
Created April 21, 2017 11:52
Caps Lock Blocker

CapsBlocker

Turns CapsLock into shift
Capslock can be used with WinCapsLck

@byhemechi
byhemechi / jlev.json
Created October 4, 2017 10:37
Jlev vs lev
{
"name":"Sandbank Demo",
"width":7,
"height":7,
"tiles":[
[
0,
0,
0,
0,
@byhemechi
byhemechi / fake.js
Created October 4, 2017 12:09
fake backdrop-filter
var ti = new Image()
var p = 0,
d = 1
var py = 0,
dy = 1
ti.src = 'http://webneel.com/daily/sites/default/files/images/daily/05-2014/12-sunrise-picture.jpg'
var c = document.querySelector('canvas'),
ctx = c.getContext('2d'),
filter = function(img, x, y, w, h, bg, rad) {
var cc = document.createElement('canvas'),
@byhemechi
byhemechi / logcat
Created February 27, 2018 03:24
Logcat of firefox
02-27 14:23:44.589 665 1592 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.mozilla.firefox/.App bnds=[436,97][645,414] (has extras)} from uid 10137 on display 0
02-27 14:23:44.623 665 1654 I ActivityManager: Start proc 19425:org.mozilla.firefox/u0a145 for activity org.mozilla.firefox/.App
02-27 14:23:44.723 665 1592 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x200000 cmp=org.mozilla.firefox/org.mozilla.gecko.BrowserApp bnds=[436,97][645,414] (has extras)} from uid 10145 on display 0
02-27 14:23:44.801 262 262 W auditd : type=1302 audit(0.0:1726): item=0 name="/data/data/org.mozilla.firefox/cache/libnss3.so" inode=1223 dev=b3:1a mode=0100600 ouid=10145 ogid=10145 rdev=00:00 obj=u:object_r:app_data_file:s0:c512,c768
02-27 14:23:44.801 19444 19444 I debuggerd: type=1400 audit(0.0:1727): avc: denied { getattr } for path="/data/data/org.mozilla.firefox/cache/libnss3.s
@byhemechi
byhemechi / css.css
Last active December 3, 2018 13:19
cubey alerts
@import url("https://fonts.googleapis.com/css?family=Oswald:400,700");
@import url("https://fonts.googleapis.com/css?family=Roboto Mono:400,400i,700");
#notification {
position: relative;
font-family: Oswald;
font-size: 20px;
margin: 100px;
display: inline-block;
overflow: hidden;
width: auto;
@byhemechi
byhemechi / flick.lua
Last active September 13, 2023 16:56
Logitech Mouse Flick Lua script
function OnEvent(event, arg)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then
distance = 512
Sleep(200)
MoveMouseRelative(-distance, 0)
Sleep(500)
MoveMouseRelative(distance, 0)
PressAndReleaseMouseButton(1)
MoveMouseRelative(distance, 0)
Sleep(500)