ANSI escape sequences can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.
A great article about it can be found here.
| // ==UserScript== | |
| // @name IPA for translate.google | |
| // @namespace https://gist.github.com/adielBm/21762fe5e964071cb820a0c46896da34 | |
| // @version 2024-06-27 | |
| // @description Convert phonetic transcription to IPA on Google Translate | |
| // @author adielBm | |
| // @match https://translate.google.com/* | |
| // @grant none | |
| // @updateURL https://gist.githubusercontent.com/adielBm/21762fe5e964071cb820a0c46896da34/raw | |
| // @downloadURL https://gist.githubusercontent.com/adielBm/21762fe5e964071cb820a0c46896da34/raw |
ANSI escape sequences can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.
A great article about it can be found here.
You need to follow this procedure in order to share files between Windows 7 and Mac OS X on VMWare :
| // ================================================================================================= | |
| // | |
| // Created by Rodrigo Lopez [roipekerβ’] on 21/04/2018. | |
| // | |
| // ================================================================================================= | |
| // ** Cubic Bezier Easing ** | |
| // based on https://github.com/gre/bezier-easing/ | |
| // | |
| // Compatible with Greensock and Starling tween engine. |
| createjs.Touch.enable(stage); | |
| var box = this.box; | |
| box.isDown = false; | |
| box.addEventListener('mousedown', MouseDownAction); | |
| stage.addEventListener('stagemouseup', MouseUpAction); | |
| function MouseDownAction(event){ | |
| box.prevInteraction = new Date().getTime(); |
| # Unicode character frequencies computed on dumps of all wikipedia languages (288) | |
| # Dumps downloader: https://github.com/aesuli/wikipediatools | |
| # Html converted to plain text: https://github.com/aesuli/wikipedia-extractor | |
| # | |
| # Andrea Esuli | |
| # http://www.esuli.it/ | |
| # | |
| #'char'<tab>ord(char)<tab>freq | |
| ' ' 32 6098823328 | |
| 'e' 101 3226481962 |
| https://rfc3161.ai.moda | |
| https://rfc3161.ai.moda/adobe | |
| https://rfc3161.ai.moda/microsoft | |
| https://rfc3161.ai.moda/apple | |
| https://rfc3161.ai.moda/any | |
| http://rfc3161.ai.moda | |
| http://timestamp.digicert.com | |
| http://timestamp.globalsign.com/tsa/r6advanced1 | |
| http://rfc3161timestamp.globalsign.com/advanced | |
| http://timestamp.sectigo.com |
This shows use cases where a simple regex like the one on StackOverflow cannot be relied upon for 100% accuracy in detecting comments in code.
var foo = "There's no way to tell that this /* is not the beginning of a comment";
var bar = "There's no way to tell that this */ is not the end of a comment";
var baz = "There's no way to tell that this // is not a single line comment";
var buz = "Matters get much worse when there are escaped \" quotes /* inside the string. Definitely need a parser.";
var fiz = `And there is| { | |
| "version": "0.1.0", | |
| "command": "asjsc", | |
| "isShellCommand": true, | |
| "args": ["src/Main.as"], | |
| "showOutput": "always", | |
| "problemMatcher": | |
| { | |
| "fileLocation": "absolute", | |
| "pattern": |
People
: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: |