The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Constants.cs 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Teknik.Helpers
  7. {
  8. public static class Constants
  9. {
  10. public const string SERVERUSER = "Server Admin";
  11. public const string AUTHCOOKIE = "TeknikAuth";
  12. public const string TRUSTEDDEVICECOOKIE = "TeknikTrustedDevice";
  13. // Paste Constants
  14. public static Dictionary<string, string> HIGHLIGHTFORMATS = new Dictionary<string, string>()
  15. {
  16. { "1C", "1c" },
  17. { "Access logs", "accesslog" },
  18. { "ARM assembler", "armasm" },
  19. { "AVR assembler", "avrasm" },
  20. { "ActionScript", "actionscript" },
  21. { "Apache", "apache" },
  22. { "AppleScript", "applescript" },
  23. { "AsciiDoc", "asciidoc" },
  24. { "AspectJ", "aspectj" },
  25. { "AutoHotkey", "autohotkey" },
  26. { "AutoIt", "autoit" },
  27. { "Axapta", "axapta" },
  28. { "Bash", "bash" },
  29. { "Basic", "basic" },
  30. { "Brainfuck", "brainfuck" },
  31. { "C#", "cs" },
  32. { "C++", "cpp" },
  33. { "C/AL", "cal" },
  34. { "Cache Object Script", "cos" },
  35. { "CMake", "cmake" },
  36. { "CSS", "css" },
  37. { "Cap’n Proto", "capnproto" },
  38. { "Clojure", "clojure" },
  39. { "CoffeeScript", "coffeescript" },
  40. { "Crmsh", "crmsh" },
  41. { "Crystal", "crystal" },
  42. { "D", "d" },
  43. { "DNS Zone file", "dns" },
  44. { "DOS", "dos" },
  45. { "Dart", "dart" },
  46. { "Delphi", "delphi" },
  47. { "Diff", "diff" },
  48. { "Django", "django" },
  49. { "Dockerfile", "dockerfile" },
  50. { "DTS (Device Tree)", "dts" },
  51. { "Dust", "dust" },
  52. { "Elixir", "elixir" },
  53. { "Elm", "elm" },
  54. { "Erlang", "erlang" },
  55. { "F#", "fsharp" },
  56. { "FIX", "fix" },
  57. { "Fortran", "fortran" },
  58. { "G-Code", "gcode" },
  59. { "Gams", "gams" },
  60. { "GAUSS", "gauss" },
  61. { "Gherkin", "gherkin" },
  62. { "Go", "go" },
  63. { "Golo", "golo" },
  64. { "Gradle", "gradle" },
  65. { "Groovy", "groovy" },
  66. { "HTML, XML", "xml" },
  67. { "HTTP", "http" },
  68. { "Haml", "haml" },
  69. { "Handlebars", "handlebars" },
  70. { "Haskell", "haskell" },
  71. { "Haxe", "haxe" },
  72. { "Ini", "ini" },
  73. { "Inform7", "inform7" },
  74. { "IRPF90", "irpf90" },
  75. { "JSON", "json" },
  76. { "Java", "java" },
  77. { "JavaScript", "javascript" },
  78. { "Lasso", "lasso" },
  79. { "Less", "less" },
  80. { "Lisp", "lisp" },
  81. { "LiveCode Server", "livecodeserver" },
  82. { "LiveScript", "livescript" },
  83. { "Lua", "lua" },
  84. { "Makefile", "makefile" },
  85. { "Markdown", "markdown" },
  86. { "Mathematica", "mathematica" },
  87. { "Matlab", "matlab" },
  88. { "Maya Embedded Language", "mel" },
  89. { "Mercury", "mercury" },
  90. { "Mizar", "mizar" },
  91. { "Mojolicious", "mojolicious" },
  92. { "Monkey", "monkey" },
  93. { "NSIS", "nsis" },
  94. { "Nginx", "nginx" },
  95. { "Nimrod", "nimrod" },
  96. { "Nix", "nix" },
  97. { "OCaml", "ocaml" },
  98. { "Objective C", "objectivec" },
  99. { "OpenGL Shading Language", "glsl" },
  100. { "OpenSCAD", "openscad" },
  101. { "Oracle Rules Language", "ruleslanguage" },
  102. { "Oxygene", "oxygene" },
  103. { "PF", "pf" },
  104. { "PHP", "php" },
  105. { "Parser3", "parser3" },
  106. { "Perl", "perl" },
  107. { "PowerShell", "powershell" },
  108. { "Processing", "processing" },
  109. { "Prolog", "prolog" },
  110. { "Protocol Buffers", "protobuf" },
  111. { "Puppet", "puppet" },
  112. { "Python", "python" },
  113. { "Python profiler results", "profile" },
  114. { "Q", "k" },
  115. { "QML", "qml" },
  116. { "R", "r" },
  117. { "RenderMan RIB", "rib" },
  118. { "RenderMan RSL", "rsl" },
  119. { "Roboconf", "graph" },
  120. { "Ruby", "ruby" },
  121. { "Rust", "rust" },
  122. { "SCSS", "scss" },
  123. { "SQL", "sql" },
  124. { "STEP Part 21", "p21" },
  125. { "Scala", "scala" },
  126. { "Scheme", "scheme" },
  127. { "Scilab", "scilab" },
  128. { "Smali", "smali" },
  129. { "Smalltalk", "smalltalk" },
  130. { "Stan", "stan" },
  131. { "Stata", "stata" },
  132. { "Stylus", "stylus" },
  133. { "Swift", "swift" },
  134. { "Tcl", "tcl" },
  135. { "TeX", "tex" },
  136. { "Thrift", "thrift" },
  137. { "TP", "tp" },
  138. { "Twig", "twig" },
  139. { "TypeScript", "typescript" },
  140. { "VB.Net", "vbnet" },
  141. { "VBScript", "vbscript" },
  142. { "VHDL", "vhdl" },
  143. { "Vala", "vala" },
  144. { "Verilog", "verilog" },
  145. { "Vim Script", "vim" },
  146. { "x86 Assembly", "x86asm" },
  147. { "XL", "xl" },
  148. { "XQuery", "xpath" },
  149. { "Zephir", "zephir" }
  150. };
  151. }
  152. }