Skip to content

Instantly share code, notes, and snippets.

@Xaekai
Xaekai / ipc.example.js
Created July 11, 2016 18:12
Example of Interprocess communication in Node.js through a UNIX domain socket
/*
**
** 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 July 13, 2016 03:49
Deobfuscate free version of JavascriptObfuscator.com

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 / recipe.txt
Last active November 18, 2022 21:28
Nisaba's battle tested Cultural Appropriation Nog (Coquito)
2 cans sweetened condensed milk
5 egg yolks
3 cans evaporated milk
2 cans cream of coconut (not coconut milk)
2 tablespoons Madagascar Bourbon vanilla extract (or Penzey's double strength)
1 tablespoon Penzey's cinnamon blend
1 whole nutmeg, ground
1 tablespoon whole cloves, ground
1 cup silver rum
1 cup spiced rum
@Xaekai
Xaekai / manifests.md
Created February 13, 2022 13:29
manifest specification pending public release of CyTube 3.90-rc

CyTube Custom Content Metadata

Last updated: 2022-02-12

Purpose

CyTube currently supports adding custom audio/video content by allowing the user to supply a direct URL to an audio/video file. The server uses ffprobe to probe the file for various metadata, including the codec/container format and

@Xaekai
Xaekai / skillRateStagesByVocation_TrainerMode.xml
Last active August 7, 2020 00:28
Skill Rate Stages per Vocation and Offline Trainer Multiplier. Mod for TFS 0.x series.
<?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.
@Xaekai
Xaekai / rushbattle.xml
Last active April 15, 2020 23:24
Some team battle event for TFS 0.x versions that support mods. Code heresies purged by inquisitor Lessaire.
<?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 April 7, 2020 22:10
Patch for woefully insufficient PKGBUILD for vscodium
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

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 / userscript.md
Created August 18, 2016 04:26 — forked from twilight-sparkle-irl/userscript.md
Aggressive Userscripting For Et Cetera

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.

@Xaekai
Xaekai / spaghetti.sauce.md
Last active August 11, 2016 20:53
Clark Family Spaghetti Sauce

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