git branch -m master main git fetch origin git branch -u origin/main main git remote set-head origin -a
Reference:
sudo fdisk -l
Installed
apt-get install xserver-xorg-video-dummy
Then
vim /etc/X11/xorg.conf
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 scrapy | |
import re | |
import json | |
class FacultySpider(scrapy.Spider): | |
name = "faculty" | |
def start_requests(self): | |
urls = [ | |
'https://compsci.uncg.edu/faculty/minjeong-kim/', |
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
raspivid -o - -t 0 -hf -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264 |
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
[ | |
{ | |
"id": "a35b9d70.ae8be", | |
"type": "tab", | |
"label": "GREEN-RED DEMO", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "ef262268.43b27", |
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
[ | |
{ | |
"id": "e8651431.f956e8", | |
"type": "tab", | |
"label": "Flow 1", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "a645b11c.917fd", |
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
**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/daemonlogger@.service (replace X.X.X.X with IP of receiver) | |
* Reload systemd (sudo systemctl daemon-reload) |
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
eee |
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
#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")) | |