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
* | |
!.gitignore |
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
@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 |
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
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"); |
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
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; | |
} | |
} |
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
# 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 |