Skip to content

Instantly share code, notes, and snippets.

View bsed's full-sized avatar
🏠
Working from home

sed bsed

🏠
Working from home
View GitHub Profile
{
"version": "0.1.0",
"command": "go",
"args": ["build"],
"isShellCommand": true,
"showOutput": "silent",
"problemMatcher": {
"owner": "go",
{
"version": "0.1.0",
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
"command": "go",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
@bsed
bsed / golang_vscode-build-tasks.json
Last active May 29, 2016 01:06
VSCode+Golang tasks
{
"version": "0.1.0",
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
"command": "go",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
@bsed
bsed / golang_vscode-settings.json
Last active May 29, 2016 01:07
VSCode+Golang settings
{
//-------- Go configuration --------
"files.autoSave": "onFocusChange",
// Run 'go build'/'go test' on save.
"go.buildOnSave": true,
// Run 'golint' on save.
"go.lintOnSave": true,
// Run 'go tool vet' on save.
"go.vetOnSave": true,
// Flags to `go build`/`go test` used during build-on-save or running tests. (e.g. ['-ldflags="-s"'])
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
@bsed
bsed / golang_vscode-tasks.json
Created May 29, 2016 01:51
goalng vscode tasks
{
"version": "0.1.0",
"isShellCommand": true,
"showOutput": "always",
"command": "go",
"echoCommand": true ,
"tasks": [
{
"taskName": "build",
"args": [
npm install babel-plugin-transform-class-properties babel-plugin-transform-runtime \
babel-polyfill babel-preset-es2015 babel-preset-react babel-preset-stage-0 \
babel-register --save
{
"presets": [
"es2015",
"stage-0",
"react"
],
"plugins": [
"transform-runtime",
"transform-class-properties"
]
# one shell
```bash
sudo mysqld_safe --skip-grant-tables &
```
# two shell
```bash
kelvin@gnux:~> sudo mysql -u root (06/25 20:51:01)
[sudo] password for kelvin:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 41
@bsed
bsed / file
Created September 27, 2016 12:34
freedom_public
{"0.02037170523233711":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEXMX2srxv9CHiddsTW2/4TP2kkn1kSNzw\r\n1j0vfVBfpUyotTtTjlz+yJcpY4hrTV1YwN3eSQpBF9KMFee2VpT/OM3/AAAACDxn\r\naXRodWI+wv8AAACOBBATCABA/wAAAAWCV+pnW/8AAAACiwn/AAAACZC7D+TEz6Nm\r\n7f8AAAAFlQgJCgv/AAAABJYDAQL/AAAAApsD/wAAAAKeAQAACuwBALFcNxqlMgdA\r\n+PQJXHvUbVivAkLftoJHFVEGStjcqxANAQD/hYIIocYSMRhg1+qcYQnwf+9vo9um\r\nwRyZIjspEAeGJs7/AAAAVgQAAAAAEggqhkjOPQMBBwIDBP0zKmc/AvfkKqqMFDfT\r\nM+jxgBP4diQk3AfEKkLzZqoG94tm6cJDVZnRvkbki7sInR4aNZ0pnpMISkZI68E/\r\nCy0DAQgHwv8AAABtBBgTCAAf/wAAAAWCV+pnW/8AAAAJkLsP5MTPo2bt/wAAAAKb\r\nDAAAAEMBAPxUcA4r24XNtaEn8VyRMBcctneBbhoS4nTpsiPl4Co0AP4ix/In61ZH\r\nv227su/L7I+5rbPPKXtIUmeFqe3HlohnRQ==\r\n=w/28\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n"}