Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
package main | |
import ( | |
iconv "github.com/djimenez/iconv-go" | |
"io/ioutil" | |
"log" | |
"net/http" |
This installation is going to require 2 servers one acts as kerberos KDC server
and the other machine is going to be client. Lets assume the FQDN's are (here
cw.com
is the domain name, make a note of the domain name here):
Important: Make sure that both systems have their hostnames properly set and both systems have the hostnames and IP addresses of both systems in
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
Quick tip. It is possible to download media with small python script.
Goto https://my.telegram.org and generate api id and api hash
Install Telethon library with pip3 install telethon
Run saveAllMedia.py (replace api_id, api_hash and username with your values).
If you need proxy install https://github.com/Anorov/PySocks pip install PySocks
This code downloads all media from the dialog with username user/chat/channel in current directory.
#!/usr/bin/env python3 | |
""" | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import logging | |
class S(BaseHTTPRequestHandler): |
###Pikachu A | |
proxmark3> hf mfu info | |
--- Tag Information --------- | |
------------------------------------------------------------- | |
TYPE : NTAG 215 504bytes (NT2H1511G0DU) | |
UID : 04 a6 16 72 61 3e 80 | |
UID[0] : 04, NXP Semiconductors Germany | |
BCC0 : 3C, Ok | |
BCC1 : AD, Ok |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
select o.created,o.last_ddl_time | |
from user_objects o | |
where o.object_name='MY_VIEW' and o.object_type='VIEW'; |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
from decimal import Decimal | |
from datetime import datetime | |
try: | |
import requests | |
import simplejson as json |