This file contains hidden or 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
| Option Explicit | |
| ' This creates a file %TEMP%\Categories.xml that lists all categories in Outlook | |
| Sub ListAllOutlookCategories() | |
| Dim theStores As stores | |
| Dim xmlStr As String | |
| xmlStr = xmlStr + "<CategoriesList>" & vbCrLf | |
| Set theStores = Session.stores | |
This file contains hidden or 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
| //method: | |
| /// <summary> | |
| /// Returns the value, or null if it is DBNull | |
| /// </summary> | |
| /// <typeparam name="T"></typeparam> | |
| /// <param name="o"></param> | |
| /// <returns></returns> | |
| /// <remarks>Author: Erez Wanderman</remarks> | |
| private static T GetDbValue<T>(object o) |
This file contains hidden or 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
| // Add from Nuget: Microsoft.TeamFoundationServer.ExtendedClient | |
| using Microsoft.TeamFoundation.Client; | |
| using Microsoft.TeamFoundation.Framework.Client; | |
| using Microsoft.TeamFoundation.Framework.Common; | |
| using Microsoft.TeamFoundation.VersionControl.Client; | |
| using Microsoft.TeamFoundation.VersionControl.Common; | |
| using System; | |
| using System.Text; | |
| using IdentityNotFoundException = Microsoft.TeamFoundation.VersionControl.Client.IdentityNotFoundException; |
This file contains hidden or 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
| // Bitcoin <-> Bitcoin Gold address translator | |
| // 1) Paste this to https://npm.runkit.com/ | |
| // 2) Change the address | |
| // 3) Run! | |
| var base58check = require("base58check") | |
| // *************************************** | |
| // CHANGE THIS | |
| // *************************************** | |
| var add = '1DWxkUks8xMdTdyYGQBKHyB7AYSsEcsP3d'; |
This file contains hidden or 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
| <?php | |
| require_once(__DIR__ . "/global.php"); | |
| function bit2c_query($key, $secret, $path, array $req = array()) { | |
| static $curl_tmpl = null; | |
| if ($curl_tmpl === null) { | |
| $curl_tmpl = curl_init(); | |
| curl_setopt($curl_tmpl, CURLOPT_RETURNTRANSFER, true); | |
| curl_setopt($curl_tmpl, CURLOPT_USERAGENT, 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0'); | |
| //curl_setopt($ch, CURLOPT_URL, $path); |
This file contains hidden or 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
| List<string> lstAddresses = new List<string>() { | |
| "1Jz6HEKNJpYjXAYRLn49QUUUrizL5qGxjM", | |
| "1JoktQJhCzuCQkt3GnQ8Xddcq4mUgNyXEa", | |
| "18vo26nEeDt1Tw17CuWap3F5rKJjBXSMmL", | |
| }; | |
| string URL = "https://insight.bitpay.com/api/addrs/utxo"; | |
| var request = WebRequest.Create(new Uri(URL)) as HttpWebRequest; | |
| if (request == null) | |
| throw new Exception("Non HTTP WebRequest"); |
This file contains hidden or 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
| <?php | |
| /* This file is hereby released to public domain */ | |
| require_once(__DIR__ . '/../lib/jsonRPCClient_bitcoin.php'); | |
| global $CONFIG; | |
| $CONFIG = array( | |
| 'bitcoind_user' => 'change_this', | |
| 'bitcoind_pass' => 'change_this', | |
| 'bitcoind_port' => 'change_this', | |
| 'bitcoind_fee' => 0.0002, // Shoudl be enough for anybody |