Skip to content

Instantly share code, notes, and snippets.

Hernan Saez hhsaez

Block or report user

Report or block hhsaez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hhsaez
hhsaez / SMBDIS.ASM
Created Nov 16, 2016 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
View SMBDIS.ASM
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@hhsaez
hhsaez / Create iOS Icons.jsx
Last active Dec 25, 2015 — forked from twonjosh/Create iOS Icons.jsx
Photoshop Script to Create iOS Icons from a source image
View Create iOS Icons.jsx
// Photoshop Script to Create iPhone Icons from iTunesArtwork
//
// WARNING!!! In the rare case that there are name collisions, this script will
// overwrite (delete perminently) files in the same folder in which the selected
// iTunesArtwork file is located. Therefore, to be safe, before running the
// script, it's best to make sure the selected iTuensArtwork file is the only
// file in its containing folder.
//
// Copyright (c) 2010 Matt Di Pasquale
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com
View Fragment_Shader.frag
R"(
struct Light {
vec3 position;
vec3 attenuation;
vec3 direction;
vec4 color;
float outerCutoff;
float innerCutoff;
float exponent;
};
View OLD_Shader_Program.cpp
/*
* Copyright (c) 2013, Hernan Saez
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@hhsaez
hhsaez / SaveiOSAndroid.jsx
Last active Jan 26, 2016
Adobe Illustrator script for exporting icons to iOS and Android in all supported sizes.
View SaveiOSAndroid.jsx
/**
* Remixer 1: @herkulano (http://www.herkulano.com)
* Remixer 2: @hotappsfactory (http://www.hotappsfactory.com)
* Thanks to: Niels Bosma (niels.bosma@motorola.com)
*
* Install at <Illustrator_Path>/Presets/en_US/Scripts
*/
var folder = Folder.selectDialog();
var document = app.activeDocument;
You can’t perform that action at this time.