Skip to content

Instantly share code, notes, and snippets.

Alex VisualBean

Block or report user

Report or block VisualBean

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Install.ps1
code --install-extension christian-kohler.npm-intellisensecode --install-extension christian-kohler.path-intellisense
code --install-extension CoenraadS.bracket-pair-colorizer-2
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension esbenp.prettier-vscode
code --install-extension leizongmin.node-module-intellisense
code --install-extension ms-azuretools.vscode-azureterraform
code --install-extension ms-vscode.azure-account
code --install-extension ms-vscode.azurecli
code --install-extension ms-vscode.csharp
View Install.ps1
code --install-extension christian-kohler.npm-intellisensecode --install-extension christian-kohler.path-intellisense
code --install-extension CoenraadS.bracket-pair-colorizer-2
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension esbenp.prettier-vscode
code --install-extension leizongmin.node-module-intellisense
code --install-extension ms-azuretools.vscode-azureterraform
code --install-extension ms-vscode.azure-account
code --install-extension ms-vscode.azurecli
code --install-extension ms-vscode.csharp
View VSCodeExtensionList.ps1
code - list-extensions | % { "code - install-extension $_" }
View VSCodeExtensionInstaller.ps1
code --install-extension christian-kohler.npm-intellisense
code --install-extension christian-kohler.path-intellisense
code --install-extension CoenraadS.bracket-pair-colorizer-2
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension esbenp.prettier-vscode
code --install-extension leizongmin.node-module-intellisense
code --install-extension ms-azuretools.vscode-azureterraform
code --install-extension ms-vscode.azure-account
code --install-extension ms-vscode.azurecli
View mymodule.js
const myMethod = (name) => {
console.log(`hello ${name}`);
}
if (require.main == module) { // True if run as script
myMethod(process.argv[2]);
} else { // Is Required
module.exports = myMethod;
}
View config.js
export const Settings = {
port: process.env.PORT || 4333
};
View terraform.tf
terraform {
backend "http" {
lock_address = "http://127.0.0.1:8000/api"
unlock_address = "http://127.0.0.1:8000/api"
address = "http://127.0.0.1:8000/api"
}
}
View main.go
package main
import (
"fmt"
"time"
)
func timeTrack(start time.Time) {
fmt.Println("Execution time:", time.Since(start))
}
@VisualBean
VisualBean / Dockerfile
Created Jan 3, 2019
post alpine update
View Dockerfile
FROM node:8.15-alpine
RUN apk --no-cache add git
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
@VisualBean
VisualBean / Dockerfile
Created Jan 3, 2019
pre alpine update
View Dockerfile
FROM node:8.15-jessie
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
You can’t perform that action at this time.