This guide assumes a fresh install of Mac OSX 10.7 Lion.
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
defaultproperties | |
{ | |
DBWeaponId=7454 | |
m_fMaxDamageRangePct=0.50 | |
m_fMinDamageRangePct=0.90 | |
m_fMinDamagePct=0.50 | |
m_fDamageMultiplierAgainstArmor=1.20 | |
m_bEnableMotors=true | |
m_bImpulsesFlags=true |
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
#!/bin/bash | |
#set -xv | |
###################################################################### | |
# | |
# Script Name : backup-github-appliance.sh | |
# | |
# Purpose : Exports core-data from github appliance | |
# Note : | |
# Called by : admin crontab | |
# Author : Geoffrey Huntley <ghuntley@ghuntley.com> |
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
#!/bin/bash | |
#### This script is published by Philipp Klaus <philipp.l.klaus@web.de> | |
#### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/> | |
#### It is originally by freese60 and modified by limemonkey. | |
#### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0> | |
### Uncomment this line to debug the script: | |
#set -x |
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
# url.txt should contain the URL load in Chrome in full screen. | |
do shell script "open '/Applications/Google Chrome.app' " & readFile("/url.txt") | |
tell application "Google Chrome" to activate | |
tell application "System Events" | |
keystroke "f" using {command down, shift down} | |
end tell | |
# All this just to read a file; no backticks in AppleScript. | |
on readFile(unixPath) |
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
using ServiceStack.WebHost.Endpoints; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Security; | |
using ServiceStack.Common.Web; | |
using ServiceStack.Logging; | |
using ServiceStack.ServiceHost; | |
using ServiceStack.ServiceInterface; |
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
using System; | |
namespace Epoch | |
{ | |
public class Epoch | |
{ | |
static readonly DateTime epochStart = new DateTime(1970, 1, 1, 0, 0, 0); | |
static readonly DateTimeOffset epochDateTimeOffset = new DateTimeOffset(1970, 1, 1, 0, 0, 0, TimeSpan.Zero); | |
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
# lasso search tool for google maps | |
# source code unpacked using: http://matthewfl.com/unPacker.html | |
# website: http://www.daftlogic.com/sandbox-google-maps-marker-lasso-search-tool.htm | |
# code: http://www.daftlogic.com/script/sandbox-google-maps-marker-lasso-search-tool.js | |
initialize = -> | |
latlng = new google.maps.LatLng(34.12016327332972, -118.0456525824976) | |
myOptions = | |
zoom: 16 | |
center: latlng |
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
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |