Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
| :: ================================================================ | |
| :: BATCH SCRIPT FOR AUTOMATED PHOTOGRAMMETRY TRACKING WORKFLOW | |
| :: By polyfjord - https://youtube.com/polyfjord | |
| :: ================================================================ | |
| :: USAGE | |
| :: • Double-click this .bat or run it from a command prompt. | |
| :: • Frames are extracted, features matched, and a sparse | |
| :: reconstruction is produced automatically. | |
| :: • Videos that have already been processed are skipped on | |
| :: subsequent runs. |
| # first: mkdir user && cd user && cp /path/to/get_gists.py . | |
| # python3 get_gists.py user | |
| import requests | |
| import sys | |
| from subprocess import call | |
| user = sys.argv[1] | |
| r = requests.get('https://api.github.com/users/{0}/gists'.format(user)) |
| from PIL import Image, ImageDraw, ImageFont | |
| import urllib.request, json, os, sys | |
| width = 296 | |
| height = 128 | |
| color = "#ffffff" | |
| logo = "https://raw.githubusercontent.com/xHain-hackspace/xHainCI/master/logo/xHain_logo-rev3.png" | |
| tmp_file = "tmp.png" | |
| fnt1 = ImageFont.truetype("Arial.ttf", 40) | |
| fnt2 = ImageFont.truetype("Arial.ttf", 18) |
| #!/bin/sh | |
| # Usage: ./crack-keepass.sh passwords.kdbx dict.txt | |
| # | |
| # The dictionary file can be generated with: | |
| # https://github.com/TimurKiyivinski/permutatify | |
| while read i | |
| do | |
| echo "Using password: \"$i\"" |
I've been using [Backblaze][bbz] for a while now as my online backup service. I have used a few others in the past. None were particularly satisfactory until Backblaze came along.
It was - still is - keenly priced at a flat $5 (£4) per month for unlimited backup (I've currently got just under half a terabyte backed-up). It has a fast, reliable client. The company itself is [transparent about their operations][trans] and [generous with their knowledge sharing][blog]. To me, this says they understand their customers well. I've never had reliability problems and everything about the outfit exudes a sense of simple, quick, solid quality. The service has even saved the day on a couple of occasions where I've lost files.
Safe to say, I'm a happy customer. If you're not already using Backblaze, [I highly recommend you do][recommend].
| import sys, os | |
| import shutil | |
| import math | |
| import itertools | |
| from copy import deepcopy | |
| # 0 1 2 3 4 5 6 | |
| LIST_elmt = [" ("," (start ",") (end ",") "," (layer ",") ","))"] | |
| #LIST_elmt = [" (gr_line (start 131.571908 182.314571) (end 112.874456 120.68499) (angle 90) (layer Dwgs.User) (width 0.1))"] | |
| #LIST_elmt = [" (segment (start 118.7 106.7) (end 119.4 106.7) (width 0.25) (layer B.Cu) (net 0))"] |
| <html> | |
| <head> | |
| <title> | |
| 404 - page not found | |
| </title> | |
| <style> | |
| body { | |
| background-color: #242424; | |
| font-family: 'Roboto', sans-serif; | |
| color: #00468c; } |
| --- | |
| esphome: | |
| name: doorbell | |
| platform: ESP8266 | |
| board: esp01_1m | |
| # WiFi connection, correct these | |
| # with values for your WiFi. | |
| wifi: | |
| ssid: !secret wifi_ssid |
| import java.io.BufferedReader; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileReader; | |
| import com.google.gson.Gson; | |
| public class GsonTest { | |
| public static void main(String[] args) throws FileNotFoundException { |