ffmpeg -i video.mp4 -vn -acodec copy audio.aac
ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4
ffmpeg -i input.mp4 -r 10 agif_r10_320x180.gif -hide_banner
| /* | |
| Türkiye İl ve İlçelerin enlem boylam bilgileri (dörtgen olarak sınır pozisyonlarıyla birlikte) kaynak : google maps (başarsoft) | |
| twitter : http://twitter.com/tserpico | |
| */ | |
| DROP TABLE IF EXISTS `pk_il`; | |
| CREATE TABLE `pk_il` ( | |
| `il_id` int(2) NOT NULL COMMENT 'plaka kodu', | |
| `il_adi` varchar(255) NOT NULL, | |
| `lat` double(20,8) DEFAULT NULL COMMENT 'enlem', | 
| var waitForEl = function(selector, callback) { | |
| if (jQuery(selector).length) { | |
| callback(); | |
| } else { | |
| setTimeout(function() { | |
| waitForEl(selector, callback); | |
| }, 100); | |
| } | |
| }; | 
| <!doctype html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="vcard2.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| // With helper methods | |
| var fooBar = vCard.create(vCard.Version.FOUR) | |
| fooBar.addFormattedname("Mr Foo Bar") | 
| .img-container { | |
| position: relative; | |
| padding-bottom: 56.25%; /* 16:9 ratio */ | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| .img-container img { | |
| position: absolute; | |
| top: 0; | 
| #1/bin/bash | |
| # run this script in the directory containing your luts | |
| for file in * | |
| do | |
| gmic -input_cube "$file" -r 64,64,64,3,3 -r 512,512,1,3,-1 -o "$file".png | |
| done | 
ffmpeg -i video.mp4 -vn -acodec copy audio.aac
ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4
ffmpeg -i input.mp4 -r 10 agif_r10_320x180.gif -hide_banner
| // forked from: https://github.com/chebyrash/cors | |
| addEventListener("fetch", event => { | |
| event.respondWith(handleRequest(event.request)) | |
| }) | |
| async function handleRequest(request) { | |
| try { | |
| const url = new URL(request.url); | |
| if (url.pathname === "/") { | 
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |