https://t.me/proxy?server=mtp123.nimble.fyi&port=8443&secret=726564736869656c6476706e2e636f6d
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 static class Extentions | |
| { | |
| //Generates subtitles are like this: | |
| /* | |
| 0-1126|:|Bean! No! | |
| 1210-3003|:|She forgot her glove! | |
| 3086-5339|:|My poor Princess Tiabeanie. | |
| 5422-7758|:|She never had a chance to say she loved me. | |
| 9092-10219|:|Now what? Whoa! | |
| */ |
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
| Opeth // Watershed | |
| ABBA // Greatest Hits | |
| Dream Theater // Parasomnia | |
| Dream Theater // Train of Thought | |
| Dream Theater // A View from the Top of the World | |
| Opeth // The Last Will and Testament | |
| Opeth // In Cauda Venenum | |
| The Moody Blues // The Best Of The Moody Blues | |
| Pineapple Theft // Variations on a Dream | |
| Anathema // Universal concert |
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.Threading.Tasks; | |
| namespace Matrix.Utils | |
| { | |
| static class SelectListHelper | |
| { |
Throw exception without specifying the original exception. Remove 'exceptionIdentifier' from throw statement.
throw re-throws the exception that was caught, and preserves the stack trace. throw ex throws the same exception, but resets the stack trace to that method.
Unless you want to reset the stack trace (i.e. to shield public callers from the internal workings of your library), throw is generally the better choice, since you can see where the exception originated.
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.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| var folder = new DirectoryInfo(@"./Rules"); | |
| var filez = Reader.RemoveSuffix(Reader.RemovePrefix(Reader.ReadFileNames(folder,"_Template.md"),"GCop"),".md"); | |
| var lines = MDEngine.GetLines(new FileInfo(@"Rules\GCop101.md")); |
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
| /// <summary> | |
| /// This methid will help you to increment a number which is saved in storage, so can be used in application lifecycle. | |
| /// </summary> | |
| /// <param name="path">Desired file path for increment</param> | |
| /// <returns>increment</returns> | |
| public static int Increment(string path = "Text.txt") | |
| { | |
| StreamReader stt; | |
| string lns = ""; |
NewerOlder