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
| <?php | |
| /* add to an email or on a website like this: | |
| <img alt="" width="1" height="1" src="pixel.php?e=jim.smith@qwerty.com&fn=jim&ln=smith&c=testing"> | |
| the information will be logged. | |
| this approach has some limitations, so if you expect heavy volumes you might try something else. | |
| */ |
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
| Combine, Crop, and Remove similar frames | |
| find *.mkv | sed 's:\ :\\\ :g'| sed 's/^/file /' > fl.txt; ffmpeg -f concat -i fl.txt -filter:v "crop=704:452:0:28",mpdecimate=hi=1536:lo=640:frac=0.5,setpts=N/FRAME_RATE/TB -qscale:v 2 ../output.mp4 | |
| Adjust speed to your liking | |
| ffmpeg -i input.mp4 -r 30 -filter:v "setpts=0.01*PTS" -q:v 10 ouput.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
| #notes: | |
| #follow the instructions on https://github.com/ottokiksmaler/gear360_modding to get to the point of opening the Gear 360's web server -- http://192.168.43.1:8888 | |
| #the below series of commands when pasted & executed in the "Execute a command" box will produce 14 bracketed exposures. | |
| #14 exposures is probably overkill. I think probably 5 would work fine. (Maybe 1/8th - 1/2000th) | |
| #The first section sets several variables. For the full list see https://github.com/ottokiksmaler/nx500_nx1_modding/blob/master/ST_CAP_CAPDTM.md | |
| #30 = USERDATA_ISONR -- turn off ISO noise removal | |
| #31 = USERDATA_LTNR -- turn off long exposure noise removal | |
| #5 = USERDATA_ISO -- set ISO to 100 |
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 | |
| #place in a folder with gear 360 images, and it'll split them into the two images. | |
| if [ ! -d "split" ] | |
| then | |
| mkdir split | |
| fi | |
| for i in * |
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
| FILENAME="domains.txt" | |
| LINES=$(cat $FILENAME) | |
| echo "Domain, Version" > domains_with_versions.csv | |
| for LINE in $LINES | |
| do | |
| CHECKLOCATION="${LINE}/feed/" |
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
| <script> | |
| function equalHeight(group) { | |
| var tallest = 0; | |
| group.each(function() { | |
| var thisHeight = $(this).height(); | |
| if(thisHeight > tallest) { | |
| tallest = thisHeight; | |
| } | |
| }); | |
| group.height(tallest); |
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
| background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect style='fill:rgb(41,114,183);' width='100%' height='100%' opacity='0.75' /></svg>"), url('img/background.jpg'); |
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
| find *.xml -exec xmllint --schema Schema.xsd --noout {} \; |
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
| <pre> | |
| <?php | |
| //built to generate a json file for https://wordpress.org/plugins/redirection/ | |
| //might want to run this through a json validator before uploading. there isnt any checking to make sure things worked correctly | |
| //paste two columns from excel here. | |
| //make sure to have trailing slashes | |
| $data = "/thing/asdf/ /other-thing/qwerty/ | |
| /ideas/ /better-ideas/"; |
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
| rename "s/[\s()]/_/g" *; rename "s/_+/_/g" * ; find *.pdf -exec convert -colorspace sRGB -density 150 {} -background white -alpha remove -alpha off -resize 1600x1600 -quality 100 {}.jpg \; |