>Removing Orphaned Packages on Archlinux

>sudo pacman -Rscnd `pacman -Qqdt`

Posted in Uncategorized | Leave a comment

>Little Tutorial FFmpeg

>source

$ sudo apt-get install ffmpeg
$ sudo pacman -S ffmpeg

$ ffmpeg -i InputFile -f OutputFormatFile -b OutputVideoRate -ar SoundFreq -ab AudioBitrate -s VideoOutputDimension name-file.OutputFormatFile

example

$ ffmpeg -i xxx.avi -f flv -b 768 -ar 22500  -ab 96 -s 700×400 xxx1.flv

Posted in Uncategorized | Leave a comment

>Installasi Kalkun

>Download kalkun di http://kalkun.sf.net atau http://kalkun.sourceforge.net

extract kalkun ke /srv/http

dengan folder kalkun

edit
$ geany /srv/http/kalkun/system/application/config/database.php
Cek di file tsb pada bagian :

$db[‘default’][‘hostname’] = “localhost”;
$db[‘default’][‘username’] = “root”;
$db[‘default’][‘password’] = “123456”; (sesuaikan dengan pass mysql)
$db[‘default’][‘database’] = “kalkun”;
$db[‘default’][‘dbdriver’] = “mysql”;

$sudo gammu-smsd start
Pastikan tidak ada error
buka browser
http://localhost/kalkun/index.php/install

cukup next2 finish saja…

http://localhost/kalkun

username kalkun
password kalkun

Posted in Uncategorized | Leave a comment

>Setting MySQL database untuk Kalkun dan Gammu-smsd

>pertama butuh lamp-server / xamp-server , bisa diunduh di http://www.apachefriends.org

$ sudo pacman -S apache mysql php phpmcrypt phpmyadmin php-apache

mohon di cek lg untuk penginstallan, sesuai dengan distro anda…
kemudian setelah selesai

$sudo geany /etc/httpd/conf/httpd.conf

cari bagian LoadModule unique_id_module modules/mod_unique_id.so dan beri comment yaitu berupa ; “titik koma”



kemudian tmbahkan

LoadModule php5_module modules/libphp5.so



$sudo /etc/rc.d/httpd start


untuk melakukan tes, silakan akses localhost melalui browser anda.
Untuk apache cukup segitu.


Sekarang lanjut ke mysqlnya


karna ini new install maka mysql belum ada user dan passnya…
maka kita buat


$ mysqladmin -u root password NEWPASSWORD


lalu kita login


$ mysqladmin -u root -p


lalu tekan enter, msukan password yg tadi telah di buat…
lalu akan muncu


mysql >


nah di sinilah kita akan membuat database


mysql > create database kalkun;


mysql > exit


kemudian kita akan lanjut mengatur phpmyadmin
agar phpmyadmin berjalan kita juga perlu melakukan sedikit setting pada


$ sudo geany /etc/httpd/conf/httpd.conf


tmbhkan pada sekitar LoadModules


LoadModule php5_module modules/libphp5.so


Dan 

# Use for PHP 5.x:
LoadModule php5_module        modules/libphp5.so
AddHandler php5-script php

kemudian cari bgian

# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

    DirectoryIndex index.html



ganti dngan

# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

    DirectoryIndex index.html index.php



karna penginstall phpmyadmin yg baru tidak berada di /srv/htpp
maka kita melakukan ln “linking”


$sudo ln -s /usr/share/webapps/phpMyAdmin /srv/http/phpmyadmin


sekarang mencapai thap akhir


$sudo geany /etc/php/php.ini


kemudian uncomment

extension=bz2.so
extension=gettext.so
extension=json.so
extension=mcrypt.so
extension=mysql.so
extension=zip.so

kemudian ganti 

[mcrypt]
; For more information about mcrypt settings see http://php.net/mcrypt-module-open

; Directory where to load mcrypt algorithms
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
; mcrypt.algorithms_dir=/usr/local/lib/libmcrypt

; Directory where to load mcrypt modes
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
; mcrypt.modes_dir=/usr/local/lib/libmcrypt
dengan

[mcrypt]
; For more information about mcrypt settings see http://php.net/mcrypt-module-open

; Directory where to load mcrypt algorithms
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
mcrypt.algorithms_dir=/usr/local/lib/libmcrypt

; Directory where to load mcrypt modes
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
mcrypt.modes_dir=/usr/local/lib/libmcrypt

