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
@bsed
bsed / cloudSettings
Last active January 21, 2020 06:21
bsed_vscode_settings.json
{"lastUpload":"2020-01-21T06:21:25.640Z","extensionVersion":"v3.4.3"}
@bsed
bsed / vue_lanuch.json
Created September 16, 2019 07:31
vue vscode
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:8080/zhtj/",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
@bsed
bsed / go_launch.json
Created September 16, 2019 07:17
golang vscode
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 4345,
@bsed
bsed / rust_tasks.json
Created September 16, 2019 07:15
.vscode_rust
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cargo test build",
"command": "cargo",
"args": [
@bsed
bsed / rust_launch.json
Last active September 16, 2019 07:15
.vscode_rust
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "launch",
"name": "Linux Prod",
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
@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"}
# 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
{
"presets": [
"es2015",
"stage-0",
"react"
],
"plugins": [
"transform-runtime",
"transform-class-properties"
]
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