Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const readline = require('readline').createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
readline.question(`Paste your title you want kebab'd: `, title => { | |
const lowercased = title.toLowerCase(); | |
const nospecials = lowercased.replace(/[\[\]\"\?\:\&\.]/g, ''); | |
const kebabd = nospecials.replace(/[\s]/g, '-'); | |
console.log('kebab\'d title:', kebabd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Snazzy", | |
"foreground": "#eff0eb", | |
"background": "#282a36", | |
"selectionBackground": "#3e404a", | |
"cursorColor": "#97979b", | |
"black": "#282a36", | |
"red": "#ff5c57", | |
"green": "#5af78e", | |
"yellow": "#f3f99d", |
I hereby claim:
- I am aztechdev on github.
- I am case42 (https://keybase.io/case42) on keybase.
- I have a public key ASAHB2tMSTblB4c6tIAcr2BSlPXnRQ4jwzLr5OYcWW01RAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Thank you Stack Overflow: https://stackoverflow.com/a/54127122 | |
var aestTime = new Date().toLocaleString("en-US", {timeZone: "Australia/Brisbane"}); | |
console.log('AEST time: '+ (new Date(aestTime)).toISOString()) | |
var asiaTime = new Date().toLocaleString("en-US", {timeZone: "Asia/Shanghai"}); | |
console.log('Asia time: '+ (new Date(asiaTime)).toISOString()) | |
var usaTime = new Date().toLocaleString("en-US", {timeZone: "America/New_York"}); | |
console.log('USA time: '+ (new Date(usaTime)).toISOString()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
import java.util.ArrayList; | |
/** | |
* Created by sumpa on 2016-12-12. | |
*/ | |
public class GestureReceiver { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Aria.h" | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char **argv) | |
{ | |
Aria::init(); | |
ArRobot robot; | |
ArArgumentParser argParser(&argc, argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Aria.h" | |
int main(int argc, char **argv) | |
{ | |
Aria::init(); | |
ArRobot robot; | |
ArArgumentParser argParser(&argc, argv); | |
argParser.loadDefaultArguments(); | |
ArRobotConnector robotConnector(&argParser, &robot); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.InputStreamReader; | |
import java.io.BufferedReader; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
import java.net.InetAddress; | |
import java.io.File; | |
import java.io.OutputStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.InputStreamReader; | |
import java.io.BufferedReader; | |
import java.io.DataInputStream; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
import java.net.InetAddress; | |
import java.io.File; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; |
NewerOlder