Skip to content

Instantly share code, notes, and snippets.

View 5Diraptor's full-sized avatar

5Diraptor 5Diraptor

View GitHub Profile
@nicolasdao
nicolasdao / open_source_licenses.md
Last active June 12, 2025 20:47
What you need to know to choose an open source license.
@DaFrElUf
DaFrElUf / Untrusted Solutions
Last active January 17, 2022 16:25
Solutions to the game "Untrusted" (http://alexnisnevich.github.io/untrusted/)
Level 1: Erase the two loops so there are no blocks
---
Level 2: Redefine the maze and add another exit
var maze = new ROT.Map.DividedMaze(1,1);
map.placeObject(map.getWidth()-6, map.getHeight()-5, 'exit');
---
@TomByrne
TomByrne / MultiExporter.jsx
Last active April 2, 2025 10:37
An Illustrator script for exporting layers and/or artboards into separate files (PNG8 / PNG24 / EPS / PDF / SVG / JPG / FXG).See http://www.tbyrne.org/export-illustrator-layers-to-svg-files
// MultiExporter.jsx
// Version 0.1
// Version 0.2 Adds PNG and EPS exports
// Version 0.3 Adds support for exporting at different resolutions
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize
// Version 0.5 Fixed cropping issues
// Version 0.6 Added inner padding mode to prevent circular bounds clipping
//
// Copyright 2013 Tom Byrne
// Comments or suggestions to tom@tbyrne.org
@zvineyard
zvineyard / html_form
Created August 30, 2012 15:29
PHP: Upload and Rename File
<form action="" enctype="multipart/form-data" method="post">
<input id="file" name="file" type="file" />
<input id="Submit" name="submit" type="submit" value="Submit" />
</form>