Skip to content

Instantly share code, notes, and snippets.

Avatar
☄️
Curiosity is about annihilating itself; it doesn't seek a response.

Severan Rayraegah

☄️
Curiosity is about annihilating itself; it doesn't seek a response.
View GitHub Profile
@Rayraegah
Rayraegah / shipping.db
Last active Jul 7, 2021
Yamato TA-Q-BIN shipping rates
View shipping.db
5351 4c69 7465 2066 6f72 6d61 7420 3300
1000 0101 0040 2020 0000 0002 0000 0004
0000 0000 0000 0000 0000 0001 0000 0004
0000 0000 0000 0000 0000 0001 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0002
002e 0542 0d00 0000 010f 1600 0f16 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
View elevator-data.csv
2 6 10
5 5 3
8 10 5
18 5 9
22 5 3
26 1 9
32 6 10
35 7 1
45 6 4
48 9 5
@Rayraegah
Rayraegah / jp_comp.csv
Created Jan 29, 2021
Japan Tech Job Salary Dataset
View jp_comp.csv
company city date grade_level role skill years_at_company years_of_experience total_compensation
SmartNews Tokyo 01/28/21 L3 Software Engineer Backend 0 3 10500000
Cookpad Tokyo 01/27/21 G4 Software Engineer Backend -1 10 14000000
Indeed Tokyo 01/27/21 TDM3 Engineering Manager Fullstack 2 10 18675000
FPT Software Japan Tokyo 01/27/21 SE3 Software Engineer Networking 2 6 5200000
Rakuten Tokyo 01/26/21 BB Software Engineer Backend -1 1 5200000
HENNGE Tokyo 01/26/21 Brown Software Engineer Web Frontend -1 3 5800000
ACSL, Ltd Tokyo 01/25/21 Associate - Software Engineer Software Engineer AI/ML 2 2 5600000
Indeed Tokyo 01/25/21 SWE 2 Software Engineer Backend -1 4 21000000
Cybozu, Inc. Tokyo 01/25/21 - Software Engineer Web Frontend 1 1 5600000
View bits.js
/*
A Succinct Trie for Javascript
By Steve Hanov
Released to the public domain.
This file contains functions for creating a succinctly encoded trie structure
from a list of words. The trie is encoded to a succinct bit string using the
method of Jacobson (1989). The bitstring is then encoded using BASE-64.
@Rayraegah
Rayraegah / clapjacker.js
Last active Sep 26, 2019
Clapjack test on Bloggie.io
View clapjacker.js
// ==UserScript==
// @name Bloggie Clapjacker
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Find and hijack claps on bloggie.io posts
// @author You
// @match *://bloggie.io/@*/*
// @grant none
// ==/UserScript==
View permutation.js
function permutations(list) {
// Empty list has one permutation
if (list.length == 0) return [[]];
var result = [];
for (var i = 0; i < list.length; i++) {
// Clone list (kind of)
var copy = Object.create(list);
View nuke_my_tweets.py
#!/bin/python3
"""
A python script to nuke tweets in your account using tweet history
@requirements: tweepy, python-dotenv
"""
from os import getenv
from os.path import join, dirname
from dotenv import load_dotenv
@Rayraegah
Rayraegah / index.pug
Created Oct 8, 2018
"Random" color harmonies
View index.pug
#app.wrap
-// input(type='number', v-model='amount' v-on:change="newColors")
.bg
.colors()
button.refresh(v-on:click="newColors").
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" viewBox="0 0 23 23" version="1.1" x="0px" y="0px"><path d="M 12.109896,2.9653518 C 10.830826,2.9134678 9.5257058,3.132602 8.2817758,3.648946 c -3.9806,1.652399 -6.2540499,5.897846 -5.4179699,10.123046 0.8360799,4.2253 4.5540699,7.274132 8.8613301,7.269532 a 0.9995584,1.0006417 14.999899 1 0 0,-2 c -3.3667302,0 -6.2475202,-2.360557 -6.9004002,-5.660157 -0.65294,-3.2997 1.11025,-6.592765 4.22266,-7.884765 3.1124002,-1.292 6.6825102,-0.213669 8.5488302,2.582031 1.85391,2.77709 1.49946,6.460477 -0.8418,8.845703 l 0.0781,-2.36
View nuke_my_friends.md

Nuke My Friends

Simple JavaScript to follow/unfollow people on twitter.

Setting up

Go to www.twitter.com/following

In browser console, use

setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);
@Rayraegah
Rayraegah / robot_visitor.js
Last active Apr 10, 2018
linkedin connections visitor
View robot_visitor.js
// copypaste this script in console of page
// https://www.linkedin.com/mynetwork/invite-connect/connections/
//
// script to visit all connection pages on linkedin
// you may have to manually scroll the page to load all connection data
// or use the linkedin api
(function(){
// nodes containing profile url in href attribute
// linkedin now uses ember.js