This Gist shows how to quickly sort the Instructables entries in a contest.
First you need to know the Contest ID. Follow the steps:
- Open the developper tools of your browser and navigate to the contest page
- in the network tab search for
getContestEntries.json
This is how you convert GPX files (or any other file) to fit for the Navilink software / Locosys BGT-31 GPS.
Install GPSBabel then run the following in your terminal:
gpsbabel -i gpx -f your-input-file-name.gpx -o ozi -F your-waypoint-file-name
Install ExifTool and run the following in a terminal:
exiftool -geotag="/path/to/your/GPS/track.kml" -geosync=7:00:00 /path/to/your/photos/folder
The geosync
parameter is used when your GPS track is not in the same timezone as your photos. In the above example the GPS track is in the UTC timezone while the photos are in UTC-7.
I was working on a custom firmware for ESP8266 using the famous Arduino library and I wanted to create a websocket server. I also wanted the EPS to serve the web page that acts as a websocket server (having the ESP in AP mode).
The awesome library ArduinoWebSockets is very easy to set up and make the ESP serve websockets connections on port 81. The thing is that when I was opening a browser at http://192.168.4.1:81 I had this message: "This is a Websocket server only!". Wow! This means that ESP is capable of returning a http message to the browser! This also means that the message could be tweaked to include the actual html page with the websocket JS client!
I looked at the library file WebSocketsServer.h and found that the method handleNonWebsocketConnection
was the one sending this message.
Follow the steps:
- Go to https://www.openstreetmap.org and log in
- On the right, open the layer menu and check the public GPS trace
- On the top-left corner click on "Export"
- Enter the coordinates
- Click on Export button
- Open the file with a text editor
- Go to http://www.gpsvisualizer.com/ and choose a file converter
- Click the link
Show additional file input boxes
- Open the developper tool's console
- Copy and paste the script below
Enjoy!
- Export your model to STL file (Install the Sketchup STL extension: https://extensions.sketchup.com/en/content/sketchup-stl)
- Import the STL file in a new TinkerCAD model: https://www.tinkercad.com
- Export the TinkerCAD model to 2D SVG graphic
- Open the SVG file in Inkscape
- Make sure you page is correctly set up and print to the desired scale
The End
from PyQt4.QtCore import QSettings | |
class Selection(QgsMapTool): | |
def __init__(self, canvas, layer): | |
QgsMapTool.__init__(self, canvas) | |
self.canvas = canvas | |
self.layer = layer | |
def getFeatureRequest(self): | |
sr = self.searchRadiusMU(self.canvas) |