rclone config
Config file is stored at ~/.rclone.conf
convert photo.png photo.jpg | |
exiftool -ProjectionType="equirectangular" photo.jpg | |
# Google Photos | |
exiftool -ProjectionType="equirectangular" -UsePanoramaViewer="True" -"PoseHeadingDegrees<$exif:GPSImgDirection" -"CroppedAreaImageWidthPixels<$ImageWidth" -"CroppedAreaImageHeightPixels<$ImageHeight" -"FullPanoWidthPixels<$ImageWidth" -"FullPanoHeightPixels<$ImageHeight" -CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0" photo.jpg |
# Read arguments from bash command line, example: Rscript data.txt plot.pdf | |
args <- commandArgs(trailingOnly = TRUE) | |
# Read data (space separated), if no header: header = FALSE | |
data <- read.csv(args[1], sep="") | |
# Set pdf output filename | |
pdf(file=args[2]) | |
# Plot line plot | |
plot(data$time, data$raw, type='l') | |
# Draw another line on the same plot |
using System.IO; | |
string path = "Assets/file.txt"; | |
// Write to file | |
File.AppendAllText(path, System.String.Format("{0} {1} {3}\n", var1, var2, var3)); | |
// Read from file | |
StreamReader sr = new StreamReader(path); | |
for (int i = 0; !sr.EndOfStream; i++) { |
Shader "Unlit/UnlitTransparentTexture" | |
{ | |
Properties { | |
_Color ("Main Color (A=Opacity)", Color) = (1,1,1,1) | |
_MainTex ("Base (A=Opacity)", 2D) = "" | |
} | |
Category { | |
Tags {"Queue"="Transparent" "IgnoreProjector"="True"} | |
Cull front // ADDED BY BERNIE, TO FLIP THE SURFACES |
https://github.com/makerbot/s3g
pip install pyserial makerbot_driver
#!/bin/bash | |
chromium-browser --user-data-dir='/tmp' --allow-file-access-from-files $1 & |