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
#!/bin/bash | |
# Usage | |
# | |
# run `gethub githubuser/repo` | |
# example `gethub github/markup` | |
pName=$1 |
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
/* -------------- MultiLEDPWM -------------- *\ | |
| By: Shelby Jueden | | |
| Date: 2016-05-06 | | |
| | | |
| Description: This is a software PWM Library | | |
| that has 4 animations and a cycling mode. | | |
| It's designed to be used with a line of | | |
| LEDs. | | |
\*-------------------------------------------*/ |
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
#!/bin/bash | |
# Get list of files from input directory | |
files=("$(ls input)") | |
# Output extension | |
outType=".mp4" | |
# Iterate over files | |
for file in $files |
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
set background=dark | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif | |
set t_Co=256 | |
let g:colors_name = "akbkuku" |
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
; generated by Slic3r 1.3.0-dev on 2017-12-13 at 21:25:41 | |
; external perimeters extrusion width = 0.40mm (0.29mm^3/s) | |
; perimeters extrusion width = 0.68mm (1.00mm^3/s) | |
; infill extrusion width = 1.20mm (4.76mm^3/s) | |
; solid infill extrusion width = 0.68mm (0.67mm^3/s) | |
; top infill extrusion width = 0.68mm (0.50mm^3/s) | |
; support material extrusion width = 0.40mm (1.17mm^3/s) | |
M107 |
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
start | |
echo: External Reset | |
Marlin 1.1.7 | |
echo: Last Updated: 2017-12-15 12:00 | Author: (Bob Kuhn, Anet config) | |
echo:Compiled: Dec 17 2017 | |
echo: Free Memory: 12070 PlannerBufferBytes: 1232 | |
echo:V47 stored settings retrieved (774 bytes; crc 54390) | |
echo: G21 ; Units in mm | |
echo: M149 C ; Units in Celsius |
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
start | |
echo: External Reset | |
Marlin 1.1.7 | |
echo: Last Updated: 2017-12-15 12:00 | Author: (Bob Kuhn, Anet config) | |
echo:Compiled: Dec 16 2017 | |
echo: Free Memory: 11898 PlannerBufferBytes: 1232 | |
echo:V47 stored settings retrieved (774 bytes; crc 54390) | |
echo: G21 ; Units in mm | |
echo: M149 C ; Units in Celsius |
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
#!/bin/bash | |
echo "Stitching Sprites" | |
function getImageFiles () | |
{ | |
# Get images name | |
dirname="$(pwd | tr '/' ' ' | awk '{print $(NF)}')" | |
filename="$dirname" | |
files=($(ls)) |
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
#!/bin/bash | |
# Usage | |
# | |
# run `gethub githubuser/repo` | |
# example `gethub github/markup` | |
# checkDir | |
# Checks to see if a directory exists and creates it and any directories needed to get to it. | |
function checkDir () |
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
#!/bin/bash | |
BATTERY=$(upower -e | grep battery ) | |
BATSTAT="$(upower -i $BATTERY)" | |
TERMWIDTH=$(tput cols) | |
percent="$(echo "$BATSTAT" | grep percentage | awk '{print $2}')" | |
percent=${percent:0:$(expr ${#percent} - 1)} | |
if [ "t$1" != "t" ] | |
then | |
TERMWIDTH=$1 |
OlderNewer