Dan save, restart httpd
$sudo /etc/rc.d/httpd restart

Lalu sekarang sila akses http://localhost/phpmyadmin
login dengan root dan passmysql anda, yg telah di buat tadi…
akan load, ada database kalkun… klik database kalkun… 
kemudian akan terlihat kita di suruh membuat tables…
klik tab import
tapi tables tersebut kita bisa import dari /usr/share/doc/gammu/examples/sql/mysql.sql
kemudian close… cukup sudah,, selanjutnya tinggal pemasangan kalkun

Posted in Uncategorized | Leave a comment

>Gammu SMSD

>$ sudo pacman -S gammu

u must check ur installation method depends on your distro,,,
then
$ sudo geany /etc/gammurc
iam using K608i phone so

[gammu]
port=/dev/ttyACM0
connection=at
name=Ericsson K608i
model=

here u must know ur phone/modem check here http://wammu.eu/phones/
and copy-paste configuration for ur phone or modem

$sudo geany /etc/gammu-smsdrc
here is ur gammu-smsd configuration

[gammu]
port = /dev/ttyACM0
connection = at


[smsd]
PIN = 
service = sql
driver = native_mysql
DeliveryReport = sms
logfile = /etc/smsdlog
debuglevel = 1


# Change this to your mysql config
User = mysqluser
Password = mysqlpass
Host = localhost
Database = kalkun

u can see that bold font, it ur device… after u know it, just paste there…
after this there is lamp-server for gammu-smsd database

Posted in Uncategorized | Leave a comment

>Tint2-SVN

>Why tint2-SVN ??? Just because it support launcher 😀

How to Install

tint2-svn support launcher
ubuntu : sudo aptitude install libcairo2-dev libpango1.0-dev libglib2.0-dev libimlib2-dev libxinerama-dev libx11-d​ev libxdamage-dev libxcomposite-dev libxrender-dev libxrandr-dev libgtk2.0-dev
debian :  apt-get install libcairo2-dev libpango1.0-dev libgtk2.0-dev

 libglib2.0-dev libimlib2-dev libxinerama-dev libx11-dev ​libxdamage-dev libxcomposite-dev libxrender-dev libxrandr-dev

gentoo : 
emerge -av cairo pango glib:2 imlib2 libXinerama libX11 libXdamage libXcomposite libXrender libXrandr
then install subversion and cmake
ubuntu : sudo aptitude install subversion cmake “also install this package cmake and subversion” name can be different depends on distro”
NB : got error on ubuntu that because libgtk2.0-dev

then
svn checkout http://tint2.googlecode.com/svn/trunk/tint2-read-only
then check your home
ada folder tint2-read-only
now playing with with terminal
openup ur favorit terminal
cd ~/tint2-read-only
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
make
sudo make install
that’s it… my tint2-svn config 😀 photos here 
copy and edit as you like
#——————————————————————————————–
#———————————————
# TINT2 CONFIG FILE
#———————————————
#———————————————
# BACKGROUND AND BORDER
#———————————————
rounded = 7
border_width = 2
background_color = #000000 60
border_color = #ffffff 0
rounded = 5
border_width = 2
background_color = #000000 70
border_color = #ffffff 18
rounded = 5
border_width = 2
background_color = #ffffff 18
border_color = #000000 70
#———————————————
# PANEL
#———————————————
panel_layer = below
panel_monitor = all
panel_position = center right vertical
panel_size = 100% 140
panel_margin = 0 0
panel_padding = 0 0
font_shadow = 0
panel_background_id = 1
wm_menu = 1
panel_items = LTBSC
#———————————————
# LAUNCHER
#———————————————
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/lxterminal.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/chromium.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/firefox.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/sylpheed.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/pidgin.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/gufw.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/lxtask.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/guvcview.desktop
launcher_icon_theme = Faenza
launcher_padding = 2 3 2
launcher_background_id = 3
launcher_icon_size = 32
launcher_item_app = /usr/share/applications/pcmanfm.desktop
#——————-
————————–
# TASKBAR
#———————————————
taskbar_mode = multi_desktop
#taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
#———————————————
# TASKS
#———————————————
task_icon = 0
task_text = 1
task_maximum_size = 0 48
task_centered = 1
task_padding = 6 3
task_font = snap 8
task_font_color = #ffffff 100
task_active_font_color = #ffffff 100
task_background_id = 2
task_active_background_id = 3
task_tooltip = 1
urgent_nb_of_blink = 100
#———————————————
# TOOLTIP
#———————————————
tooltip_padding = 2 2
tooltip_show_timeout = .5
tooltip_hide_timeout = .5
tooltip_background_id = 1
tooltip_font_color = #ffffff 100
tooltip_font = snap bold 10
#———————————————
# SYSTRAYBAR
#———————————————
systray = 1
systray_padding = 2 3 2
systray_background_id = 3
systray_icon_size = 24
systray_sort = right2left
#———————————————
# BATTERY
#———————————————
battery = 1
battery_hide = never
battery_low_status = 7
battery_low_cmd = notify-send “battery low”
bat1_font = snap bold 10
battery_font_color = #ffffff 100
battery_padding = 3 2
battery_background_id = 0
#———————————————
# CLOCK
#———————————————
time1_format = %A, %d %B %Y
time2_format = %H:%M 
time1_font = snap 10
time2_font = snap 10
clock_font_color = #ffffff 85
clock_padding = 1 0
clock_background_id = 0
#———————————————
# MOUSE ACTION ON TASK
#———————————————
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
Posted in Uncategorized | Leave a comment

