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
using System; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Media.Imaging; | |
namespace FileThumbnailExtractor | |
{ |
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
#include <stdio.h> | |
#include <windows.h> | |
#include <ShellScalingAPI.h> | |
#pragma comment(lib,"gdi32.lib") | |
#pragma comment(lib,"user32.lib") | |
#pragma comment(lib,"shcore.lib") | |
int main() |
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
#include <stdio.h> | |
#import <CoreFoundation/CoreFoundation.h> | |
#import <Foundation/NSURLCredentialStorage.h> | |
#import <Foundation/NSURLCredential.h> | |
#import <Foundation/NSURLProtectionSpace.h> | |
#import <Foundation/NSString.h> | |
#import <Foundation/NSException.h> | |
class CredentialStore |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <Security/SecKeychain.h> | |
#include <Security/SecKeychainItem.h> | |
#include <Security/SecKeychainSearch.h> | |
#include <Security/SecItem.h> | |
void setCredential(); |
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
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
namespace cie | |
{ | |
public delegate void WriteLineDelegate(string format, params object[] args); |
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
using CoreFoundation; | |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace BackgroundDispatcher | |
{ | |
/// <summary> | |
/// Wrapper for Grand Central Dispatch. | |
/// </summary> |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<TargetFramework>netstandard1.6</TargetFramework> | |
<PackageTargetFallback>portable-net45+win8+wpa81+wp8</PackageTargetFallback> | |
<DebugType>full</DebugType> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Xamarin.Forms" Version="2.3.4.247" /> | |
</ItemGroup> | |
<ItemGroup> |
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
<CopyNuGetImplementations>true</CopyNuGetImplementations> | |
<RestoreProjectStyle>PackageReference</RestoreProjectStyle> |
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 code is based on the following article but updated for the latest system (June 2017): | |
// Automatic apk upload to Google Play (part 1) | |
// http://petr.logdown.com/posts/255755-automatic-apk-upload-1 | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
// Google.Apis.AndroidPublisher.v2 | |
using Google.Apis.AndroidPublisher.v2; | |
using Google.Apis.AndroidPublisher.v2.Data; |
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
int main() | |
{ | |
std::mt19937 r; | |
for (;;) | |
std::printf("%d\n", r()); | |
} |
OlderNewer