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.
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) |
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'); |
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.
<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 () { |
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 |
//https://adventofcode.com | |
var inp = "()()(()()()(()()((()((()))((()((((()()((((()))()((((())(((((((()(((((((((()(((())(()()(()((()()(()(())(()((((()((()()()((((())((((((()(()(((()())(()((((()))())(())(()(()()))))))))((((((((((((()())()())())(())))(((()()()((((()(((()(()(()()(()(()()(()(((((((())(())(())())))((()())()((((()()((()))(((()()()())))(())))((((())(((()())(())(()))(()((((()())))())((()(())(((()((((()((()(())())))((()))()()(()(()))))((((((((()())((((()()((((()(()())(((((()(()())()))())(((()))()(()(()(()((((()(())(()))(((((()()(()()()(()(((())())(((()()(()()))(((()()(((())())(()(())())()()(())()()()((()(((()(())((()()((())()))((()()))((()()())((((()(()()(()(((()))()(()))))((()(((()()()))(()(((())()(()((()())(()(()()(()())(())()(((()(()())()((((()((()))))())()))((()()()()(())()())()()()((((()))))(()(((()()(((((((())()))()((((()((())()(()())(())()))(()(()())(((((((())))(((()))())))))()))())((())(()()((())()())()))))()((()()())(())((())((((()())())()()()(((()))())))()()))())(()()()(()((((((()()))())()) |
using System; | |
namespace FormUI | |
{ | |
public class Helper | |
{ | |
private static string stampFormat = "{0}{1}{2}T{3}{4}{5}"; | |
public static string TimeStamp() | |
{ |
<!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> |
windows cmd line'da bir klasörün tüm içeriğini aynı klasörde bulunan bir "x.txt" adlı bir dosyaya yazmak için:
kodunun çalıştırılması yeterlidir.