Skip to content

Instantly share code, notes, and snippets.

View sixones's full-sized avatar
🦖

Adam Livesley sixones

🦖
View GitHub Profile
package org.sixones
{
import flash.system.Capabilities;
/**
* Provides a static class with details of the current running Flash version.
*
* Usage: FlashVersion.getInstance() => # FlashVersion object instance
*/
public class FlashVersion
edit /opt/local/var/macports/sources/rsync.macports.org/releases/ports/devel/libsdl/Portfile
after line 40 paste:
platform darwin 10 {
set build_arch i386
set sdkrootpath /Developer/SDKs/MacOSX10.5.sdk
configure.cflags-append -isysroot ${sdkrootpath} -arch i386 -mmacosx-version-min=10.5
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN" "http://www.w3.org/2008/SMIL30/SMIL30Language.dtd">
<smil xmlns="http://www.w3.org/2008/SMIL30/" xml:lang="en">
<head>
<title>dfsdfsdfsdf</title>
<author></author>
<abstract></abstract>
<copyright></copyright>
<layout>
<region id="root" top="0" left="0" width="100%" height="100%" z-index="0" />
h1. Wii Homebrew
h2. "Installing Homebrew Channel + Patching CISO":http://forums.afterdawn.com/thread_view.cfm/773505
h2. USB Loader
"USBLoader GX":http://sites.google.com/site/usbloadergui/
"Installing USBLoader GX":http://forums.afterdawn.com/thread_view.cfm/780518
Usb Loader GX is the prettier solution but I could not get it working (worked first time, then tried again and it crashed). The alternative is the NeoGamma solution which was installed on the first step.
tell application "Finder" to quit
display dialog "Show Hidden Files..." buttons {"ON", "OFF"} ¬
default button 2
copy the result as list to {buttonpressed}
try
if the buttonpressed is "OFF" then do shell script ¬
"defaults write com.apple.finder AppleShowAllFiles OFF"
if the buttonpressed is "ON" then do shell script ¬
"defaults write com.apple.finder AppleShowAllFiles ON"
------ Build started: Project: jmtp, Configuration: Release Win32 ------
Compiling...
PortableDeviceValues.cpp
PortableDevicePropVariantCollection.cpp
PortableDeviceProperties.cpp
.\src\PortableDeviceProperties.cpp(54) : warning C4101: 'del' : unreferenced local variable
PortableDeviceManager.cpp
PortableDeviceKeyCollection.cpp
PortableDeviceContent.cpp
PortableDevice.cpp
#include "mtphandler.h"
bool MTPHandler::__LIBMTPInitialised = false;
MTPHandler::MTPHandler()
: _mtpDevices(0), _connectedDevice(0), _deviceConnected(false)
{
if (!MTPHandler::__LIBMTPInitialised)
{
LIBMTP_Init();
//
// Copyright (c) 2009, the Open Video Player authors. 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
module Sixones
module Github
include Jekyll::Filters::Custom
def gist(id)
"<script type=\"text/javascript\"
src=\"http://gist.github.com/#{id}.js\"></script>"
end
end
end
// create an instance of the FirebugConsole
var firebug:FirebugConsole = new FirebugConsole();
// send a log message
firebug.log("Log Message");
// send an error message
firebug.error("Error Message");