Skip to content

Instantly share code, notes, and snippets.

Xaekai Xaekai

Block or report user

Report or block Xaekai

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
@Xaekai
Xaekai / ipc.example.js
Created Jul 11, 2016
Example of Interprocess communication in Node.js through a UNIX domain socket
View ipc.example.js
/*
**
** Example of Interprocess communication in Node.js through a UNIX domain socket
**
** Usage:
** server> MODE=server node ipc.example.js
** client> MODE=client node ipc.example.js
**
*/
@Xaekai
Xaekai / README.md
Created Jul 13, 2016
Deobfuscate free version of JavascriptObfuscator.com
View README.md

Simple Javascript deobfuscator

Aims to deobfuscate the result of JavascriptObfuscator free version.

Run

To tun the script, you should have had node.js installed first. Requires node.js and following npm modules:

  • esprima
@Xaekai
Xaekai / pb.cookies.md
Created Aug 5, 2016
Peanut Butter Cookie Recipe
View pb.cookies.md

Peanut Butter Cookies

Creams
  • 1 cup granulated sugar
  • 1 cup packed brown sugar
  • 1/4 cup butter, softened
  • 3/4 cup shortening
  • 1 cup peanut butter
  • 2 egg
@Xaekai
Xaekai / spaghetti.sauce.md
Last active Aug 11, 2016
Clark Family Spaghetti Sauce
View spaghetti.sauce.md

Clark Family Spaghetti Sauce

Sauce base
  • 4 tablespoons olive oil
  • 1 tablespoon honey
  • 1 - 6.0oz can of tomato paste
  • 1 - 6.0oz of wine to rinse tomato paste can
  • 2 - 14.5oz cans of diced tomatoes
  • 3 - 15.0oz cans of tomato sauce
  • 1 cup Clamato juice
@Xaekai
Xaekai / userscript.md
Created Aug 18, 2016 — forked from no-boot-device/userscript.md
Aggressive Userscripting For Et Cetera
View userscript.md

So, recently I've seen an uptick in stuff like SystemJS and Webpack on the clientside.
This basically kills userscripting, which is very rude.
However, you can still get around this by completely proxying everything.

Let's take pony.town for example. A very antiuserscripting site.

What you'll want to do is download the script used to bootstrap and edit it to your hearts desire. You can do this by popping open the inspector, and looking for the path needed. I have an old script that you can adapt if you so desire. Instead of having to access and overwrite things from window, without the contexts needed and being unable to peek inside closures, you can now just serve up your own modifications to the script.

View keybase.md

Keybase proof

I hereby claim:

  • I am xaekai on github.
  • I am xaekai (https://keybase.io/xaekai) on keybase.
  • I have a public key ASDdqsRpFTGnEi5FwxXFsiDSbpbAKh1dkdEAdvAh146FDAo

To claim this, I am signing this object:

@Xaekai
Xaekai / rushbattle.xml
Last active Apr 15, 2020
Some team battle event for TFS 0.x versions that support mods. Code heresies purged by inquisitor Lessaire.
View rushbattle.xml
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Rush Event" version="2.0.2.0" author="Lessaire" contact="https://otland.net/members/lessaire/" enabled="yes">
<credits>
This cleaned and refactored version is brought to you by Lessaire.
There is so much wrong with this still,
but since this crap is out in the wild may as well do what I can
All I know is the original authors, whoever they were, should feel ashamed.
Original Credits:
Maybe ChaitoSoft.com
@Xaekai
Xaekai / pkgbuild.patch
Last active Apr 7, 2020
Patch for woefully insufficient PKGBUILD for vscodium
View pkgbuild.patch
diff --git a/PKGBUILD b/PKGBUILD
index 9ddf03d..7677852 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,14 @@
# Maintainer: Salamandar <felix <at> piedallu <dot> me >
# Inspired from the PKGBUILD for vscodium-bin
+# Contributor: Xaekai <aur <at> pink <dot> horse >
pkgname=vscodium-git
@Xaekai
Xaekai / skillRateStagesByVocation_TrainerMode.xml
Last active Apr 19, 2020
Skill Rate Stages per Vocation and Offline Trainer Multiplier. Mod for TFS 0.x series.
View skillRateStagesByVocation_TrainerMode.xml
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Skill Rates: Stages and Modes" version="2020.4.19" author="Lessaire" contact="https://otland.net/members/lessaire/" enabled="yes">
<credits>
This cleaned and refactored version is brought to you by Lessaire.
Original idea: Gesior
</credits>
<notes>
This revision attempts to register the creatureEvents in the buffered login script at the bottom.
If for whatever reason that doesn't work, you need to just move them to your regular login.lua.
You can’t perform that action at this time.