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
import time | |
import math | |
import gremlin | |
from gremlin.user_plugin import * | |
def timestamp(): | |
return math.floor(time.time() * 1000) | |
mode = ModeVariable( | |
"Mode", |
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 coffeeMachine = new CoffeeMachine(); | |
var beans = new Beans(); | |
var cup = new Cup(); | |
var tap = new Tap(); | |
if(cup.Empty()) { | |
var ground = coffeeMachine.Grind(beans); | |
if(!ground) | |
throw new Exception("Grinding beans did not result in successful ground"); | |
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
[ 611907] Failed to run a tick for Client: System.TypeInitializationException: The type initializer for 'Newtonsoft.Json.Serialization.DefaultSerializationBinder' threw an exception. ---> System.MethodAccessException: Error verifying Newtonsoft.Json.Serialization.DefaultSerializationBinder:.ctor (): Method System.Runtime.Serialization.SerializationBinder:.ctor () is not accessible at 0x0001 | |
[ 611907] at Newtonsoft.Json.Serialization.DefaultSerializationBinder..cctor () [0x00000] in <dc86da7fc46c487ba6c7ab826da479cc>:0 | |
[ 611922] --- End of inner exception stack trace --- | |
[ 611922] at Newtonsoft.Json.JsonSerializer.Create () [0x00000] in <dc86da7fc46c487ba6c7ab826da479cc>:0 | |
[ 611922] at Newtonsoft.Json.JsonSerializer.Create (Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <dc86da7fc46c487ba6c7ab826da479cc>:0 | |
[ 611922] at Newtonsoft.Json.JsonSerializer.CreateDefault () [0x00011] in <dc86da7fc46c487ba6c7ab826da479cc>:0 | |
[ 611938] at Newtonsoft.Json.JsonSerializer.Cre |
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; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[RequireComponent(typeof(CameraRaycaster))] | |
public class CursorAffordance : MonoBehaviour { | |
[SerializeField] | |
Texture2D unknownCursor = null; |
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
#!/usr/bin/env node | |
/** | |
* blessed-ssh2.js | |
* https://github.com/chjj/blessed | |
* Copyright (c) 2013-2015, Christopher Jeffrey (MIT License) | |
* A blessed ssh2 server. | |
* See: https://github.com/mscdex/ssh2 | |
*/ |
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 | |
# Remove old repositories due to conflicts | |
rm -rf /etc/yum.repos.d/ocaml.repo | |
rm -rf /etc/yum.repos.d/hop5.repo | |
rm -rf /etc/yum.repos.d/epel.repo | |
rm -rf /etc/yum.repos.d/epel-testing.repo | |
yum install -y postgresql94-devel zeromq-devel libpqxx-devel |
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
2015-11-19 17:11:40 ERROR POSTPROCESSER :: Exception generated in thread POSTPROCESSER: ascii : /mnt/media/Series/South Park/Season 19/South Park - S19E04 - You’re Not Yelping.mkv : error 64 : error 65 : ordinal not in range(128) | |
2015-11-19 17:11:40 DEBUG POSTPROCESSER :: Trying to determine free space on destination drive | |
2015-11-19 17:11:40 INFO POSTPROCESSER :: This download is marked a priority download so I'm going to replace an existing file if I find one | |
2015-11-19 17:11:40 DEBUG POSTPROCESSER :: File /mnt/media/Series/South Park/Season 19/South Park - S19E08 - Sponsored Content.mkv is larger than /mnt/media/downloads/completed/south.park.s19e08.internal.proper.720p.hdtv.hevc.x265.rmteam.mkv | |
2015-11-19 17:11:40 DEBUG POSTPROCESSER :: Is ep a priority download: True | |
2015-11-19 17:11:40 DEBUG POSTPROCESSER :: SR snatched this episode and it is not processed before | |
2015-11-19 17:11:40 DEBUG POSTPROCESSER :: Quality of the episode we're processing: 4 | |
2015-11-19 17:11:40 DEBUG POSTP |