Skip to content

Instantly share code, notes, and snippets.

View Ron
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'
View vlc output
> "C:\Program Files\VideoLAN\VLC\vlc.exe" --no-repeat --no-loop -I rc -vv --no-lua playlist.m3u vlc://quit
--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.
View the.real.sonic.the.hedgehog.part.002.1080p.mp4.credits.txt
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)
hedgehog90 / get_anim_datas
Created Mar 31, 2019
a helpful function for finding most of the animation datas used in a context or scene
View get_anim_datas
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()
//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
# I'm sure you already know about basic data types, like ints, floats, strings and bools, so let's start with loops and basic data structures.
# Let's see all the ways we might generate a sequence of numbers from 0-9.
# First, using a while loop and a list:
zero_to_nine = []
i = 0
while i < 10:
i += 1
View gist:7f838a6b1ac4a7896a1ac63585595c6a
import sys
ans = sys.stdin.readline().split(" ")
guess = sys.stdin.readline().split(" ")
def count_white(ans, guess):
temp_ans = ans[:]
pegs = 0
for i in guess:
if i in temp_ans:
View lost.highway.1997.1080p.bluray.dd5.1.hevc.x265.rmteam.txt
Unique ID : 39283267530506054814815985473680893167 (0x1D8DAE9FBF187610E3061C098C58E4EF)
Complete name : F:\Video\Film (new)\+David Lynch Collection\lost.highway.1997.1080p.bluray.dd5.1.hevc.x265.rmteam\lost.highway.1997.1080p.bluray.dd5.1.hevc.x265.rmteam.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.56 GiB
Duration : 2 h 14 min
Overall bit rate : 1 667 kb/s
Movie name : - RMTeam,
Description : Encoded By RMTeam,
View gist:cfd8bf573a01aa101c36
sprite = new Sprite({
name: "bg",
texture: tex_diffuse,
size: Luxe.screen.size,
uv: Luxe.screen.bounds,
centered: false
var target_texture:RenderTexture = new RenderTexture({ id:'rtt', width:512, height:512 });
var batcher:Batcher = Luxe.renderer.create_batcher({ name:'target_batcher' });