Skip to content

Instantly share code, notes, and snippets.

@kirgizmustafa17
kirgizmustafa17 / resmush.py
Created November 8, 2020 19:58
Çoğu formattaki resim dosyalarını, kayıpsız şekilde sıkıştırma yapar. Bunun için reSmush.it servisini kullanıyor ve Internet bağlantısına ihtiyaç duyar.
import sys
import os.path
import requests
import urllib
import time
file_paths = sys.argv[1:] # the first argument is the script itself
ortalama_oran = 0
donusum_sayisi = 0
@kirgizmustafa17
kirgizmustafa17 / mirrorace_upload_example.php
Created November 28, 2019 21:20 — forked from MirrorAce/mirrorace_upload_example.php
MirrorAce: Example Code that helps to upload files to MirrorAce.com via API
<?php
/* Example script to upload files to MirrorAce.com via api. */
/* Detailed information on API available at https://mirrorace.com/api. */
/* Author: MirrorAce */
/* URL: https://mirrorace.com */
//vars
$api_key = '0123456789abcdefabcdefabcdefabcd';
$api_token = '0123456789abcdefabcdefabcdefabcd';
@kirgizmustafa17
kirgizmustafa17 / install_ffmpeg_libfdkaac.sh
Created October 2, 2019 20:23 — forked from rafaelbiriba/install_ffmpeg_libfdkaac.sh
Install FFmpeg with libfdk_aac support (For Ubuntu)
# Criando um script .sh para executar todos os comandos:
#root@servidor:~# vi script.sh
#root@servidor:~# chmod +x script.sh
#root@servidor:~# ./script.sh
apt-get update
apt-get -y install autoconf automake build-essential git-core libass-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev libmp3lame-dev nasm gcc yasm && true
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git