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
" ----------------------------------------------------------------------------- | |
" File: gruvbox.vim | |
" Description: Retro groove color scheme for Vim | |
" Author: morhetz <[email protected]> | |
" Source: https://github.com/morhetz/gruvbox | |
" Last Modified: 12 Aug 2017 | |
" ----------------------------------------------------------------------------- | |
" Supporting code ------------------------------------------------------------- | |
" Initialisation: {{{ |
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 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
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="manifest" href="site.webmanifest"> |
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
#gifsicle -O3 -k 8 --lossy=80 -o tty-small.gif js_demo.gif | |
#gifsicle --lossy=80 -o tty-small.gif js_demo.gif | |
#gifsicle --delete "#0-12" -o tty-small1.gif tty-small.gif | |
#gifsicle tty-small.gif --delete "#0-12" -o tty-small.gif | |
# Make a copy of the file | |
cp $1 $2 | |
gifsicle "$1" --delete "#1-10" -o "$2" | |
gifsicle "$2" --delete "#100-105" -o "$2" | |
echo "script completed" |
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 python:3.7 | |
RUN mkdir -p /var/www/retail-server | |
# Update working directory | |
WORKDIR /var/www/retail-server | |
COPY requirements.txt ./requirements.txt | |
# Install explicitly because of segment fault with psycopg2. |
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
import click | |
import os | |
import pandas as pd | |
def file_split(file): | |
s = file.split(".") | |
name = ".".join(s[:-1]) # get directory name | |
return name |
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
import React, { useState, useEffect } from "react"; | |
import { List, Typography } from "antd"; | |
import { gql } from "apollo-boost"; | |
import { useQuery } from "@apollo/react-hooks"; | |
import { useSelector, useDispatch } from "react-redux"; | |
import { updateMarkdownValue, hideModal } from "../../actions"; | |
import { calculateSolitudeRepoName } from "../../utils/utils.js"; | |
import CustomButton from "../../shared/customButton/CustomButton.js"; | |
import CustomTag from "../../shared/customTag/CustomTag.js"; |
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
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
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
# Configuration for Alacritty, the GPU enhanced terminal emulator | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty it self. | |
env: | |
# TERM env customization. | |
# | |
# If this property is not set, alacritty will set it to xterm-256color. | |
# |