Skip to content

Instantly share code, notes, and snippets.

View FelixWolf's full-sized avatar
💭
https://youtu.be/NvVFHIr6T9Y

Kyler "Félix" Eastridge FelixWolf

💭
https://youtu.be/NvVFHIr6T9Y
View GitHub Profile
@FelixWolf
FelixWolf / user.js
Created August 7, 2014 16:30
Steam I know what I am doing I'm not an idiot who clicks staemcummunety.9001webhosting.co links.
// ==UserScript==
// @name Félix
// @namespace http://felix.wolf.it.cx/data/steampls.js
// @version 0.1
// @description Gets rid of the "link filter" on steam
// @match https://steamcommunity.com/linkfilter/?url=*
// @copyright CC0, made by Félix, I'd appreciate it if you didn't claim it as your own, but w/e.
// ==/UserScript==
var usePhishCheck=true;
var phishCheckServer = "http://felix.wolf.it.cx/data/phishcheck";
@FelixWolf
FelixWolf / bencode.js
Last active August 29, 2015 14:22
Bencode implementation in Javascript
/**
The MIT License (MIT)
Copyright (c) 2015 Félix Wolf
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@FelixWolf
FelixWolf / js
Last active September 22, 2015 03:27
Style Injector
// ==UserScriptInclude==
// @name Style Injector
// @namespace http://userscripts.softhyena.com/lib/style_injector.js
// @namespace https://gist.github.com/FelixWolf/479521b01a957ab980ab
// @version 0.1
// @description Simple method of injecting styles
// @author Félix Wolf
// @match *
// @grant none
// @run-at document-start
@FelixWolf
FelixWolf / lsl.xml
Last active January 28, 2016 14:51
LSL For Notepad++
<!--
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
@FelixWolf
FelixWolf / designer.html
Last active February 5, 2016 16:44
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
#This file is a INI file, https://en.wikipedia.org/wiki/INI_file
#It accepts ; and # as comments
#All sections, and keys are case insensitive
#Acceptable game titles are derived from the JasX website, such as the URLs
#See http://jasx.org/api/jasxAPI.lsl / API_GAME_ACTION::ACTION_GAME::GAME_*
#These are case insensitive, a list of games as of writing:
#BARE, TIS, SNC, JFISH, FRIGHT, BARE, JASX, DOGEHUD, WOOHOO
#By default, all values mean version 0
@FelixWolf
FelixWolf / running_the_numbers.py
Last active May 21, 2016 07:11
Does the rolling of two dice have a higher probability of landing on an even number or is @Tuurtles lying..?
#!/usr/bin/env python3
#MIT License
#
#Copyright (c) 2016 Félix Wolf
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
@FelixWolf
FelixWolf / Struct.js
Created August 23, 2016 14:00
Struct for Javascript, based on Python struct. (In development)
var struct = new (function(){
var dLen = {
/*"Type": [Size, Read, Write]*/
/*pad byte */"x": [1, "getUint8", "setUint8"],
/*char */"c": [1, "getUint8", "setUint8"],
/*signed char */"b": [1, "getInt8", "setInt8"],
/*unsigned char */"B": [1, "getUint8", "setUint8"],
/*_Bool */"?": [1, "getUint8", "setUint8"],
/*short */"h": [2, "getInt16", "getInt16"],
/*unsigned short */"H": [2, "getUint16", "getUint16"],
@FelixWolf
FelixWolf / AnimationKit.lsl
Created September 2, 2016 17:38
Quick and easy method for multi-prim alpha animation
/*
Format for single animation:
ANIM_ON, integer Prim, float Speed, integer Face_count,
integer Face_Order[Face_Count]
Format for single looped:
LOOP, integer count, integer mode, integer Prim, float Speed, integer Face_count,
integer Face_Order[Face_Count]
Single animation will loop over to next animation unless EOF
Looped animations will repeat until received "STOP" from linkset.
@FelixWolf
FelixWolf / @czFunc.lsl
Last active September 2, 2016 17:40
Multiple useful functions
//Defines
#include "animation_ids.lsl"
#include "sound_ids.lsl"
//Real Lighting
#define LIGHT_CANDLE <1.000000, 0.576471, 0.160784>
#define LIGHT_TUNGSTEN_40W <1.000000, 0.772549, 0.560784>
#define LIGHT_TUNGSTEN_100W <1.000000, 0.839216, 0.666667>
#define LIGHT_HALOGEN <1.000000, 0.945098, 0.878431>
#define LIGHT_CARBON <1.000000, 0.980392, 0.956863>