Skip to content

Instantly share code, notes, and snippets.

View danoli3's full-sized avatar

Dan Rosser danoli3

View GitHub Profile
@danoli3
danoli3 / AndroidManifest.xml
Created May 27, 2014 07:19
Android Manifest for internet and external
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cc.openframeworks.AndroidExample"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto">
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
@danoli3
danoli3 / AndroidClean
Created August 18, 2014 00:38
Android openFrameworks Clean script
#!/bin/sh
# The MIT License (MIT)
# Copyright (c) 2014 Daniel Rosser
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@danoli3
danoli3 / AndroidBuildRelease
Created August 18, 2014 00:41
Android openFrameworks Build Release script
#!/bin/sh
# The MIT License (MIT)
# Copyright (c) 2014 Daniel Rosser
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@danoli3
danoli3 / AndroidBuildDebug
Created August 18, 2014 00:42
Android openFrameworks Build Debug script
#!/bin/sh
# The MIT License (MIT)
# Copyright (c) 2014 Daniel Rosser
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@danoli3
danoli3 / decode.c
Created September 2, 2014 05:56
LibJXR problem files
//*@@@+++@@@@******************************************************************
//
// Copyright � Microsoft Corp.
// 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.
@danoli3
danoli3 / gist:0055e81b9c0830b6090c
Created December 18, 2015 18:05
BFG removal log openFrameworks
e87ea78bbc90bbc24597b0d49317d605882db4e5 788480 3DModelLoaderExample.exe
c679e6dae8d7a329baf0017fade09c3576eb6d73 4627456 Assimp32.dll
3f66cfe797598f37d2647fe3538141b6a5908006 240560 CppUnit.a
09dadd785951b62e6f6ee522bef2ad37807bcae7 113920 CppUnit.a
ae29db3f0223280b8a36050a29381bba81894a16 182960 CppUnit.a
bf5e7768b0caf932d41f4e4e81b211d31c74215a 49376 CppUnit.lib
2323189c7c4bd847aaa176f7940a9120d0516363 996366 CppUnitmt.lib
e5b1afe441c6d1b4cabad6da73fbeb38186753a6 2404352 FreeImage.dll
0562f4a0ea221ccfda6f28adf93f826f62e338c3 6402560 FreeImage.dll
075f1a75cbf07d16a216e4321398893ad92039f0 1089536 FreeImage.dll
@danoli3
danoli3 / testApp.cpp
Created July 28, 2013 02:27
openframeworks 0.8 develop ofBoxPrimitive efficiency vs 0.7.4
// TEST 0.8
#include "testApp.h"
struct Box {
ofVec3f pos;
float size;
float xScale;
float yScale;
int x;
@danoli3
danoli3 / testApp.cpp
Created July 28, 2013 02:30
openframeworks 0.8 develop ofBoxPrimitive efficiency vs 0.7.4 (this one built for 0.7.4)
// TEST
#include "testApp.h"
struct Box {
ofVec3f pos;
float size;
float xScale;
float yScale;
int x;
@danoli3
danoli3 / Create iOS Icons.jsx
Last active December 28, 2015 01:49 — forked from twonjosh/Create iOS Icons.jsx
IOS 7 update for the Icon generator, with proper names
// 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
AudioChannelLayout channelLayout;
bzero(&channelLayout, sizeof(channelLayout));
channelLayout.mChannelLayoutTag = kAudioChannelLayoutTag_Mono;
int numOfChannels = 1;
if(channelLayout.mChannelLayoutTag == kAudioChannelLayoutTag_Stereo) {
numOfChannels = 2;
}
NSDictionary * audioOutputSettings = nil;