sdfgsdfgsfdgsdgf
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
// Only supports string, float, int, and bool properties. | |
// Usage: | |
// var saveFileAccessor = new UnrealEngineSaveFileAccessor("path to .sav file"); | |
// var propName = "SomeFloatVariable"; | |
// var propValue = saveFileAccessor.GetProperty<float>(propName); |
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
https://www.youtube.com/watch?v=Z6ih1aKeETk Tycho - Dive (Album) | |
https://www.youtube.com/watch?v=Uvok1mji3k0 COPYCATT - Affection | |
https://www.youtube.com/watch?v=YhcTtFGAz6s Jellis & Subsets - Reborn | |
https://www.youtube.com/watch?v=RzST9VmWcw0 The Aurora Principle - Sen | |
https://www.youtube.com/watch?v=l-HHomK1mg8 Brombaer & Poiken - Firefly | |
https://www.youtube.com/watch?v=jPtmoa9XHgg Brombaer - Silk Road | |
https://www.youtube.com/watch?v=9WFae1dnIGQ Michael FK - Pulsar | |
https://www.youtube.com/watch?v=KCxQ8I54a5Y Kozoro - Autumn | |
https://www.youtube.com/watch?v=QXIB4JGPtmo Four Tet- Unicorn | |
https://www.youtube.com/watch?v=fAnftbRJE3Q Braak - Sure |
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
http://stackoverflow.com/q/9845002 | |
http://stackoverflow.com/q/26027582 | |
http://stackoverflow.com/q/23024960 | |
http://stackoverflow.com/q/15223400 | |
http://stackoverflow.com/q/28342612 | |
http://stackoverflow.com/q/28069000 | |
http://stackoverflow.com/q/14109687 | |
http://stackoverflow.com/q/2167481 | |
http://stackoverflow.com/q/34917422 | |
http://stackoverflow.com/q/32219863 |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using ChatExchangeDotNet; | |
namespace Hatman.Commands | |
{ | |
class CommandName : ICommand |
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
if (latestReview != null && latestReview.AuditPassed == false && (DateTime.UtcNow - latestReviewTimestamp).TotalMinutes > 1) | |
{ | |
// We can be pretty sure they've been temporarily banned. | |
endSession(); | |
return; | |
} | |
if (sessionReviews.Count + TodaysCVReviews.Count >= (reviewsAvailable > 1000 ? 40 : 20)) | |
{ | |
// They've ran out of reviews. |
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
private unsafe static BigInteger Sqrt(BigInteger num, BigInteger n) | |
{ | |
var squaresUnder100 = new Dictionary<int, int> { { 1, 1 }, { 2, 4 }, { 3, 9 }, { 4, 16 }, { 5, 25 }, { 6, 36 }, { 7, 49 }, { 8, 64 }, { 9, 81 } }; | |
var pairCount = 0; | |
var pairs = GetSqrtPairs(num, out pairCount); | |
// Find the largest integer whose square is smaller than or equal to the current pair. | |
var pairSq = (BigInteger)1; | |
foreach (var sq in squaresUnder100) | |
{ |
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
public ReportLog() | |
{ | |
byte[] uncompBytes; | |
using (var file = File.OpenRead(path)) | |
using (var compStrm = new GZipStream(file, CompressionMode.Decompress)) | |
{ | |
uncompBytes = new byte[file.Length]; | |
var strm = new MemoryStream(); |
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
private static void TestMethod1() | |
{ | |
var str = new [] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p' }; | |
// Remove | |
var t = new char[20]; | |
for (var i = 0; i < 20; i++) | |
{ |
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
"<p>I recently upgraded to Yosemite, but I'm not sure if this is a Yosemite-related bug.</p>\r\n\r\n<p>My application folder (/Applications) does not open in finder (see screenshots)\r\nThe spinner keep spinning in the bottom right corner.\r\nAlso, when I \"Get Info\", it keeps calculating the size and never completes.\r\nAlso, when I drag the Applications folder to the dock, nothing happens.</p>\r\n\r\n<p>However, it works fine in Terminal:</p>\r\n\r\n<pre><code>$ cd /; ls -lh\r\ndrwxrwxr-x+ 129 root admin 4.3K Oct 17 03:14 Applications\r\n</code></pre>\r\n\r\n<p>When I go inside the Applications folder (in terminal), I can list all the files in it.Oddly enough, most of them are greyed out, and it only says \"total 8\" when I have way more than 8 apps.</p>\r\n\r\n<pre><code>$ cd /Applications; ls -lh\r\ntotal 8\r\ndrwxr-xr-x 4 root wheel 136B Apr 23 2013 3Hub.app\r\ndrwxr-xr-x@ 4 myusername staff 136B May 20 13:02 Adium.app\r\ndrwxrwxr-x 5 root admin 170B Feb 7 2013 Adobe\r\ndrwxrwxr-x |
NewerOlder