>Blokir Situs Porno Squid

>sudo apt-get install squid , sesuaikan dengan distro ada yg squid atau squid3 penamaanya…
squid –version

1. buat file/etc/squid/badurl.txt
2. msukan situs2 yg ingin do block
3. tmbahkan pd /etc/squid/squid.conf
4. acl bad_url dstdomain “/etc/squid/badurl.txt”
5. dan http_access2 deny bad_url
6. squid -k reconfigure
7. tentu saja menggunakan sudo
di sini asumsi telah bisa berjalan seperti biasa,,, dan browser telah di atur melewati squid proxy
daftar badurl.txt
www.youporn.com
playboy.com
penthouse.com
duniasex.com
17tahun.com
17tahun.us
bangbros.com
xnxx.com
xvideos.com
perawan.us
semprot.us
4t
ube.com
tube8.com
maho.com
phonesex.com
animalsex.com
japanessex.com
adult.com
nudevista.com
Freeones.com
Royalporngalleries.com
Xvideoz.com
Private.com
sleepassault.com
redtube.com
sexocean.com
89.com
bestjav4u.info/en
idols98.com
slutload.com
indoBB.org
lolastube.com
sashagrey.dot.com
youjizz.com
sexvnonline.com
empflix.com
www.cerdas.com
www.xvideos.com
hqvid.com
tokyoporn.com
worldsex.com
monicastube.com
cucumbertube.com
pandamovies.com
porn.com
pornhub.com
indobokepz.us
meatspin.com
nobrain.dk
sukatoro.com
kerangbulu.com
badjojo.com
xhamster.com
keezmovies.com
indobokepz.com
kaskus.org
usporn.com
pichunter.com
yboth.com
hcomicbook.com
Posted in Uncategorized | Leave a comment

>Simple Menu Transparency Trick with Compiz

>

Open ccsm  first
In the Opacity Windows text field, you have to input a pipe-separated list of window types to which you want to apply the transparency. I use the following string:
Tooltip | Menu | PopupMenu | DropdownMenu

Then I set the Opacity Window Values field to 90 to indicate that windows of the previously specified types should be 90 percent opaque and 10 percent transparent.
You can also use more elaborate window matching strings that use window class, role, and title. For instance, I like to make all of my Pidgin conversation windows slightly transparent, but not the buddy list. In order to do that, I assign 95 percent opacity to all windows that use the Pidgin class and use the buddy list window title to exclude it from the match list. This is the string I use in the Opacity Windows text box for my Pidgin transparency:
class=Pidgin & !title=Buddy List
Posted in Uncategorized | Leave a comment

>Simple Trick for Making ISO Image from CD

>

1. Insert the CD or DVD that you want to make an ISO image of.
2. Open a terminal window.
3. Execute the following command:cat /dev/scd0 > /home/shamanstears/test.iso
where /dev/scd0 is the device name for your drive (to find this, go to the Main Menu, click on System, mouseover Administration and select System Monitor. Click the File Systems tab. The device name will be listed in the Devicecolumn). Also make sure to change the path and iso filename to the desired path and filename.
Posted in Uncategorized | Leave a comment

>Plugins Resize Compiz

>On my arch, i got a flickerring when resizing windows…
the simple trick you can do is change resize window plugins from normal to another modes…
now i use scretch mode… another explain check here

Posted in Uncategorized | Leave a comment