- Machine Learning cheatsheet: https://stanford.edu/~shervine/teaching/cs-229.html
- Pattern Recognition and Machine Learning Book
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
/// <summary> | |
/// Removes the Pkcs7 padding of an array. | |
/// </summary> | |
/// <param name="paddedByteArray">The padded array.</param> | |
/// <returns>The unpadded array.</returns> | |
/// <exception cref="OverflowException"></exception> | |
/// <exception cref="ArgumentOutOfRangeException"></exception> | |
/// <exception cref="ArgumentException"></exception> | |
/// <exception cref="ArgumentNullException"></exception> | |
public static byte[] RemovePkcs7Padding(byte[] paddedByteArray) |
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.Collections.Generic; | |
using System.IO; | |
using System.Xml; | |
using System.Xml.Linq; | |
using Microsoft.Exchange.WebServices.Data; | |
using System.Linq; | |
using System.Net; | |
using System.Security; | |
using System.Text; |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Android.App; | |
using Android.Content; | |
using Android.OS; | |
using Android.Runtime; | |
using Android.Util; | |
using Android.Views; |
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.Collections; | |
using System.Text; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
public class DownloadHelper : MonoBehaviour | |
{ | |
private string userName = string.Empty; | |
private string password = string.Empty; |
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 GooglePlayPurchaseService : PurchaseService | |
{ | |
private BillingConnection _connection; | |
private sealed class Product | |
{ | |
public string Title { get; set; } | |
public string Price { get; set; } | |
public string Type { get; set; } | |
public string Description { get; set; } |
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 BillingConstants | |
{ | |
public const int ApiVersion = 3; | |
// Billing response codes | |
public const int ResultOk = 0; | |
public const int ResultUserCancelled = 1; | |
public const int ResultBillingUnavailable = 3; | |
public const int ResultItemUnavailable = 4; | |
public const int ResultDeveloperError = 5; |
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
// CSVを取得するサンプルコード | |
var url = "https://script.google.com/macros/s/******************/exec"; | |
// 結果のCSV格納変数 | |
var csv = ""; | |
using (var request = UnityWebRequest.Get(url)) | |
{ | |
Debug.Log($"SEND!!! : {url}"); | |
yield return request.SendWebRequest(); | |
// 通信エラーチェック |
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.ComponentModel; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.Workflow.ComponentModel; | |
using System.Workflow.ComponentModel.Design; | |
namespace MyCompany.Workflow.Messaging.Activities | |
{ |
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
// WARNING : THIS CODE IS AS IS. NOTHING IS GUARANTEED. | |
// PLEASE NOTE THAT THIS IS ONLY A TEMPLATE, YOU NEED TO WORK ON IT TO MAKE IT SUITABLE FOR YOUR NEEDS | |
// AT LEAST YOU NEED TO REPLACE THE VALUE FOR HASH SECRET VARIABLES BY VALUES YOU RECEIVED FROM YOUR BANK | |
// For more information go to : http://samondotnet.blogspot.com/ | |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Text; |
NewerOlder