The script can be put anywhere, for this gist it will be under C:\Program Files\Night Switch
.
Simply create the Night Switch
directory, and place switch.ps1
inside it.
The script takes 2 arguments.
[Unit] | |
Description=OneDrive (rclone) | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/rclone mount \ | |
--vfs-cache-mode full \ | |
OneDrive: %h/OneDrive |
I hereby claim:
To claim this, I am signing this object:
import std.algorithm; | |
import std.array; | |
import std.conv; | |
import std.stdio; | |
int main(string[] args) | |
{ | |
int n; | |
byte[] number; | |
byte[] twice; |
// based on this example from Adobe : https://www.adobe.com/devnet/flashplayer/articles/hello-triangle.html | |
// OpenFL reference : http://docs.openfl.org/ | |
// some GLSL documentation can be found here : http://wiki.lwjgl.org/wiki/Main_Page | |
import sys.io.*; | |
import openfl.*; | |
import openfl.gl.*; | |
import openfl.display.*; | |
import openfl.display3D.*; | |
import openfl.events.*; |