Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

sed bsed

🏠
Working from home
Block or report user

Report or block bsed

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 vue_lanuch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:8080/zhtj/",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
View go_launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 4345,
View rust_tasks.json
{
// 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 Sep 16, 2019
.vscode_rust
View rust_launch.json
{
// 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",
View gist:55c571ea7943043fba80913e905a2fdb
# <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 Sep 27, 2016
freedom_public
View file
{"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"}
View mysql-password-forget
# 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
View .babelrc
{
"presets": [
"es2015",
"stage-0",
"react"
],
"plugins": [
"transform-runtime",
"transform-class-properties"
]
View node babel es6
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
View golang_vscode-tasks.json
{
"version": "0.1.0",
"isShellCommand": true,
"showOutput": "always",
"command": "go",
"echoCommand": true ,
"tasks": [
{
"taskName": "build",
"args": [
You can’t perform that action at this time.