Skip to content

Instantly share code, notes, and snippets.

View tanay-pingalkar's full-sized avatar

Tanay Pingalkar tanay-pingalkar

  • 8
View GitHub Profile
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

Replace.js

a lightweight reactive frontend library

logo

index.html

<body>
version: "3.7"
services:
db:
image: postgres:alpine
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: example
volumes:
- ./pgdata:/var/lib/postgresql/data
FROM node:14-alpine
WORKDIR /app
COPY package.json /app
RUN npm install yarn
RUN yarn
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
// 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"
LOGO
RED "this is runner"
PRINT "lo this is op test"
// 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"
@tanay-pingalkar
tanay-pingalkar / main.rn
Last active March 31, 2021 07:29
THIS is a runner file
BLUE "this a gist"
CHEATSHEET
RUN "echo this is op"