##Bash first line (shebang)
#!/bin/bash
#Useful goodies for GIT Command-line
Dangerous commands (e.g. you can lose your work) are labelled ⚠.
##Making local copy of a repo
$ git clone git@github.com:reflexdemon/demo.git
##Checkout to a Specific Branch/Tag/commit
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
{ | |
"noteComment": "I copied this from https://stackoverflow.com/questions/42495655/how-to-debug-angular-with-vscode", | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Chrome", | |
"url": "http://localhost:4200", | |
"webRoot": "${workspaceRoot}", |
public class ClearLine { | |
public static void main(String[] argv) throws Exception { | |
//https://stackoverflow.com/questions/7522022/how-to-delete-stuff-printed-to-console-by-system-out-println?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
// int count = 1; | |
// System.out.print(String.format("\033[%dA",count)); // Move up | |
// System.out.print("\033[2K"); // Erase line content | |
System.out.print("hello"); |