View .gitignore
* | |
!.gitignore |
View SetPanoExif Droplet.bat
@echo off | |
title Set Exif Data | |
echo SET EXIF DATA FOR FACEBOOK PANORAMA droplet | |
IF "%~1" == "" GOTO ERROR | |
IF NOT EXIST "%~1" GOTO ERROR | |
FOR %%V in (%*) do "%~dp0\exiftool" -Make="RICOH" -Model="RICOH THETA S" "%%~V" | |
GOTO DONE |
View gdrive_init.cs
public void InitService() | |
{ | |
UserCredential credential; | |
using (var stream = | |
new FileStream("client_id.json", FileMode.Open, FileAccess.Read)) | |
{ | |
string credPath = Environment.GetFolderPath( | |
Environment.SpecialFolder.Personal); | |
credPath = Path.Combine(credPath, ".credentials/drive-dotnet-quickstart.json"); |
View AutomaticDecompressionWebClient.cs
public class AutomaticDecompressionWebClient : WebClient | |
{ | |
protected override WebRequest GetWebRequest(Uri address) | |
{ | |
var request = base.GetWebRequest(address) as HttpWebRequest; | |
if (request == null) throw new InvalidOperationException("You cannot use this WebClient implementation with an address that is not an http uri."); | |
request.AutomaticDecompression = DecompressionMethods.Deflate | DecompressionMethods.GZip; | |
return request; | |
} | |
} |
View cli.ini
# This is an example of the kind of things you can do in a configuration file. | |
# All flags used by the client can be configured here. Run Let's Encrypt with | |
# "--help" to learn more about the available options. | |
# Use a 4096 bit RSA key instead of 2048 | |
rsa-key-size = 4096 | |
# Cert-Authority to use | |
## TestingServer | |
# server = https://acme-staging.api.letsencrypt.org/directory |