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 os | |
import argparse | |
import json | |
from datetime import datetime | |
from jose import jwt | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--send', '-s',dest='message',nargs=1, help="give a message to write to the file") | |
parser.add_argument('--listen', '-l',action="store_true", help="listens to changes to the file") | |
parser.add_argument('--file', '-f',dest='file',nargs=1,default="filechat",help="destination for the send and listen file, defaults to ./filechat") |
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
sudo apt-get install build-essential git cmake pkg-config ant libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libgtk-3-dev libatlas-base-dev gfortran python2.7-dev python3-dev | |
DIR=$HOME/vision | |
mkdir -p $DIR && echo "\n Created Working Directory" | |
cd $DIR | |
echo "Downloading OpenCV" | |
wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip | |
echo "Unzipping OpenCV" | |
unzip opencv.zip | |
echo "Downloading OpenCV_Contrib" |
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
Uncaught TypeError: this.aliveTimer.unref is not a function | |
at Client.write (/home/tyler/Programming/FRCDashboard/node_modules/wpilib-nt-client/index.js:452) | |
at aliveTimer.setTimeout (/home/tyler/Programming/FRCDashboard/node_modules/wpilib-nt-client/index.js:451) |
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
ntClient.start((con, err) => { | |
console.log({con, err}); | |
if (!con) | |
throw err; | |
} | |
); |
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 random | |
#pip install pynetworktables | |
from networktables import NetworkTables | |
# To see messages from networktables, you must setup logging | |
import logging | |
logging.basicConfig(level=logging.DEBUG) |
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
package com.primetoxinz.wgd; | |
import net.minecraft.world.World; | |
import net.minecraft.world.chunk.ChunkPrimer; | |
import net.minecraft.world.gen.MapGenBase; | |
import net.minecraft.world.gen.structure.*; | |
import net.minecraftforge.common.MinecraftForge; | |
import net.minecraftforge.common.config.Config; | |
import net.minecraftforge.common.config.ConfigManager; | |
import net.minecraftforge.event.terraingen.InitMapGenEvent; |
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
2017-07-28 20:19:24,473 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ | |
2017-07-28 20:19:24,479 [ 6] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0 | |
2017-07-28 20:19:24,479 [ 6] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0833334 (IDE-managed HiDPI) | |
2017-07-28 20:19:24,486 [ 13] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-172.3317.76, 15 Jul 2017 07:24) | |
2017-07-28 20:19:24,487 [ 14] INFO - #com.intellij.idea.Main - OS: Linux (4.12.3-1-arch, amd64) | |
2017-07-28 20:19:24,487 [ 14] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-915-b5 (JetBrains s.r.o) | |
2017-07-28 20:19:24,487 [ 14] INFO - #com.intellij.idea.Main - JVM: 25.152-b5 (OpenJDK 64-Bit Server VM) | |
2017-07-28 20:19:24,488 [ 15] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a: |
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
# GIMP brightness-contrast tool settings | |
(time 0) | |
(brightness -1.000000) | |
(contrast 0.242718) | |
# end of brightness-contrast tool settings |
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 | |
case $BLOCK_BUTTON in | |
1) gsimplecal ;; | |
esac | |
date '+%A %Y-%m-%d %H:%M:%S' |
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
{ | |
"main": [{ | |
"type": "header", | |
"data": { | |
"background": "#345763", | |
"color": "#FF00FF", | |
"title": "TEST" | |
} | |
}, | |
{ |
OlderNewer