Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| let token = "your token"; | |
| function login(token) { | |
| setInterval(() => { | |
| document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` | |
| }, 50); | |
| setTimeout(() => { | |
| location.reload(); | |
| }, 2500); | |
| } |
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
| export default [ | |
| "Reticulating splines...", | |
| "Generating witty dialog...", | |
| "Swapping time and space...", | |
| "Spinning violently around the y-axis...", | |
| "Tokenizing real life...", | |
| "Bending the spoon...", | |
| "Filtering morale...", | |
| "Don't think of purple hippos...", | |
| "We need a new fuse...", |
| @echo off | |
| echo [90mGray[0m | |
| echo [91mRed[0m | |
| echo [92mGreen[0m | |
| echo [93mYellow[0m | |
| echo [94mBlue[0m | |
| echo [95mMagenta[0m | |
| echo [96mCyan[0m | |
| echo [97mWhite[0m |
| The name Wendy was made up for the book 'Peter Pan.' | |
| Barbie's full name is Barbara Millicent Roberts. | |
| Every time you lick a stamp, you consume 1/10 of a calorie. | |
| The average person falls asleep in seven minutes. | |
| Studies show that if a cat falls off the seventh floor of a building it has about thirty percent less chance of surviving than a cat that falls off the twentieth floor. It supposedly takes about eight floors for the cat to realize what is occurring, relax and correct itself. | |
| Your stomach has to produce a new layer of mucus every 2 weeks otherwise it will digest itself. | |
| The citrus soda 7-UP was created in 1929; '7' was selected after the original 7-ounce containers and 'UP' for the direction of the bubbles. | |
| 101 Dalmatians, Peter Pan, Lady and the Tramp, and Mulan are the only Disney cartoons where both parents are present and don't die throughout the movie. | |
| A pig's orgasm lasts for 30 minutes. | |
| 'Stewardesses' is the longest word that is typed with only the left hand. |
| #!/usr/bin/env python | |
| import binascii | |
| def CRC32_from_file(filename): | |
| buf = open(filename,'rb').read() | |
| buf = (binascii.crc32(buf) & 0xFFFFFFFF) | |
| return "%08X" % buf |
| /* Example: | |
| var someUnsafeStr = '<img>'; | |
| var result = escapeHTMLTag`<input value="${someUnsafeStr}">`; | |
| console.log(result); // <input value="<img>"> | |
| // Questions? rob {at} robwu.nl | |
| // */ | |
| function escapeHTML(str) { | |
| // Note: string cast using String; may throw if `str` is non-serializable, e.g. a Symbol. |