- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
| using System; | |
| namespace FormUI | |
| { | |
| public class Helper | |
| { | |
| private static string stampFormat = "{0}{1}{2}T{3}{4}{5}"; | |
| public static string TimeStamp() | |
| { |
| //https://adventofcode.com | |
| var inp = "()()(()()()(()()((()((()))((()((((()()((((()))()((((())(((((((()(((((((((()(((())(()()(()((()()(()(())(()((((()((()()()((((())((((((()(()(((()())(()((((()))())(())(()(()()))))))))((((((((((((()())()())())(())))(((()()()((((()(((()(()(()()(()(()()(()(((((((())(())(())())))((()())()((((()()((()))(((()()()())))(())))((((())(((()())(())(()))(()((((()())))())((()(())(((()((((()((()(())())))((()))()()(()(()))))((((((((()())((((()()((((()(()())(((((()(()())()))())(((()))()(()(()(()((((()(())(()))(((((()()(()()()(()(((())())(((()()(()()))(((()()(((())())(()(())())()()(())()()()((()(((()(())((()()((())()))((()()))((()()())((((()(()()(()(((()))()(()))))((()(((()()()))(()(((())()(()((()())(()(()()(()())(())()(((()(()())()((((()((()))))())()))((()()()()(())()())()()()((((()))))(()(((()()(((((((())()))()((((()((())()(()())(())()))(()(()())(((((((())))(((()))())))))()))())((())(()()((())()())()))))()((()()())(())((())((((()())())()()()(((()))())))()()))())(()()()(()((((((()()))())()) |
| echo off | |
| REM Get info of given app pool | |
| color a | |
| set /p apppool= Which one ? | |
| cd \ | |
| cd C:\Windows\System32\inetsrv | |
| appcmd.exe list apppool %apppool% /text:* | find "password" | |
| PAUSE |
| <script> | |
| var aCallWithDelayOf_1secs = new Promise(function (resolve, reject) { | |
| setTimeout(function () { | |
| resolve('Success!'); | |
| }, 1000); | |
| // reject('Failure!'); | |
| }); | |
| var aCallWithDelayOf_2secs = new Promise(function (resolve, reject) { | |
| setTimeout(function () { |
Some helpful Javascript Snippets. Click on it to see all.
Bazı faydalı Javascript kod parçacıkları. Hepsini görmek için tıklayın.
| INSERT INTO nationality ([description]) | |
| VALUES ('Afghan'); | |
| INSERT INTO nationality ([description]) | |
| VALUES ('Albanian'); | |
| INSERT INTO nationality ([description]) | |
| VALUES ('Algerian'); | |
| INSERT INTO nationality ([description]) | |
| VALUES ('American'); | |
| INSERT INTO nationality ([description]) | |
| VALUES ('Andorran'); |
| public string Cipher(string RawData, int Key) | |
| { | |
| StringBuilder CipheredText = new StringBuilder(); | |
| byte[] RawBytes = UnicodeEncoding.UTF8.GetBytes(RawData); | |
| int keyLen = Key.ToString().Length; | |
| int keyPos = 0; | |
| foreach (byte rawByte in RawBytes) |