The table below shows the full list of languages (and corresponding classes/aliases) for markdown codeblocks.
| Language | Aliases |
|---|---|
| 1C | 1c |
| 4D | 4d |
| ABAP | sap-abap, abap |
| /** | |
| * PennerDoubleAnimation | |
| * Animates the value of a double property between two target values using | |
| * Robert Penner's easing equations for interpolation over a specified Duration. | |
| * | |
| * @author Darren David [email protected] | |
| * @version 1.0 | |
| * | |
| * Credit/Thanks: | |
| * Robert Penner - The easing equations we all know and love |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| // ==UserScript== | |
| // @name Steam Key Quick Activator | |
| // @namespace http://pedrofracassi.me/ | |
| // @version 1.2 | |
| // @description Activates Steam Keys Quickly! | |
| // @author Pedro Fracassi (http://pedrofracassi.me) | |
| // @match https://store.steampowered.com/account/registerkey?key=* | |
| // @grant none | |
| // @run-at document-end | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name MOREtrackers | |
| // @description:tr Torrent magnet bağlantısına fazladan izleyici ekler. | |
| // @description:az Torrent maqnit bağlantılarına daha çox izləyici əlavə edir. | |
| // @description:en Adds more trackers to torrent magnet links. | |
| // @description:de Fügt mehr Tracker zu Torrent-Magnet-Links hinzu. | |
| // @description:fr Ajoute plus de trackers aux liens magnétiques torrent. | |
| // @description:es Agrega más rastreadores a los enlaces magnéticos de torrent. | |
| // @description:ru Добавляет больше трекеров к магнитным торрент-ссылкам. | |
| // @version 0.5 |
| // ==UserScript== | |
| // @name Google Translate - 2022 | |
| // @namespace https://greasyfork.org/users/906463-coffeegrind123 | |
| // @homepageURL https://gist.github.com/coffeegrind123/8ca2c7e700aca3341c71da8d612f6130 | |
| // @supportURL https://greasyfork.org/scripts/443947-google-translate-2022 | |
| // @include https://*/* | |
| // @include http://*/* | |
| // @exclude http*://*.google.*/* | |
| // @grant GM_registerMenuCommand | |
| // @noframes |
| public class AsyncLazyPipeline<TSource> | |
| { | |
| private Func<Task<TSource>> Expression { get; } | |
| public AsyncLazyPipeline(Func<Task<TSource>> expression) | |
| { | |
| Expression = expression; | |
| } | |
| public Task<TSource> Flatten() => Expression(); |
| public static partial class LinqExtensions | |
| { | |
| public static Maybe<C> SelectMany<A, B, C>(this Maybe<A> ma, Func<A, Maybe<B>> f, Func<A, B, C> select) => ma.Bind(a => f(a).Map(b => select(a, b))); | |
| } |
| void Main() | |
| { | |
| string errorCodesFileUrl = "https://raw.githubusercontent.com/dotnet/roslyn/master/src/Compilers/CSharp/Portable/Errors/ErrorCode.cs"; | |
| string errorCodesFileContent = new WebClient().DownloadString(errorCodesFileUrl); | |
| var syntaxTree = CSharpSyntaxTree.ParseText(errorCodesFileContent); | |
| var root = syntaxTree.GetRoot(); | |
| var enumDeclaration = | |
| root.DescendantNodes() | |
| .OfType<EnumDeclarationSyntax>() | |
| .First(e => e.Identifier.ValueText == "ErrorCode"); |
| // For an explanation of this code visit: | |
| // https://github.com/jacobslusser/ScintillaNET/wiki/Automatic-Syntax-Highlighting | |
| // Configuring the default style with properties | |
| // we have common to every lexer style saves time. | |
| scintilla.StyleResetDefault(); | |
| scintilla.Styles[Style.Default].Font = "Consolas"; | |
| scintilla.Styles[Style.Default].Size = 10; | |
| scintilla.StyleClearAll(); |