This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.config/nvim/bundle') | |
Plug 'rking/ag.vim' | |
Plug 'yuttie/comfortable-motion.vim' | |
Plug 'scrooloose/nerdtree' | |
Plug 'mhinz/vim-startify' | |
Plug 'alvan/vim-closetag' | |
Plug 'honza/vim-snippets' | |
Plug 'SirVer/ultisnips' | |
Plug 'mhartington/oceanic-next' | |
Plug 'qpkorr/vim-bufkill' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"check_for_updates_on_startup": false, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
env: { | |
node: true | |
}, | |
extends: ["plugin:vue/essential", "@vue/standard"], | |
rules: { | |
"no-console": process.env.NODE_ENV === "production" ? "error" : "off", | |
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", | |
quotes: ["error", "double"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create the message queue | |
const importQueue = new Queue("importDB"); | |
// Watch and Run job queue | |
// When have new job in queue (I mean when someone put some job in Redis), | |
// this will watch and do the job by call jobCallback() | |
importQueue.process(jobCallback); | |
// Describe what to do in the job | |
async function doJob(id) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"log" | |
"time" | |
"go.mongodb.org/mongo-driver/bson" | |
"go.mongodb.org/mongo-driver/bson/primitive" | |
"go.mongodb.org/mongo-driver/mongo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { db } from "@models"; | |
async function pair() { | |
try { | |
const matchingCollection = db.collection("matchings"); | |
const notMatchedArr = await matchingCollection | |
.find({ | |
matched: false | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.config/nvim/bundle') | |
Plug 'rking/ag.vim' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'herringtondarkholme/yats.vim' | |
Plug 'styled-components/vim-styled-components', { 'branch': 'main' } | |
Plug 'Yggdroot/indentLine' | |
"Plug 'yuttie/comfortable-motion.vim' | |
Plug 'scrooloose/nerdtree' | |
Plug 'alvan/vim-closetag' | |
Plug 'honza/vim-snippets' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"container/list" | |
"encoding/json" | |
"errors" | |
"log" | |
"math/rand" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios'); | |
const token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Imh1eW5obWluaHR1ZnVAZ21haWwuY29tIiwibmlja25hbWUiOiJEYXJrbG9yZCIsImlhdCI6MTU4NDAwMTcxMCwiZXhwIjoxNTg0MDg4MTEwfQ.9FOV-LJMDuFfwFpQV3Kw1vXvK4alJnuzw9MLmA23HCg'; | |
async function calAvgProcess(numberOfPosts, token) { | |
const { data } = await axios.get('https://api.fuhcm.com/api/v1/confessions?load=' + numberOfPosts, { | |
headers: { | |
'authorization': 'Bearer ' + token, | |
}, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "graalvm/tap" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-fonts" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
cask "adoptopenjdk8" | |
brew "autojump" | |
brew "cloc" | |
brew "deno" |
OlderNewer