- Poky
git clone git://git.yoctoproject.org/poky && cd poky- OE metadata layers
| # UBI mount | |
| # source: | |
| # http://mytechrants.wordpress.com/2010/01/20/ubiubifs-on-nandsim/ | |
| # http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS | |
| modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 | |
| cat /proc/mtd | |
| ubiformat /dev/mtd0 -f system.ubi | |
| modprobe ubi mtd=0 |
| #require "bundler/capistrano" | |
| require "rvm/capistrano" | |
| # General | |
| set :application, "test_capistrano" | |
| set :domain, "test_capistrano.mxt.com.br" | |
| set :user, "mxt" | |
| set :runner, "mxt" | |
| set :use_sudo, false | |
| set :deploy_to, "/home/mxt/rails/#{application}" |
| import serial | |
| import time | |
| from messaging.sms import SmsDeliver | |
| ser=serial.Serial('/dev/ttyACM0', baudrate=9600, timeout=.1, rtscts=0) | |
| def sendCommand(com): | |
| ser.write(com+"\r\n") | |
| time.sleep(2) | |
| ret = [] |
| #1: Download do kernel | |
| #Faça o download do site oficial do kernel | |
| wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2 | |
| #2: Instalar pacotes necessários para compilação: | |
| #Se precisar de mais um pacote instale. Mas acredito que sejam apenas esses dai mesmo. | |
| pacman -S gcc make libtools patch | |
| #3: Descompactar o kernel | |
| #A pasta preferencial é a /usr/src mas vc pode descompactar em outra pasta qualquer |
| #!/bin/sh | |
| # I put all my dev stuff in here | |
| export DEV_PREFIX=$HOME/Dev/ | |
| # Don't forget to adjust this to your NDK path | |
| export ANDROID_NDK=${DEV_PREFIX}/android-ndk-r8d/ | |
| export CROSS_COMPILE=arm-linux-androideabi |
| #!/bin/bash | |
| ADB="/home/mrenouf/bin/adb" | |
| # We need root on the host to mess with networking | |
| if [[ $(whoami) != "root" ]]; then | |
| echo "You must be root to run this script!" | |
| exit 1 | |
| fi; |
Grab ffmpeg from https://www.ffmpeg.org/download.html
It's a command line tool which means you will have to type things with your keyboard instead of clicking on buttons.
The most trivial operation would be converting gifs:
ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
-crf values can go from 4 to 63. Lower values mean better quality.-b:v is the maximum allowed bitrate. Higher means better quality.| package main | |
| import ( | |
| "fmt" | |
| "http" | |
| "io/ioutil" | |
| "os" | |
| ) | |
| func main() { |