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 | |
for folder in ./* ; do | |
echo -e "${folder}" | |
# ffmpeg -i input.file -q:v 0 -g 1 output.file | |
# ffmpeg -r 1/5 -i img%03d.png -c:v libx264 -vf fps=25 -pix_fmt yuv420p out.mp4 | |
fBasename=$(basename "${folder}") | |
echo -e "${fBasename} ---" | |
ffmpeg -r 24 -i "${folder}/%04d.png" -c:v libx264 -q:v 0 -g 1 -vf fps=24 -pix_fmt yuv420p ${fBasename}.mp4 | |
# ffmpeg -r 24 -i "./Cube/%04d.png" -c:v libx264 -q:v 0 -g 1 -vf fps=24 -pix_fmt yuv420p test.mp4 |
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
for i in *.CR2; do sips -s format jpeg $i --out "${i%.*}.jpg"; done | |
## if you want to choose the color profile | |
for i in *.NEF; do sips -s format jpeg --matchTo "/System/Library/ColorSync/Profiles/sRGB Profile.icc" $i --out "${i%.*}.jpg"; done |
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
// init some variables | |
t_jit_matrix_info out2_minfo; | |
char* out2_bp; | |
jit_object_method(out2_matrix, _jit_sym_getinfo, &out2_minfo); | |
jit_object_method(out2_matrix, _jit_sym_getdata, &out2_bp); | |
// the array | |
long total = 30; | |
long* array = new long[total * 3]; |
This file has been truncated, but you can view the full file.
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
; generated by Slic3r 1.3.0 on 2020-05-31 at 20:03:30 | |
; external perimeters extrusion width = 0.40mm (1.95mm^3/s) | |
; perimeters extrusion width = 0.40mm (3.90mm^3/s) | |
; infill extrusion width = 0.27mm (2.50mm^3/s) | |
; solid infill extrusion width = 0.27mm (0.83mm^3/s) | |
; top infill extrusion width = 0.27mm (0.62mm^3/s) | |
; support material extrusion width = 0.40mm (3.25mm^3/s) | |
M107 |
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
@ECHO OFF | |
IF "%~1"=="START" GOTO START | |
IF "%~1"=="STOP" GOTO STOP | |
IF "%~1"=="STATUS" GOTO STATUS | |
ECHO Wrong argument |
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
git config credential.username "username" | |
git config user.email "[email protected]" | |
git config user.name "Name Surname" |
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
# infinite loop animated gif | |
convert -loop 0 -delay 100 img1.png img2.png out.gif |
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
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI.Extensions; | |
/* | |
* Works with UI Line Renderer, easily replacable with the standard Unity LineRenderer | |
*/ | |
public class RandomGraph : MonoBehaviour { |
NewerOlder