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 { |
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
| 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
| @ECHO OFF | |
| IF "%~1"=="START" GOTO START | |
| IF "%~1"=="STOP" GOTO STOP | |
| IF "%~1"=="STATUS" GOTO STATUS | |
| ECHO Wrong argument |
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
| // 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 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
| #!/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
| # ffmpeg interpolation from | |
| ## https://www.hellocatfood.com/misusing-ffmpegs-motion-interpolation-options/ | |
| ffmpeg -i lnm_faces_original.mp4 -filter:v "setpts=40*PTS,minterpolate='fps=24:scd=none:me_mode=bidir:vsbmc=1:search_param=400'" -y output.mp4 | |
| mv output.mp4 deer.head-5fps-to-25fps-30pts-search_param-400.mp4 | |
| ffmpeg -i deer.head-5fps.mp4 -filter:v "setpts=1*PTS,minterpolate='fps=24:scd=none:me_mode=bidir:vsbmc=1:search_param=400'" -y deer.head-24fps-1pts.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
| precision mediump float; | |
| // template : glsl.ergonenous-tones.com | |
| varying vec2 tcoord; // location | |
| uniform sampler2D tex; // texture one | |
| uniform sampler2D tex2; // texture two | |
| uniform vec2 tres; // size of texture (screen) | |
| uniform vec4 fparams; // 4 floats coming in | |
| uniform ivec4 iparams; // 4 ints coming in | |
| uniform float ftime; // 0.0 to 1.0 |
OlderNewer