Skip to content

Instantly share code, notes, and snippets.

View gautam678's full-sized avatar

Gautam Somappa gautam678

View GitHub Profile
@gautam678
gautam678 / .zshrc
Created January 10, 2020 21:31
My zsh rc configuration
# Pure theme for Hyper
autoload -U promptinit; promptinit
prompt pure
# AutoComplete for Zsh
autoload -Uz compinit && compinit
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'
@gautam678
gautam678 / .hyper.js
Last active January 10, 2020 22:35
My Hyper configuration for MacOS Catalina
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Upload Hyper to github sync settings
syncSettings: {
quiet: false,
accelerators: {
@gautam678
gautam678 / vscode.md
Created December 1, 2018 17:18
Set up es lint

ESLint installation

npm install -g eslint

Setup eslint:

npm install - -save-dev eslint-config-rallycoding

.eslintrc
@gautam678
gautam678 / flexbox.md
Created December 1, 2018 17:17
Flexbox

Flexbox

Justify-content:

  • flex-start: Items align to the left side of the container.
  • flex-end: Items align to the right side of the container.
  • center: Items align at the center of the container.
  • space-between: Items display with equal spacing between them.
  • space-around: Items display with equal spacing around them.

Align-items:

@gautam678
gautam678 / setup.sh
Last active July 18, 2017 06:24
Setting up docker with solr
#!/bin/sh
option="${1}"
container=$2
name=$3
sample=$4
case ${option} in
-f) FILE=${name}
echo "Pulling solr 6.4 from dockerhub"$'\n'
docker pull solr:6.4
echo "Connecting and transferring files to docker image"$'\n'