This file contains hidden or 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
import random | |
prob = random.random() | |
mymetro = random.randrange(0.00,11.00) | |
cash = str(mymetro) | |
print "you have a metrocard worth $" + cash + " dollars" |
This file contains hidden or 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
****************************************************************** | |
Registrar: 123Reg/Webfusion | |
URL: http://www.123-reg.co.uk/domain-names/ | |
This domain is provided by 123-reg. We're the UK's largest | |
registrar with over 3 million domains sold. We also provide | |
cheap, easy website creation. | |
****************************************************************** |
This file contains hidden or 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
/** | |
* Tests the Helper Class functions | |
* | |
* @author [email protected] | |
*/ | |
public class Tester { | |
private static final int TEST_ROLLS = 1000; | |
private static final int DIE_SIZE = 6; | |
public static void main(String[] args) { |
This file contains hidden or 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
foreach (array_keys($your_values) as $key) { | |
if ($your_values[$key] === "") { | |
unset($your_values[$key]); | |
} | |
} |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require "json" | |
url = "http://www.letsrevolutionizetesting.com/challenge.json?id=572744636" | |
loop do | |
json = `curl #{url}` | |
json = JSON.parse(json) | |
puts json.inspect | |
url = json["follow"].gsub("challenge", "challenge.json") |
This file contains hidden or 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
// Generated by CoffeeScript 1.6.2 | |
(function() { | |
var Range, applyToShareJS, requireImpl; | |
requireImpl = ace.require != null ? ace.require : require; | |
Range = requireImpl("ace/range").Range; | |
applyToShareJS = function(editorDoc, delta, doc) { | |
var getStartOffsetPosition, pos, text; |
This file contains hidden or 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 rake (10.1.0) | |
Using i18n (0.6.5) | |
Using multi_json (1.8.1) | |
Using activesupport (3.2.14) | |
Using claide (0.3.2) | |
Using json (1.8.0) | |
Using nap (0.5.1) | |
Using cocoapods-core (0.26.2) | |
Using cocoapods-downloader (0.2.0) | |
Using colored (1.2) |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am gfodor on github. | |
* I am gfodor (https://keybase.io/gfodor) on keybase. | |
* I have a public key whose fingerprint is 91E4 22AF 24F5 4CCD 8255 07B5 DF2B 6D86 689B 3D9A | |
To claim this, I am signing this object: |
This file contains hidden or 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
index e33b55a..02432a8 100755 | |
--- a/Assets/CoherentUI/Samples/Scenes/Sample03_MenuAndHUD/Game/ObjectPicker.cs | |
+++ b/Assets/CoherentUI/Samples/Scenes/Sample03_MenuAndHUD/Game/ObjectPicker.cs | |
@@ -18,6 +18,8 @@ public class ObjectPicker : MonoBehaviour { | |
// Update is called once per frame | |
void Update () { | |
+ Screen.lockCursor = true; | |
+ | |
if (m_UISystem.HasFocusedView) |
This file contains hidden or 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
diff --git a/Assets/CoherentUI/Samples/Scenes/Sample03_MenuAndHUD/Game/ObjectPicker.cs b/Assets/CoherentUI/Samples/Scenes/Sample03_MenuAndHUD/Game/ObjectPicker.cs | |
index e33b55a..8dda361 100755 | |
--- a/Assets/CoherentUI/Samples/Scenes/Sample03_MenuAndHUD/Game/ObjectPicker.cs | |
+++ b/Assets/CoherentUI/Samples/Scenes/Sample03_MenuAndHUD/Game/ObjectPicker.cs | |
@@ -1,6 +1,7 @@ | |
#if UNITY_STANDALONE || UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX | |
#define COHERENT_UNITY_STANDALONE | |
#endif | |
+using System; | |
using UnityEngine; |