Here is my Git Setup that makes working with git a lot more efficient and less annoying.
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
| " Author: Oleg Utkin | |
| " Github: nonlogicaldev | |
| " Close/open all folds zm/zr | |
| "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| " Initialising Plugins: | |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " Plugin Definitions: {{{ | |
| call plug#begin('~/.vim/plugged') | |
| "=============================================================================== |
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
| #!/bin/bash | |
| ################################################--++ | |
| # INSTALL: curl -L https://goo.gl/L7y6vD | bash | |
| ################################################--++ | |
| ################################################ | |
| # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORT | |
| # ---------------------------------------------- | |
| # This script will nuke your vim directory, but | |
| # It will have it backed up to .vim.bak |
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
| #!/usr/bin/env ruby | |
| require 'mustache' | |
| require 'diffy' | |
| require 'colorize' | |
| require 'pry' | |
| require 'optparse' | |
| STUDENT_NAME = "Oleg Utkin" | |
| STUDENT_LOGIN = "cs11whw" |
I hereby claim:
- I am nonlogicaldev on github.
- I am nonlogical (https://keybase.io/nonlogical) on keybase.
- I have a public key whose fingerprint is 4ACB E537 1D32 DDDD F449 C0F3 000A 8514 DEEA 3992
To claim this, I am signing this object:
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
| // Correct Indentation | |
| if( | |
| !inputdata.containskey("id") | |
| && !( | |
| inputdata.containskey("action_id") | |
| || inputdata.containskey("active_alert_id") | |
| || inputdata.containskey("action_type") | |
| || inputdata.containskey("data") | |
| ) |
Notes For Languages I Use:
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
| package internal | |
| import ( | |
| "context" | |
| "sync" | |
| "sync/atomic" | |
| "time" | |
| ) | |
| type CtxWG struct { |
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
| #!/bin/bash | |
| PROG="$(basename $0)" | |
| _help() { | |
| if [[ -n $1 ]]; then | |
| echo "ERROR: $1" | |
| echo | |
| fi | |
| echo "INFO:" | |
| echo " A utility for snapshotting a tree from a given commit." |
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: "2" | |
| services: | |
| influxdb: | |
| image: "influxdb" | |
| restart: always | |
| mem_limit: 750m | |
| volumes: | |
| - ./data/influxdb:/var/lib/influxdb | |
| ports: | |
| - 8086:8086 |