Wyświetl online:
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
using UnityEngine; | |
// Skrypt do wykładu "Move ya body" w KNTG Polygon 18.10.2017 | |
[RequireComponent(typeof(LineRenderer))] | |
public class InputChart : MonoBehaviour { | |
// Dla domyślnej kamery w projekcie 2D wystarczy wrzucić ten GameObject na pozycję (-8, 0, 0) | |
public int pointsCount = 80; | |
public float scaleY = 4f; |
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
# A script to improve color channels in diving videos | |
# By Marek Lukasiewicz 2018 | |
# http://lukasiewicz.tech | |
# Requires python openCV with ffmpeg installed to open all video types | |
# Requires ffmpeg installed command ffmpeg used to copy sound from original video | |
from os import system, remove | |
from sys import argv | |
import numpy as np |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# By Marek Łukasiewicz 2019 | |
filenames = ['GarminGoracy.txt', 'GarminZimny.txt', 'NovatelEgnos.txt', 'NovatelGoracy.txt', 'NovatelZimny.txt'] | |
for filename in filenames: | |
infile = open(filename, 'r') | |
out_gga = open('gga_' + filename, 'w') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python3 | |
import argparse | |
from glob import glob | |
from os.path import expanduser | |
import re | |
parser = argparse.ArgumentParser() | |
parser.add_argument('pattern', metavar='PATTERN', | |
help='part of filename to match') | |
parser.add_argument('--dir', default='~/.dendron/vault', help='vault location') |
Ensure you have these:
- Visual Studio Code
- Dendron
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
$files = Get-ChildItem .\Figure*.pdf | |
foreach ($file in $files) { | |
$outfile = "{0}.eps" -f ($file -Split "\.")[0] | |
C:\"Program Files"\Inkscape\bin\inkscape.com $file --export-type=eps -o $outfile | |
} |
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
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import socket | |
import time | |
hostName = "0.0.0.0" # Accept any address | |
# serve on port 8080 (try in this pc like http://localhost:8080) | |
serverPort = 8080 | |
arduinoSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
arduinoAddress = '192.168.222.33' |
OlderNewer