Skip to content

Instantly share code, notes, and snippets.

var fs = require("fs-extra");
function make_title_buffer(s) {
return Buffer.from(s.split("").join("\0"));
}
var flash_player_version = 18;
var orig_title = `Adobe Flash Player ${flash_player_version}`
var orig_title_buffer = make_title_buffer(orig_title);
var new_title = "Wasted Youth, Part 1";
var fs = require("fs-extra");
(async()=>{
var buffers = [];
buffers.push(await fs.readFile("flashplayer_18_sa2.exe"));
var swf = await fs.readFile("wrapper.swf");
buffers.push(swf);
var end = [0x56, 0x34, 0x12, 0xFA];
var sizeTemp = swf.length;
while (sizeTemp>0) {
Site Updates:
- [General] Minor styling improvements.
- [General] Disabled automatic 30 day log out.
- [Admin] Fixed bug whereby scheduled posts were not sending subscribers notifications.
- [Live] Popout menu with options for each comment:
Information: Display detailed metadata about the comment and the author, including IP-based geo-location (accurate).
Report: Flag an inappropriate comment for moderation.
- [Live] Improved comment moderation system.
- [Live] Restored toggle button cycle for aspect ratio 4:3 (Cropped).
- [Live] New option 'Comment Limit'. Default (256), Max (512)
@twilson90
twilson90 / EFI Partition Creation Guide for Windows 10
Last active September 6, 2021 09:30
EFI Partition Creation Guide for Windows 10
Boot with Windows Install Disk / Recovery Tool USB
Advanced Options -> Command Prompt:
Enter the following (hashtags are comments, not part of the command):
diskpart
list disk
select disk N # N refers to the disk which contains the deleted the EFI System partition.
list partition
ron, eyes closed, imagining 'you're going to hollywood' and crashing into the wtc.
wakes up, he is watchjng a 9/11 themed porno on his virgin subscription.
ron's wife appears.
cut to ron writing an email to all the newspapers.
'it's happened again'
> "C:\Program Files\VideoLAN\VLC\vlc.exe" --no-repeat --no-loop -I rc -vv --no-lua playlist.m3u vlc://quit
--sout=#transcode{vcodec=h264,vfilter=canvas{width=1280,height=720,aspect=16:9},scale=1,fps=25,acodec=mp4a}:gather:file{mux=mp4,dst="out.mp4"}
--sout-keep --ignore-config
VLC media player - 3.0.8 Vetinari
Copyright © 1996-2019 the VideoLAN team
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"
Remote control interface initialised. Type `help' for help.
Video:
Sonic The Hedgehog 1 [Gameplay Footage] (1991)
Bride of Frankenstein (1935)
Sonic The Hedgehog [TV Series] (1993-1994)
QVC UK - Gold Ring (2019)
Jerry Springer - Klanfrontation Fight (1995)
Music:
@twilson90
twilson90 / get_anim_datas
Created March 31, 2019 00:04
a helpful function for finding most of the animation datas used in a context or scene
def get_anim_datas(context=None):
if context is None: context = bpy.context
found = set()
materials = set()
textures = set()
def found_add(o):
if o is None: raise Exception()
found.add(o)
found_add(context.scene)
//When it comes to implementing user interfaces (buttons, detecting key presses, etc.), depending on the language & framework it is different.
//I was brought up with the concept of events and event listeners. An event is something that happens, a listener is something that will allow you to respond to certain events.
//Every game engine/framework will implement a system like this, to allow the app and the user to communicate back and forth.
//Some examples of an event would be 'Click' or 'KeyPress'. these would allow you (the coder) to detect what part of the screen the user is clicking or what keys are being pressed.
//There are also system events that you would depend on for making the game run at all, like 'EnterFrame' (fired at the beginning of each frame) or 'OnExit' if you want to perform an action (like saving the user's progress) before the app is terminated.
//By listening for these events, it's possible to create a simple game loop.
//An example of a mouse click listener:
function OnClick(e:Mouse