Skip to content

Instantly share code, notes, and snippets.

💭
Debonking my attempted additions to the GNU File magic dictionary

Pysis868

💭
Debonking my attempted additions to the GNU File magic dictionary
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
Pysis868 / open_cookie.rb
Last active Jun 26, 2018 — forked from scpike/open_cookie.rb
Rails 3 cookie decode
View open_cookie.rb
@Pysis868
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
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
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
^1::
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
Pysis868 / grub.cfg
Last active Jun 17, 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: http://tehfishyblog.logdown.com/chips/306146-a-homemade-ultimate-bo…
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 http://www.pendrivelinux.com
# Suggested Entries and the suggestor, if available, will also be noted.
# and then improved by Pysis.
View keybase.md

Keybase proof

I hereby claim:

  • I am Pysis868 on github.
  • I am pysis (https://keybase.io/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>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
You can’t perform that action at this time.