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
[ | |
{ | |
"id": "e8651431.f956e8", | |
"type": "tab", | |
"label": "Flow 1", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "a645b11c.917fd", |
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
**Only really tested on Ubuntu 16.04** | |
Requirements: | |
* Two Linux systems (one to send traffic, one to receive) | |
* Network connectivity over UDP 4789 | |
Sender Setup | |
* Install daemonlogger (sudo apt install daemonlogger) | |
* Save systemd service config as /etc/systemd/system/[email protected] (replace X.X.X.X with IP of receiver) | |
* Reload systemd (sudo systemctl daemon-reload) |
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
eee |
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
#Dude timeformat string important | |
as.POSIXct(acas[1,]$DATETIME_END, format="%Y-%m-%dT%H:%M:%S") | |
as.numeric(as.POSIXct(acas[1,]$DATETIME_END, format="%Y-%m-%dT%H:%M:%S")) | |
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 WorldMap = (function () { | |
var map; | |
focusRegion = 0; | |
function rotateFocus() { | |
focusRegion++; | |
if(focusRegion>=areas.length) focusRegion=1; |
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
public boolean firstLast6(int[] nums) { | |
if((nums[0]==6)||(nums[nums.length-1]==6) ) | |
return true; | |
else | |
return 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
How to parse this with regex: | |
{"unit":"101","location_z":1.012054,"location_x":0.956146,"name":"Placer(Clodde)","location_y":-0.3787908,"html":"(unset)","label":"0","type":"1","affordance_id":"453450c6-6219-4dbd-bcb7-061f3472b619"} | |
test here: http://regexstorm.net/tester | |
GETS PAIRS | |
(\".+?\":.+?[,}]) | |
GET SINGLES |
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
Boot the Analyst Ubuntu VM | |
Open Advanced REST client in chrome | |
Send these examples | |
-------------- | |
GET | |
http://192.168.125.129:7474/db/data/ | |
-------------------- | |
GET |
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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
//Other ideas | |
//http://stackoverflow.com/questions/23777076/get-variable-from-www-call-in-unity |
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> | |
<meta name="description" content="basic paygrade"> | |
<script src="https://code.jquery.com/jquery-1.6.4.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script> | |
var myArr = $.parseJSON('["E1","E2","E3","E4","E5","E6","E7","E8","E9","E10","O1","O2","O3","O4","O5","O6","O7","O8","O9","O10","O1E","O2E","O3E","W1","W2","W3","W4","W5"]'); | |
console.log(myArr[0]) |