- Menu and toobars
This file contains 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
/* | |
we create 2 separate arrays of letters and count | |
the number of characters resulting from the | |
original precedence array. | |
we look up the index of each letter from first letter | |
array and follow the index of the next letter. | |
*/ | |
function findWord(a){ | |
console.log(a); |
I hereby claim:
- I am mrprofessor on github.
- I am mrprofessor (https://keybase.io/mrprofessor) on keybase.
- I have a public key whose fingerprint is 0A61 953B 5E3D 034B 5833 9C8A E9F4 A875 E319 21FF
To claim this, I am signing this object:
This file contains 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. | |
# |
This file contains 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 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 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 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 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" |
NewerOlder