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
| namespace CodeDucky | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| public static class Throw | |
| { |
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
| // | |
| // Copyright 2013-2014 Hans Wolff | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software |
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
| /* Ported parts from Java to C# and refactored by Hans Wolff, 17/09/2013 | |
| Original: https://github.com/hanswolff/curve25519 | |
| */ | |
| /* Ported from C to Java by Dmitry Skiba [sahn0], 23/02/08. | |
| * Original: http://code.google.com/p/curve25519-java/ | |
| */ | |
| /* Generic 64-bit integer implementation of Curve25519 ECDH | |
| * Written by Matthijs van Duin, 200608242056 |
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
| static class x10 { | |
| public static IEnumerable<T> Iter<T>(this IEnumerable<T> list, Action<T> action) { | |
| foreach (var n in list) { | |
| action (n); | |
| yield return n; | |
| } | |
| } | |
| } |
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.Linq; | |
| using System.Collections.Generic; | |
| namespace Permutations | |
| { | |
| class MainClass | |
| { | |
| public static void Main (string[] args) | |
| { |
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
| //* ------------------------------------------------------------------------ | |
| //* Rfc822DateTimeParser - Parse Date-Time In RFC-822 Format | |
| //* Copyright (C) 2009 Tom Dong | |
| //* | |
| //* This library is free software; you can redistribute it and/or | |
| //* modify it under the terms of the GNU Lesser General Public | |
| //* License as published by the Free Software Foundation; either | |
| //* version 2.1 of the License, or (at your option) any later version. | |
| //* ------------------------------------------------------------------------ |
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.Text.RegularExpressions; | |
| namespace ETC.Helpers | |
| { | |
| public static class StringExtensions | |
| { | |
| /// <summary> | |
| /// Indicates whether the regular expression specified in "pattern" could be found in the "text". |
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://github.com/Hunter-Github/the-best-stack-overflow | |
| ! Disable HNQ - you want seamless experience without distractions | |
| stackoverflow.com###hot-network-questions | |
| ! No nagging newsletters | |
| stackoverflow.com###newsletter-ad | |
| stackoverflow.com##.newsletter-anon | |
| ! No Docs (defunct) | |
| stackoverflow.com###nav-docs |
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
| ._* | |
| .DS_Store | |
| .svn | |
| /publish |
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
| // vist https://store.playstation.com/en-us/home/games | |
| // look at localstorage | |
| // copy your entitlements data and substitue for GAME_DATA below | |
| const games = GAME_DATA; | |
| const sortedGames = games.sort(function(a, b) { | |
| var textA = a.game_meta.name.toUpperCase(); | |
| var textB = b.game_meta.name.toUpperCase(); | |
| return (textA < textB) ? -1 : (textA > textB) ? 1 : 0; |