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
| #!/usr/bin/env bash | |
| # Example crontab to run every hour on the hour: | |
| # 0 * * * * /usr/bin/speedtest_cron.sh | |
| out_csv=$HOME/speedtest_results.csv | |
| # If $out_csv doesn't exist or is empty, write the csv headers to it. | |
| [ -s $out_csv ] || speedtest-cli --csv-header > $out_csv |
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
| // ==UserScript== | |
| // @name Blur input | |
| // @namespace http://answers.ros.org/ | |
| // @version 0.1 | |
| // @description Make the search bar not focus on load | |
| // @author Dan Lazewatsky | |
| // @match http://answers.ros.org/question* | |
| // @grant none | |
| // ==/UserScript== | |
| /* jshint -W097 */ |
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
| // ==UserScript== | |
| // @name OGFilter | |
| // @namespace http://dan.lazewatsky.com/ | |
| // @version 0.2 | |
| // @description Add filter field for OurGroceries | |
| // @author Dan Lazewatsky | |
| // @match https://www.ourgroceries.com/* | |
| // @grant none | |
| // ==/UserScript== |
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
| #!/usr/bin/env python | |
| from os import walk | |
| from os.path import join, split | |
| import sys | |
| import xml.etree.ElementTree as ET | |
| import requests | |
| def test_url(url): | |
| return requests.request('GET', url).status_code < 400 |
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 sm { | |
| install_space=${1:-devel} | |
| dir=$(pwd) | |
| # while [ ! \( -e src -a -L src/CMakeLists.txt \) -a "$(pwd)" != "/" ] ; do | |
| while [ ! \( -e src -a -e src/CMakeLists.txt \) -a "$(pwd)" != "/" ] ; do | |
| cd .. | |
| done | |
| if [ "$(pwd)" = "/" ]; then | |
| echo "Not in catkin workspace" 1>&2 |
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
| - git: | |
| local-name: actionlib | |
| uri: https://github.com/ros-gbp/actionlib-release.git | |
| version: release/hydro/actionlib/1.10.3-0 | |
| - git: | |
| local-name: angles | |
| uri: https://github.com/ros-gbp/geometry_angles_utils-release.git | |
| version: release/hydro/angles/1.9.9-0 | |
| - git: | |
| local-name: camera_info_manager_py |
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
| #!/usr/bin/env python | |
| import rospy | |
| import tf | |
| from tf.transformations import euler_from_quaternion | |
| from geometry_msgs.msg import PoseStamped | |
| from std_msgs.msg import Empty | |
| from pymouse import PyMouse | |
| import numpy as np | |
| initialized = 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
| #!/usr/bin/env python | |
| import rospy | |
| import tf | |
| from tf.transformations import euler_from_quaternion | |
| from geometry_msgs.msg import PoseStamped | |
| from std_msgs.msg import Empty | |
| from pymouse import PyMouse | |
| import numpy as np | |
| initialized = 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
| #!/usr/bin/env python | |
| from sensor_msgs.msg import PointCloud2, PointField | |
| import numpy as np | |
| import struct | |
| fmt_full = '' | |
| _DATATYPES = {} | |
| _DATATYPES[PointField.INT8] = ('b', 1) | |
| _DATATYPES[PointField.UINT8] = ('B', 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
| import java.io.*; | |
| import java.net.*; | |
| import java.nio.*; | |
| class TestUDP { | |
| public static void main(String[] args) { | |
| DatagramSocket client; | |
| String serverName = "192.168.0.165"; | |
| int port = 9999; |
NewerOlder