Enter into Open Firmware (hold down Command+Option+o+f when power on), and type:
boot ud:,\\:tbxi
Enter into Open Firmware (hold down Command+Option+o+f when power on), and type:
boot ud:,\\:tbxi
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |
require("lsqlite3") | |
-- Igmar: Wanneer closen we dat DB object eigenlijk ? | |
db = sqlite3.open('/etc/asterisk/users.sqlite') | |
--CONSOLE = "Console/dsp" -- Console interface for demo | |
--CONSOLE = "DAHDI/1" | |
--CONSOLE = "Phone/phone0" | |
TRUNK = "DAHDI/G1" |
package com.github.chrox.kpvbooklet; | |
import java.io.IOException; | |
import java.lang.reflect.Field; | |
import java.net.URI; | |
import java.util.Date; | |
import org.json.simple.JSONObject; | |
import org.json.simple.JSONArray; |
#!/usr/bin/env python | |
'''\ | |
Welcome to the Salt repl which exposes the execution environment of a minion in | |
a pre-configured Python shell | |
__opts__, __salt__, __grains__, and __pillar__ are available. | |
Jinja can be tested with full access to the above structures in the usual way: | |
JINJA("""\\ |
#include <string.h> | |
#include <ctype.h> | |
#include <SoftwareSerial.h> | |
// the Bluetooth Shield connects to Pin D9 & D10 | |
SoftwareSerial bt(9,10); | |
const uint8_t req[5] = {0x00, 0x01, 0x00, 0x11, 0x00}; | |
const uint8_t cap[17] = {0x00, 0x0d, 0x00, 0x11, 0x01, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32}; | |
const uint8_t ping[9] = {0x00, 0x05, 0x07, 0xd1, 0x00, 0xde, 0xad, 0xbe, 0xef}; |
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
diff a/configure.ac b/configure.ac | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -478,8 +478,18 @@ if test "$fips" = "auto"; then | |
]) | |
fi | |
+# Check for systemd support for socket activation. | |
+AC_CHECK_LIB(systemd-daemon, sd_notify, SYSTEMD_LIBS="-lsystemd-daemon") | |
+AC_CHECK_HEADERS(systemd/sd-daemon.h) |
import Foundation | |
import UIKit | |
import Webkit | |
class BasicChildBrowser:UIViewController, WKNavigationDelegate { | |
let web = WKWebView() | |
let toolbar = UIToolbar() | |
let progressSpinner = UIActivityIndicatorView(activityIndicatorStyle: .White) | |
let progressBar = UIProgressView(progressViewStyle: .Bar) |