Skip to content

Instantly share code, notes, and snippets.

@froxxxy
froxxxy / up.php
Created February 23, 2022 10:40
Super simple and quite ugly sync tool foor bitburner.
<?php
/*
Super simple and quite ugly sync tool foor bitburner.
- At start it uploads all file in current directory to game
- after that it compares MD5 of files and sleeps for a second
Usage:
- Update YOUR_AUTHENTICATOIN_TOKEN_HERE down below
- run "php up.php"
@froxxxy
froxxxy / tampermonkey.partyparrot.js
Last active August 27, 2020 05:40
Tampermonkey userscript to get the party started with some parrots on any website! ;)
// ==UserScript==
// @name party parrot - PARTY OR DIE
// @namespace https://github.com/jmhobbs/cultofthepartyparrot.com
// @version 0.1
// @description There's no parrot like party parrot!
// @author You
// @match http://*/*
// @match https://*/*
// @grant GM_addStyle
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
@froxxxy
froxxxy / apple
Created March 4, 2016 08:11
apple keyboard debian (dirrrty!) /usr/share/X11/xkb/symbols/macintosh_vndr/apple
// Aluminium Keyboard: make F13, F14, F15 PC-ish (Print, Scroll_Lock, Pause)
partial function_keys keypad_keys modifier_keys
xkb_symbols "alupckeys" {
key <RWIN> { [ Menu ] };
key <FK13> { [ Insert ] };
key <FK14> { [ Scroll_Lock ] };
key <FK15> {
type= "PC_CONTROL_LEVEL2",
symbols[Group1]= [ Pause, Break ]
};
@froxxxy
froxxxy / proof.sql
Created January 13, 2016 15:02
PostgreSQL: The world's most advanced open source database
CREATE SCHEMA world;
CREATE TABLE world.databases (name VARCHAR, advance INTEGER, open_source BOOLEAN);
INSERT INTO world.databases VALUES ('PostgreSQL', 9001, TRUE);
SELECT
name
FROM
world.databases
WHERE
open_source IS TRUE
ORDER BY
@froxxxy
froxxxy / gist:9034647
Created February 16, 2014 14:01
Java Development für Martin
GIT
===
https://github.com/ -> Versionierungssystem, runterladen, rumspielen. Gibt eine Million Tutorials, eins der besseren ist das hier: https://www.atlassian.com/de/git/tutorial/git-basics
https://github.com/ -> Account anlegen, Projekte clonen, Repository anlegen, rumspielen
http://eclipse.github.com/ -> EGit, Eclipse Plugin für Git
DB