<body>
This file contains hidden or 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
syntax enable | |
let g:rustfmt_autosave = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
set relativenumber | |
let g:airline#extensions#tabline#left_sep = ' ' | |
let g:airline#extensions#tabline#left_alt_sep = '|' | |
let g:airline#extensions#tabline#formatter = 'default' | |
let g:NERDTreeWinSize=20 | |
set guifont=DroidSansMono\ Nerd\ Font\ 11 | |
set encoding=utf8 |
This file contains hidden or 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
version: "3.7" | |
services: | |
db: | |
image: postgres:alpine | |
environment: | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_USER: postgres | |
POSTGRES_DB: example | |
volumes: | |
- ./pgdata:/var/lib/postgresql/data |
This file contains hidden or 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
FROM node:14-alpine | |
WORKDIR /app | |
COPY package.json /app | |
RUN npm install yarn | |
RUN yarn |
This file contains hidden or 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 express = require("express"); | |
const app = express(); | |
const Pool = require("pg").Pool; | |
const pool = new Pool({ | |
user: "postgres", | |
database: "example", | |
password: "postgres", | |
host: "db", | |
port:5555 |
This file contains hidden or 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
// i found a beautifull repo on internet call react-playbook by rajjet, this is runner to setup rajjet's full repo to test runner | |
// to run this is file type `run gist:683a8098c2d00d02c74ea92e46c78aa8` or `run react-playbook` | |
// first it will clone his repo | |
RUN "git clone https://github.com/rajjeet/react-playbook" | |
// install all packages | |
RUN "npm intall" "/react-playbook/packages/gatsby-starter" | |
RUN "npm intall" "react-playbook/packages/jest-enzyme" | |
RUN "npm intall" "/react-playbook/packages/react-basic" |
This file contains hidden or 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
LOGO | |
RED "this is runner" |
This file contains hidden or 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
PRINT "lo this is op test" |
This file contains hidden or 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
// this are comments | |
// this iS use to run big shell like installation etc, it excepts 1 arguments | |
RUN "cowsay this is runner you get it" | |
// this is use to print text, it excepts 1 arguments | |
PRINT "welcome to runner" | |
// this is use to print text, it excepts 1 arguments | |
BLUE "color full text is here" |
This file contains hidden or 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
BLUE "this a gist" | |
CHEATSHEET | |
RUN "echo this is op" |