This guide supports Ubuntu Precise Pangolin 12.04, Ubuntu Oneiric Ocelot 11.10, Ubuntu Natty Narwhal 11.04, and Ubuntu Maverick Meerkat 10.10. Separate guides are available for Ubuntu Lucid Lynx 10.04 and Ubuntu Hardy Heron 8.04. This guide will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [Filtering Guide](https://ffmpeg.org/trac/ffmpeg/wiki/Fi
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/sh | |
# Convert widescreen-clips to mp4 for android | |
# http://www.linux.org.ru/forum/mobile/5042707 | |
# How to compile FFMPEG: | |
# https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide | |
INPUT="$1" | |
if [ ! -f "$INPUT" ] ; then | |
echo File $INPUT not found |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Bassed on https://gist.github.com/2494781 | |
# Topmenu and the submenus are based of the example found at this location http://blog.skeltonnetworks.com/2010/03/python-curses-custom-menu/ | |
# The rest of the work was done by Matthew Bennett and he requests you keep these two mentions when you reuse the code :-) | |
# Basic code refactoring by Andrew Scheller | |
import os | |
import sys |
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
/help | |
Вывод списка команд с некоторым описанием. | |
Работает как в Win7 так и в Ubuntu. | |
/add [Skype_Name] | |
Добавляет пользователя Skype_Name к чату. | |
Win7 — работает, при этом если чат был изначально с 1 собеседником, групповой чат создается в новом окне, иначе контакт добавляется в это же окно. | |
Ubuntu — работает групповой чат создается в окне в котором была введена команда. | |
/alertsoff |
-
Download JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
-
Unpack archive (name of archive could be different due to newest JDK version):
tar -xvf ./jdk-7u9-linux-i586.tar.gz
-
Create directory for JDK:
sudo mkdir /usr/lib/jvm/java-7u9-jdk-i586
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
/etc/rc.local: | |
#!/bin/sh -e | |
# | |
# rc.local | |
# | |
watch -t -n 1 sh -c "echo -en ''; date '+%d.%m.%y' | figlet -w 70 -c; date '+%H:%M' | figlet -w 70 -c -f banner; cat /tmp/unntweather" & | |
exit 0 |
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
### Install Ubuntu font ### | |
1. Let’s work from your Downloads folder. | |
cd ~/Downloads | |
2. Download the Ubuntu Fonts package from Ubuntu. | |
wget http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip | |
3. Extra the downloaded zip file. | |
unzip ubuntu-font-family-0.80.zip | |
4. Rename the extracted directory. (Not a must) | |
mv ubuntu-font-family-0.80 ubuntu-font-family | |
5. Copy the extracted directory to the system shared fonts directory. |
dpkg -l | grep ii | awk '{print $2}' | \
grep -E 'linux-(image|headers|ubuntu-modules|restricted-modules)' | \
grep -vE 'linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)' | \
grep -v $(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g') | \
xargs apt-get -y purge
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
Follow these instructions to enable Java in your web browser on Ubuntu Linux. | |
Google Chrome | |
Become the root user by running the su command and then enter the super-user password. Type: | |
sudo -s | |
Create a directory called plugins if you do not have it. Type: | |
mkdir -p /opt/google/chrome/plugins | |
Go to Google chrome plugins directory before you make the symbolic link. Type: | |
cd /opt/google/chrome/plugins | |
Create a symbolic link. Type: |
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
protected WebDriver driver; | |
private void startFirefoxDriver() { | |
//driver = new FirefoxDriver(); | |
FirefoxBinary binary = new FirefoxBinary(new File("/Users/username/Downloads/Firefox.app/Contents/MacOS/firefox-bin")); | |
FirefoxProfile profile = new FirefoxProfile(); | |
this.driver = new FirefoxDriver(binary, profile); | |
} |
OlderNewer