Skip to content

Instantly share code, notes, and snippets.

👀
Messing with microkernels

Móricz Gergő moriczgergo

👀
Messing with microkernels
Block or report user

Report or block moriczgergo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@moriczgergo
moriczgergo / OWHK.ahk
Created May 2, 2019
OWHK - Overwatch Chat Command Hotkeys
View OWHK.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetKeyDelay, 50
#if WinActive("Overwatch")
^!a:: ; Ctrl+Alt+A - Switch to global chat
SendEvent, {Enter}/a{Enter}{Enter}
@moriczgergo
moriczgergo / png2hqr.js
Last active Jan 14, 2019
png2hqr - creates hackmud QR from .png
View png2hqr.js
#!/usr/bin/env node
var fs = require('fs');
var PNG = require('pngjs').PNG;
fs.createReadStream(process.argv[2])
.pipe(new PNG())
.on('parsed', function() {
var buffer = "";
for (var y = 0; y < this.height; y += 2) {
for (var x = 0; x < this.width; x++) {
@moriczgergo
moriczgergo / TweetQuality.user.js
Created Dec 25, 2018
Tweet Quality analyzer. RT to Like ratio. Problems: won't work if something is good both NSFW for example, because most people won't RT it.
View TweetQuality.user.js
// ==UserScript==
// @name TweetQuality
// @namespace http://skiilaa.me/
// @version 1.0
// @description Analyzes Tweet quality.
// @author skiilaa
// @match *://twitter.com/*
// @grant none
// ==/UserScript==
@moriczgergo
moriczgergo / TwitterUniPoints.user.js
Created Dec 25, 2018
Unified Post Point Counter for Twitter. (likes + rt*2 + replies*5) Not a good post counter, rather a popularity counter.
View TwitterUniPoints.user.js
// ==UserScript==
// @name TwitterUniPoints
// @namespace https://skiilaa.me/
// @version 1.0
// @description Unified Tweet Points
// @author skiilaa
// @match *://twitter.com/*
// @grant none
// ==/UserScript==
@moriczgergo
moriczgergo / snippets.json
Created Dec 25, 2018
Hacknet Extension Snippets for VSCode
View snippets.json
{
"ExtensionInfo": {
"prefix": "HacknetExtension",
"body": ["<HacknetExtension>"," <!-- Set your language first!"," Current supported list:"," English : en-us"," German : de-de"," French : fr-be"," Russian : ru-ru"," Spanish : es-ar"," Korean : ko-kr"," Japanese : ja-jp"," Chinese, simplified : zh-cn"," -->"," <Language>$1</Language>"," "," <!-- Max name length is 128 characters -->"," <Name>$2</Name>"," <AllowSaves>true</AllowSaves>"," "," <!-- a comma separated list of notes that start out as being visible-->"," <StartingVisibleNodes>$3</StartingVisibleNodes>"," "," <!-- the mission (if any) that loads in as soon as the player starts -->"," <StartingMission>$4</StartingMission>"," "," <!-- Conditional action set that is loaded in as soon as a new session is created"," This is useful to do setup stuff, like giving the player programs, assigning them a faction etc."," If you don't need this, set it to \"NONE\", or just delete the tag.-->"," <StartingActions>$5</StartingActions>"," ","
@moriczgergo
moriczgergo / bsod.js
Created Nov 13, 2018
invoke BSOD via JS
View bsod.js
var ref = require('ref');
var ffi = require('ffi'); // npm install https://github.com/node-ffi/node-ffi
var dword = ref.types.ulong;
var dwordPtr = ref.refType(dword);
var bool = ref.types.byte;
var boolPtr = ref.refType(bool);
var ntdll = new ffi.Library('ntdll', {
"RtlAdjustPrivilege": ["void", ["ulong", "ulong", "byte", boolPtr]],
View emuparadise.txt
This file has been truncated, but you can view the full file.
Atari 2600 ROMs:
3-D Tic-Tac-Toe (1980) (Atari, Carol Shaw - Sears) (CX2618 - 49-75123)
A-Team, The (AKA Saboteur) (05-08-1984) (Atari, Jerome Domurat, Howard Scott Warshaw) (CX26133) (Prototype)
Acid Drop (1992) (Salu, Dennis M. Kiss) (460758) (PAL)
Activision Decathlon, The (1983) (Activision, David Crane) (AG-930-04, AZ-030) [fixed]
Adventure (1980) (Atari, Warren Robinett - Sears) (CX2613 - 49-75154)
Adventures of TRON (TRON Joystick) (1982) (M Network, Hal Finney, Glenn Hightower, Peter Kaminski - INTV) (MT4317)
Air Raid (Men-A-Vision) (PAL)
Air Raiders (Air Battle) (1982) (M Network, Larry Zwick - INTV) (MT5861)
@moriczgergo
moriczgergo / ii.h
Last active May 5, 2018
ii is a simple function that retreives an amiibo's AppID.
View ii.h
#ifndef II_H
#define II_H
/*
* ii - AppID retreiver
* made by skiilaa
* under MIT license!
*/
Result ii(u32 *appid)
{
Result ret = 0;
@moriczgergo
moriczgergo / fusee-framboise-install.sh
Created Apr 30, 2018
Installer script for fusee-framboise v1.0.1
View fusee-framboise-install.sh
#!/bin/bash -e
apt install git python3 python3-pip curl libusb-1.0.0-dev
pip3 install pyusb
if [ -d "/etc/fusee-launcher" ]; then
# nope
echo "Please remove /etc/fusee-launcher"
fi
@moriczgergo
moriczgergo / typehaxor.pv0.js
Created Apr 4, 2018
TypeHaxor -- pv0 -- Lyridium
View typehaxor.pv0.js
// TypeHaxor
// built by skiilaa, doesn't work /yet/
// 2018 L y r i d i u m
// Made for educational purposes: don't actually use it.
// pv0
//
// PASTE THIS INTO THE CONSOLE WHEN THE RACE HAS STARTED, AND KEEP MOVING YOUR MOUSE OVER THE INPUT BOX //
var speed = 40; // A number between ~40 and Infinity, specifies millisecond delay between character types.
You can’t perform that action at this time.