rclone config
Config file is stored at ~/.rclone.conf
| CC = g++ | |
| CFLAGS = -c | |
| C11 = -std=c++11 | |
| DBGFLAGS = -g | |
| # include OpenGL/freeglut | |
| INC = -lGL -lGLU -lglut | |
| all:3dmm_hw1 | |
| @echo -n "" |
| zip -r project.zip Assets/ ProjectSettings/ |
| /* Firefox userChrome.css for Mac | |
| 1) Tabs on Bottom | |
| 2) Tab Close Button on Left | |
| */ | |
| /* Tabs on Bottom */ | |
| /* -------------------------------- */ | |
| #TabsToolbar { | |
| -moz-box-ordinal-group: 2; | |
| } |
| find . -name .DS_Store -type f -delete |
| from gi.repository import Gtk, Nautilus, GObject | |
| import urllib, urlparse | |
| class LocationProviderExample(GObject.GObject, Nautilus.LocationWidgetProvider): | |
| def __init__(self): | |
| pass | |
| def get_widget(self, uri, window): | |
| path = urllib.url2pathname(urlparse.urlparse(uri).path) | |
| with open(path+'/README', 'r') as f: |
| from gi.repository import Gtk, Nautilus, GObject | |
| class LocationProviderExample(GObject.GObject, Nautilus.LocationWidgetProvider): | |
| def __init__(self): | |
| pass | |
| def get_widget(self, uri, window): | |
| vb = Gtk.VBox() | |
| bar = Gtk.InfoBar() | |
| vb.pack_start(bar, False, False, 0) |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class gyroRotate : MonoBehaviour { | |
| void Start () { | |
| } | |
| void FixedUpdate () { | |
| Input.gyro.enabled = true; |
| 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 |