View gist:3b5c04d29db3fd12e0ee576324f09741


:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
View whoami.cmd
nslookup -type=txt
View stuns
# source :
# A list of available STUN server.
View checkHeaderPDF.cs
public bool IsPDFHeader(string fileName)
byte[] buffer = null;
FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
BinaryReader br = new BinaryReader(fs);
long numBytes = new FileInfo(fileName).Length;
//buffer = br.ReadBytes((int)numBytes);
buffer = br.ReadBytes(5);
View install_package.ps1
Install-Package NLog -Version 4.1.0 -Project ProjectName
View ReplaceString.cs
public static string ReplaceString(string str, string oldValue, string newValue, StringComparison comparison)
if (string.IsNullOrEmpty(oldValue))
throw new ArgumentNullException("oldValue");
StringBuilder sb = new StringBuilder();
View child_window.html
<!DOCTYPE html>
<button onclick="myFunction()">Open</button>
<button onclick="gotoUrl()">goto</button>
View promise_test_01.js
(function() {
var obj = (function() {
var promise = null;
var getPromise = function() {
if (!promise) {
View gist:ac4ff363bb1c6395da111231ce1dc106
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
View window_test.html
<!DOCTYPE html>
<button onclick="myFunction()">Open</button>
<button onclick="gotoUrl()">goto</button>