Skip to content

Instantly share code, notes, and snippets.

everything at once


everything at once
Block or report user

Report or block Pysis868

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
Pysis868 /
Last active Sep 20, 2019 — forked from jeffThompson/
Takes a large image as the input, outputs map tiles at the appropriate size and file structure for use in frameworks like leaflet.js, MapBox, etc.
# -*- coding: utf-8 -*-
import argparse, magic, re, os, math, glob, shutil
Jeff Thompson | 2016 |
Takes a large image as the input, outputs map tiles
at the appropriate size and file structure for use
Pysis868 / open_cookie.rb
Last active Jun 26, 2018 — forked from scpike/open_cookie.rb
Rails 3 cookie decode
View open_cookie.rb
Pysis868 / countKorokSeedsBookmarklet.js
Created Mar 19, 2017
Small script to count a specific object (korok seeds) in the Zelda: BotW Zelda map.
View countKorokSeedsBookmarklet.js
$.fn.reduce = [].reduce;
var singleKorokSeedLocations = $('.leaflet-marker-icon > div.icon-BotW_Korok-Seeds');
var singleKorokSeedLocationsTotal = singleKorokSeedLocations.length;
var multipleKorokSeedLocations = $('.leaflet-marker-icon > div > span');
var multipleKorokSeedLocationsTotal = multipleKorokSeedLocations.reduce(function(accumulator, currentElement){
return accumulator + parseInt(currentElement.innerText);
}, 0);
var korokSeedCount = singleKorokSeedLocationsTotal + multipleKorokSeedLocationsTotal;
Pysis868 / bot_data_to_yaml.rb
Last active Apr 29, 2016 — forked from adhown/bot_data_to_yaml.rb
Learning ruby basic
View bot_data_to_yaml.rb
require 'yaml'
bot_data = {
:presubs => [
["dont", "dont"],
["youre", "you're"],
["love", "like"]
:responses => {
:default => [
Pysis868 / QuakeConsole.ahk
Last active Apr 16, 2016 — forked from program247365/QuakeConsole.ahk
Console 2 Settings File and Quake Awesomeness
View QuakeConsole.ahk
; Change your hotkey here
DetectHiddenWindows, on
IfWinExist ahk_class Console_2_Main
IfWinActive ahk_class Console_2_Main
WinHide ahk_class Console_2_Main
WinActivate ahk_class Shell_TrayWnd
Pysis868 / grub.cfg
Last active Oct 18, 2019
My own configuration file for GRUB2 to boot various live distributions of Linux-based operating systems, along with some system tools. I tried to include a lot of sample configuration entries, even if I don't currently use them, so it may help others. Exceedingly long blog post:…
View grub.cfg
# Config for GNU GRand Unified Bootloader (GRUB) (2)
# /boot/grub/grub.cfg
# or
# /boot/grub2/grub.cfg
# This grub.cfg file was created by Lance
# Suggested Entries and the suggestor, if available, will also be noted.
# and then improved by Pysis.

Keybase proof

I hereby claim:

  • I am Pysis868 on github.
  • I am pysis ( on keybase.
  • I have a public key whose fingerprint is B2C4 A98E A4D0 CBC5 CDD8 62C3 1A0D 40D7 9885 AFA4

To claim this, I am signing this object:

View favicon-interceptor.js
// early experiments with node had mysterious double requests
// turned out these were for the stoopid favicon
// here's how to short-circuit those requests
// and stop seeing 404 errors in your client console
var http = require('http');
http.createServer(function (q, r) {
// control for favicon
View HTML5 Skeleton template.html
<!DOCTYPE html>
<meta charset="utf-8">
<!--[if lt IE 9]>
<script src=""></script>
You can’t perform that action at this time.