Показаны сообщения с ярлыком linux. Показать все сообщения
Показаны сообщения с ярлыком linux. Показать все сообщения
среда, 18 января 2012 г.
вторник, 3 января 2012 г.
Разрезать большое изображение на несколько маленьких - Image Magick - Ubuntu Linux - Заметка 1
Я всегда думал и продолжаю думать, что в Линукс все очень просто...
Маленькая поправка: если знать как.
Сегодня мне надо было разрезать один большой скриншот на более маленькие так, чтобы они помещались на экране и не надо было постоянно увеличивать (исходный скриншот) и долго мотать вверх-вниз, влево-вправо...
Решение (очень простое)
Маленькая поправка: если знать как.
Сегодня мне надо было разрезать один большой скриншот на более маленькие так, чтобы они помещались на экране и не надо было постоянно увеличивать (исходный скриншот) и долго мотать вверх-вниз, влево-вправо...
Решение (очень простое)
convert big.png -crop '100x6.66%' small.png
Данная команда разрезает большую картинку на несколько маленьких,
каждая из которых имеет следующий размер: 100% от ширины исходной
картинки и 6.66% от высоты исходной картинки. Это оказалось
подходящим решением в моем случае.
Подробно на imagemagick.org
среда, 5 октября 2011 г.
Acer Iconia Tab Линукс Драйвер
Если вы пользуетесь Ubuntu или другим Linux дистрибутивом, то вам не нужно устанавливать какой-либо драйвер для того, чтобы получить доступ к Acer Iconia Tab.
Надо просто следовать этим инструкциям, чтобы установить и настроить последнюю версию Android SDK, и вот этим, чтобы Android SDK увидел ваш девайс.
That's it. See you next time.
Надо просто следовать этим инструкциям, чтобы установить и настроить последнюю версию Android SDK, и вот этим, чтобы Android SDK увидел ваш девайс.
That's it. See you next time.
вторник, 2 августа 2011 г.
Adding REAL Firefox to Debian Lenny
it's a copy of original post:
Adding REAL Firefox to Debian Lenny
December 26, 2008I realize it’s a touchy subject, but some of us prefer unmodified Firefox — including the standard Firefox icon — to Debian’s Iceweasel alternative. Here’s a three-step way to substitute Firefox for Iceweasel on a fresh Lenny install.
This procedure assumes you’ve downloaded and installed the latest Debian Lenny (aka “testing,” currently) GNU/Linux distribution, along with its standard GNOME desktop environment.
- Using Iceweasel for the last time, download Firefox to your home directory. Let’s assume the name of the file you downloaded is “firefox-3.0.5.tar.bz2″ (the current version as of this writing).
- Open up a terminal window and, as root, type the following commands (following each by hitting Enter):
apt-get remove iceweasel mv firefox-3.0.5.tar.bz2 /usr/lib/ cd /usr/lib/ tar -jxvf firefox-3.0.5.tar.bz2 ln -s /usr/lib/firefox/firefox /usr/bin/firefox
apt-get remove iceweasel; mv firefox-3.0.5.tar.bz2 /usr/lib/; cd /usr/lib/; tar -jxvf firefox-3.0.5.tar.bz2; ln -s /usr/lib/firefox/firefox /usr/bin/firefox - Finally, you’ll need a launch icon on your desktop. You can create that the standard way GNOME allows, or simply save this file to your GNOME desktop.
Well, one other point. To make use of browser plugins that have already been set up by your Debian installation, you’ll want to create a symlink from /usr/lib/firefox/plugins/ to /usr/lib/mozilla/plugins/, using this two-part command (as root):
rm -rf /usr/lib/firefox/plugins; ln -s /usr/lib/mozilla/plugins /usr/lib/firefox/plugins воскресенье, 26 декабря 2010 г.
Bash Tips for Working Faster With the Shell
"Using !! "This command is used to bring back and automatically execute the last command in history. It is the same as pressing C^P followed by Enter). Here’s an example:
debian$ cat /etc/debian_version
5.0.7
debian$ !!
cat /etc/debian_version
5.0.7
"Using !text
"Replacing ‘text’ with any command will call the last command in the history which starts with ‘text’. Example:"
debian$ cat /etc/debian_version
5.0.7
debian$ !!
cat /etc/debian_version
5.0.7
"Using !text
"Replacing ‘text’ with any command will call the last command in the history which starts with ‘text’. Example:"
Original story:
In addition:
Подписаться на:
Сообщения (Atom)