This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethernetX.present = "TRUE" | |
ethernetX.connectionType = "nat" | |
ethernetX.addressType = "generated" | |
ethernetX.startConnected = "TRUE" | |
ethernetX.generatedAddressOffset = "0" | |
ethernetX.virtualDev = "e1000" | |
ethernetX.wakeOnPcktRcv = "FALSE" | |
ethernetX.linkStatePropagation.enable = "FALSE" | |
ethernetX.vnet = "vmnetX" | |
ethernetX.bsdName = "en0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet8. | |
# | |
# This file was automatically generated by the VMware configuration program. | |
# See Instructions below if you want to modify it. | |
# | |
# We set domain-name-servers to make some DHCP clients happy | |
# (dhclient as configured in SuSE, TurboLinux, etc.). | |
# We also supply a domain name to make pump (Red Hat 6.x) happy. | |
# | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// easter-egg | |
(function() { | |
var $random = $('#campudus-random'); | |
var $randomClick = $('#campudus-random-click'); | |
var a = [ 'attraktiven', 'beliebten', 'bescheidenen', 'coolen', 'epischen', 'erfahrenen', 'fröhlichen', 'guten', 'gnädigen', 'humorvollen', 'kaputten', 'klaustrophobischen', 'liebevollen', 'multidimensionalen', 'prämierten', 'tollen', 'verdorbenen', 'verschrobenen', 'zauberhaften' ]; | |
var b = [ 'Designer', 'Freunde', 'Gorillas', 'Helden', 'Jungs', 'Kids', 'Kellerkinder', 'Knacker', 'Kollegen', 'Krieger', 'Männer', 'Nerds', 'Ninjas', 'Opas', 'Roboter', 'Tiere', 'Programmierer', 'Zauberer', 'Zebras' ]; | |
$randomClick.click(function(e) { | |
$random.text(a[Math.floor(Math.random()*a.length)] + ' ' + b[Math.floor(Math.random()*b.length)]); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#QUERY <http://localhost:9090/test-rdf-fuseki/query> | |
#UPDATE <http://localhost:9090/test-rdf-fuseki/update> | |
PREFIX : <urn:example#> | |
INSERT DATA { | |
:instDefault :theLabel 'Hello from DEFAULT graph' | |
GRAPH :graph1 { :instDefault1 :theLabel 'Hello from graph1'. :instDefault1b :theLabel 'Hello from graph1'. } | |
GRAPH :graph2 { :instDefault2 :theLabel 'Hello from graph2'. :instDefault2b :theLabel 'Hello from graph1'.} | |
GRAPH :graph3 { :instDefault3 :theLabel 'Hello from graph3'. :instDefault3b :theLabel 'Hello from graph1'.} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WAY 1 - Instantiating an anonymous function | |
var MySingleton = new (new MyClass(args)); | |
// WAY 2 - Using an instance manager | |
var getMySingleton = (function(options) { | |
function MyClass(args) {} | |
var singleton; | |
return function(args) { | |
return singleton ? singleton : singleton = new MyClass(args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WAY 1 - Instantiating an anonymous function | |
var MySingleton = new (new MyClass(args)); | |
// WAY 2 - Using an instance manager | |
var getMySingleton = (function(options) { | |
function MyClass(args) {} | |
var singleton; | |
return function(args) { | |
return singleton ? singleton : singleton = new MyClass(args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- PF.WrapSelectionWithFolder.applescript | |
-- | |
-- Created by Peter Geil on 05.12.09. | |
-- Copyright 2009 Peter Geil. All rights reserved. | |
registerWithGrowl() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var NamespaceManager = new function() { | |
// Used to store dependencies; Two Arrays because there are | |
// probably multiple dependencies on the same classes | |
var memberIds = [], | |
callbacks = []; | |
// Used to store ALL loaded classes | |
var loaded = []; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var repeat = 500; | |
// Using Crockford's Module Pattern | |
console.profile("Crockford's Module Pattern"); | |
var arrObjLit = [], | |
iObjLit = repeat; | |
while (iObjLit--) { | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This fabric file makes setting up and deploying a django application much | |
easier, but it does make a few assumptions. Namely that you're using Git, | |
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have | |
Django installed on your local machine and SSH installed on both the local | |
machine and any servers you want to deploy to. | |
_note that I've used the name project_name throughout this example. Replace | |
this with whatever your project is called._ |
OlderNewer