Pure JavaScript Zoom and Pan, taken from http://phrogz.net/tmp/canvas_zoom_to_cursor.html
A Pen by TechSlides on CodePen.
| <!DOCTYPE html> | |
| <html> | |
| <head><title>Fizzlefade</title></head> | |
| <body> | |
| <canvas id="framebuffer" width="320" height="200"></canvas> | |
| <script type="text/javascript"> | |
| /* Fizzlefade using a Feistel network. |
| // Faster solution for: | |
| // http://www.boyter.org/2017/03/golang-solution-faster-equivalent-java-solution/ | |
| // With threading. | |
| // g++ -std=c++11 -Wall -Wextra -O3 -pthread | |
| // On my computer (i5-6600K 3.50 GHz 4 cores), takes about ~160 ms after the CPU | |
| // has warmed up, or ~80 ms if the CPU is cold (due to Turbo Boost). | |
| // How it works: Start by generating a list of losing states -- states where the | |
| // game can end in one turn. Generate a new list of states by running the game |
Pure JavaScript Zoom and Pan, taken from http://phrogz.net/tmp/canvas_zoom_to_cursor.html
A Pen by TechSlides on CodePen.
Picking the right architecture = Picking the right battles + Managing trade-offs
| CPU 6502 | |
| - http://www.6502.org/ | |
| - http://skilldrick.github.io/easy6502/ | |
| - http://nesdev.com/6502guid.txt | |
| - https://en.wikibooks.org/wiki/6502_Assembly | |
| 6502 C Compiler | |
| - http://cc65.github.io/cc65/ | |
| NES Programming |
| 1.01 - Added some new licensees, fixed some | |
| descriptions. | |
| v1.00 - Initial release. | |
| _______________ | |
| This information was taken and compiled from Martin Korth's | |
| NO$GMB emulator. Best viewed in DOS EDIT. | |
| Every Gameboy ROM header starts off at the HEX offset 0134. |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
| Nitty Gritty Gameboy Cycle Timing | |
| --------------------------------- | |
| A document about the down and dirty timing of the Gameboy's video hardware. | |
| Written by: Kevin Horton | |
| Version: 0.01 (preliminary) | |
| My findings here are based on the original DMG, Super Gameboy, and GB |
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |