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
Jul 16 21:28:18 ip-172-17-92-86.ec2.internal mesos-slave[25713]: F0716 21:28:18.562685 25721 slave.cpp:2701] CHECK_READY(future): is FAILED: Failed to open '/var/lib/mesos/slave/meta/slaves/20150709-204237-979308972-5050-1530-S8/frameworks/20150708-220956-1314001324-5050-1837-0000/executors/backuptest.48a58025-2bec-11e5-8f62-56847afe9799/runs/352b8f0d-6628-4f34-bc31-57994fac4b00/tasks/backuptest.48a58025-2bec-11e5-8f62-56847afe9799/task.updates' for status updates Failed to handle status update TASK_FAILED (UUID: 1fcbefde-4dcb-48fd-88ac-a9a5b9a7f987) for task backuptest.48a58025-2bec-11e5-8f62-56847afe9799 of framework 20150708-220956-1314001324-5050-1837-0000 | |
Jul 16 21:28:18 ip-172-17-92-86.ec2.internal mesos-slave[25713]: *** Check failure stack trace: *** | |
Jul 16 21:28:18 ip-172-17-92-86.ec2.internal mesos-slave[25713]: @ 0x7fce470e39fd google::LogMessage::Fail() | |
Jul 16 21:28:18 ip-172-17-92-86.ec2.internal mesos-slave[25713]: @ 0x7fce470e589d google::LogMessage::SendToLog() | |
Jul 16 21:28:18 ip-172 |
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
#!/bin/bash | |
function detectBin { | |
which $1 > /dev/null | |
RET=$? | |
if [ $RET = "1" ]; then | |
echo "You need to install $1" | |
exit -1 | |
fi | |
} |
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
#!/bin/bash | |
function detectBin { | |
which $1 > /dev/null | |
RET=$? | |
if [ $RET = "1" ]; then | |
echo "You need to install $1" | |
exit -1 | |
fi | |
} |
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
var slackbot = require ('node-slackbot'), | |
/// winston = require ('winston'), | |
request = require ('request'), | |
sleep = require ('sleep').sleep, | |
Future = require ('data.future'), | |
Tuple2 = require ('fantasy-tuples').Tuple2, | |
M = require ('control.monads'), | |
State = require ('fantasy-states'), | |
Reader = require ('fantasy-readers'), | |
R = require ('ramda'), |
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
<div id="tab_location" class="tab-pane"> | |
<style> | |
.angular-google-map-container { height: 600px !important; } | |
</style> | |
<unit-map ng-if="showMap" unit="{{unitNumber}}" ></unit-map> | |
</div> |
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
(function () { | |
/* | |
TODO | |
sine / morph in y positions ? | |
horizontal movement euler + quarternion rotation around in between axis ? | |
*/ | |
var RATE_OF_CHANGE = 0.599; | |
var isMouseDown = false; |
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
#!/bin/sh | |
node /Users/trevor/flogistix/disc/index.js $@ |
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 requests | |
access_key = 'ce049883-1ed4-473c-970e-7d1e77cd7636' | |
url = 'https://erikberg.com/nba/leaders/points_per_game.json?limit=10&access_token=' + access_key | |
r = requests.get (url) | |
player_list = r.json() | |
for p in [player for player in player_list if int(player["value"]) > 25]: |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>TITTYSPRINKLES</title> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous"> | |
</head> | |
<body> | |
<div class="container"> | |
<nav class="navbar navbar-default"> |
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
#!/bin/bash | |
SESSION="slaveSSH" | |
defaultwindow=1 | |
defaultpane=1 | |
regex=${1:-'10.0'} | |
shift | |
tmux kill-session -t $SESSION 2> /dev/null | |
tmux has-session -t $SESSION 2> /dev/null |