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
{ | |
"keyframe0": { | |
"rotation": [ | |
0.7695927139035983, | |
0.012795847710104183, | |
-0.6384068616390914, | |
-0.18616210729443372, | |
0.9608611041412123, | |
-0.20515752083759037, | |
0.6107951575726431, |
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 | |
if [[ "$#" -ne 1 ]]; then | |
echo "Usage: ./rename.sh .<extension>"; | |
echo "Example: ./rename.sh .png"; | |
exit | |
fi | |
# Set file extension from outside | |
extension=$1 | |
SAVEIFS=$IFS |
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 python3 | |
import os | |
import sys | |
import networkx as nx | |
from networkx.drawing.nx_pydot import write_dot | |
filename = sys.argv[1] if len(sys.argv) > 1 else "output.dot" | |
FILE_SIZE_LIMIT = 5 * 1024 * 1024 # bytes |
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 python3 | |
import sys | |
import json | |
from selenium import webdriver | |
from selenium.webdriver.support.wait import WebDriverWait | |
if __name__ == '__main__': | |
options = webdriver.ChromeOptions() | |
options.add_argument('--no-sandbox') |
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
{ | |
"keyframe0": { | |
"rotation": [ | |
0.2955272102560261, | |
0.28095008733329574, | |
0.9130885589173175, | |
0.31921172384826174, | |
0.8718056325413622, | |
-0.37156266554509537, | |
-0.9004263120078797, |
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
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind \ split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % |
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
if [[ -z "$TMUX" ]] && [ "$SSH_CONNECTION" != "" ]; then | |
tmux attach-session -t $(hostname) || tmux new-session -s $(hostname) | |
fi |
OlderNewer