Skip to content

Instantly share code, notes, and snippets.

View rrakso's full-sized avatar
🏠
Working from home

Oskar Jaskólski rrakso

🏠
Working from home
View GitHub Profile
@gregmercer
gregmercer / gittag.sh
Created December 7, 2012 19:34
Git create new tag
#!/bin/bash
echo -n "Tag Name: "
read -e TAG
git tag $TAG
git push origin --tags
@rxaviers
rxaviers / gist:7360908
Last active May 4, 2024 00:48
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@danharper
danharper / background.js
Last active March 30, 2024 18:25
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});
@leeroybrun
leeroybrun / turn_all_off.lua
Last active March 1, 2021 05:59
Fibaro LUA scenes
--[[
%% autostart
%% properties
%% globals
--]]
NB_DEVICES = 300
function turnAllOff()
fibaro:debug('Turn all devices off.')
@ygotthilf
ygotthilf / jwtRS256.sh
Last active May 4, 2024 09:43
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@Jacajack
Jacajack / colorspam.js
Last active August 15, 2020 17:05
Messenger color chat change spammer
/*
Just paste into your browser javascript console while on https://www.messenger.com
Only requires right hand side menu with colors and nicknames to be opened.
I DO NOT TAKE ANY RESPONSIBILITY FOR POSSIBLE CONSEQUENCES OF USAGE OF THIS SCRIPT
Enjoy...
*/
function pick( )
{
@nixeneko
nixeneko / shiftfontoutline.py
Created December 11, 2017 14:58
Draw font outline and shifted outlines
# coding: utf-8
from fontTools.ttLib import TTFont
from PIL import Image, ImageDraw
import math
INFILE = "mplus-1p-regular.ttf"
ttf = TTFont(INFILE)
tags = ttf.reader.tables
@diogocapela
diogocapela / moment-js-timezones.txt
Created September 7, 2018 00:10
List of All Moment.js Timezones
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
@arjunv
arjunv / keyevents.json
Created December 2, 2018 00:01
All Android Key Events for usage with adb shell
{
"key_events": {
"key_unknown": "adb shell input keyevent 0",
"key_soft_left": "adb shell input keyevent 1",
"key_soft_right": "adb shell input keyevent 2",
"key_home": "adb shell input keyevent 3",
"key_back": "adb shell input keyevent 4",
"key_call": "adb shell input keyevent 5",
"key_endcall": "adb shell input keyevent 6",
"key_0": "adb shell input keyevent 7",