Tuesday, November 17, 2009

How to save Cydia sources entered manually

Navigate to /private/etc/apt/sources.list.d/

save cydia.list

next time, replace to the same location before fire up cydia.


Enable vi ksh command line editing

type: set -o vi

or add it to .kshrc

done!!

Thursday, July 9, 2009

Personal Alpha Software








From the site:
The PersonalAlpha software lets you run your Alpha/OpenVMS software on a standard Personal Computer. Imagine running your VMS and Tru64 programs on your office PC, notebook or computer at home. Develop, test and run OpenVMS/Tru64 applications wherever you are.

PersonalAlpha is the 32-bit introduction to a suite of 64-bit Alpha Virtualization Software products that Emulators International has available. These solutions allow you to replace your Alpha computers without changing its applications. We have software available for most AlphaServer systems like the AlphaServer 300, 400, 800, 1x00, 2x00 and 4x00, AlphaStation 2x0, DS and the DEC3000-AXP series.

Friday, June 26, 2009

fix "this device is not made to work with iphone", water damage

upload this file to

/System/Library/PrivateFrameworks/IAP.framework/Support/

#chmod 755 * ; chown root:wheel *

dont be afraid of the * there is nothing else there


88888888 this file is cracked and is no legal, use it under ur own risk 88888888

CAUTION: THIS DISABLES LINE OUT ON DOCK

my post on hackintosh: http://www.hackint0sh.org/forum/f127/53420.htm#post421582

Saturday, May 23, 2009

OpenVMS Commands with unix equivalents

Ok, Lets start w/ VMS here's a useful list of VMS / Unix equivalency commands



APPEND
cat concatenates files. If contents of file1 need to be placed at the end of file2 issue the following unix command.cat file1 >> file2
x=,x:=
= (Bourne and Korn) , set (C shell)
x==,x:==
same as = followed by export
ASSIGN,DEFINE
if file,directory alias definition: ln , ln -s hard and soft links
DEFINE
variable definitions (no real equivalent!)
DIRECTORY
ls
ATTACH
fg
BACKUP
tar or pax : back up files into a tar file.
/INIT
tar -c or pax : Restore files.
/LIST
tar -t : List contents.
/LOG
tar -v : Report progress.
/NOREWIND
tar -r : Write at end of existing backup (tar) files.
/RECORD
tar -m : Update file's modification date upon restore.
COPY
cp : Copy a file
COPY
ftp : Copy to/from a nontrusted remote host.
COPY
rcp : Copy to/from a trusted remote host.
COPY/CONFIRM
cp -i : Confirm before copying.
CREATE
touch : Create or update a file.
CREATE/DIRECTORY
mkdir : Create a subdirectory.
CREATE filename
cat <
CREATE filename
cat
DEBUG
dbx : Debug a program.
DELETE
rm : Delete a file.
/CONFIRM
rm -i : Confirm deletion.
/ENTRY
lprm : Remove queued line printer job.
/QUEUE
lprm -P : Remove all jobs from the queue.
/LOG
rm -e : Delete files and list them as they are deleted.
/SYMBOL
unset : Get rid of an environment variable.
DELETE
rmdir : Delete an empty subdirectory.
DIFFERENCES
diff : Display all differences in files or directories.
DIFF/MAXIMUM_DIFF=1
cmp : Display first difference in two files (typically used with binary files).
DIFF/NUMBER NL:
cat -n : Display a file with line numbers.
DIFF/SLP
diff - e : Generate editing changes for the ed editor.
DIRECTORY [...]
ls -R : Do a recursive directory/list of files.
DIRECTORY [...]
find : Find a file
DIRECTORY *.DIR
ls -d : List directory name(s) only ls -Rd
DIRECTORY
ls : List files.
/BY_OWNER
ls -l dir | grep owner : List only those files owned by a specifed user.
/COLUMN
ls -1 : List one file per line.
/DATE
ls -c : List by creation/last modification.
/FULL
ls -l : Long listing.
/TOTAL
du : Summarize disk usage.
/MODIFIED/SINCE [...]
find -mtime +n : Modified more than n days ago.
/MODIFIED /BEFORE [...]
find -mtime +n : Modified more than n days ago.
/OWNER
ls -g : Include group (used with |).
/SIZE
ls -s : Include size.
DISMOUNT/UNLOAD
mt rewofmt offline : Rewind and unload the tape.
DUMP
od : Dump a file in various formats.
/HEXADECIMAL
od -h : Hexadecimal dump.
/OCTAL
od -o : Octal dump.
EDIT/EDT,EDIT/EVE,EVE
vi : Screen editor session.
EDIT/RECOVER
vi -r : Recover a screen editing session.
EXCHANGE
dd : Back up, restore, and convert nonstandard files.
EXIT
exit : Terminate a script.
HELP
man : Display online reference pages.
HELP HINTS
man -k topic : Display a list of commands that correspond to the specified topic.
INQUIRE/NOPUNCTUATION
read choice? : Prompt for a responce and put the response into an environment variable.
INITIALIZE device:
fddisk -fmt device : Format a diskette.
LIBRARY
ar : Library maintainer.
/CREATE
ar -cr : Create library.
/EXTRACT
ar -x : Extract modules.
/INSERT
ar -q : Insert modules.
/LIST
ar -t : List modules.
/REPLACE
ar -r : Replace modules.
LINK
ld : Link compiled source code into an executable image.
login procedure
.login .cshrc .profile .kshrc
Set of commands automatically executed at login time.
On OpenVMS, LOGIN/CLI specifies an alternate command language interpreter.
LOGOUT
logout C shell exit Bourne and Korn shell Terminate a terminal session.
MAIL
mail : Invoke the mail utility.
MERGE
sort -m : Merge sorted files.
MOUNT
mount : Mount a tape.
ON COUNTROL_C THEN
trap 2 : Enable handler for Stop signal.
ON CONTROL_Y
onintr : On interrupt.
PHONE
talk tty name : Communicate interactively with another user.
PRINT
lpr : Print a file on the default line printer.
/COPIES=n
lpr -#n : Print n copies.
/DELETE
lpr -r : Remove file after printing
/FORM
lpr -ln : Make page n lines (default = 66)
/FORM
lpr -n : Print n column output.
/FORM
lpr -wn : Set line width to n
/HEADER
pr -h string | lpr : Print a header on each page.
/NAME=jobname
lpr -Jjobname : Include job name on the first page of the job.
/NOFLAG
lpr -h : Print with no header page.
/NOTIFY
lpr -m : Send mail upon completion.
/PAGES=(n,?)
lpr +n : Begin printing on page n.
/QUEUE
lpr -Pqueue : Print a file on the specified queue.
READ
read : Read input (korn shell)
RECALL/ALL
history : Recall command lines
REPLY/USER
write : Send a brief message to a logged-in user
RENAME
mv : move/rename a file(s)
RENAME/CONFIRM
mv -i : confirm the move/rename of a file(s)
SEARCH
grep : Search files for strings.
/MATCH=NOR
grep -v : List only lines that do not match
/NOEXACT
grep -i : Ignore case distinctions.
/NUMBERS
grep -n : Precede each match with line number.
/STATISTICS
grep -c : List only a file name that contains match
/WINDOW=0
grep -l : Return only file name(s) that contains match
file pattern/WINDOW=5
more -5 +/pattern file : Display search line plus two lines before and after. (Terminate with q).
file pattern/WIND=(5,0)
cat file | more -5+pattern : Display search line plus next five lines.



You can find more equivalency lists at :


Friday, May 22, 2009

YouTube on FrontRow

To get YouTube on FrontRow:

Download Plugin from http://code.google.com/p/understudy/issues/detail?id=54

Add videos as RSS feed

http://gdata.youtube.com/feeds/base/videos?q=&client=ytapi-youtube-search&v=2

Check youtube RSS info

Tuesday, May 12, 2009

Encrypt files w/ OpenSSL

To encrypt a file

openssl enc -aes-256-cbc -e -in archivo.rtf -out encriptado.rtf.ssl -pass pass:DorAemoN


To decryp

openssl enc -aes-256-cbc -d -in encriptado.rtf.ssl -out archivo.rtf -pass pass:DorAemoN

Wednesday, May 6, 2009

Change hostname on Linux

1- whats current hostname ?

#hostname

2- change it

#hostname

3- reboot

#init 6 or #reboot

4- check if done

#hostname

Create user in solaris

useradd -d /export/home/God -s /usr/bin/ksh -c "God, aka jesus" -m god

How to check Memory size on Unix

2 check memory Size on Solaris:

#dmesg |grep mem

#/usr/platform/sun4u/sbin/prtdiag |grep Memory

# prtconf -v |grep Mem


HP-UX

# dmesg |grep Physical

# print_manifest |grep –i memory

AIX

#bootinfo -r

#lsattr -El sys0 -a realmem

#getconf REAL_MEMORY

Linux

#dmesg |grep -i memory

#cat /proc/meminfo |grep -i memtotal

# free

# free -m

Veritas cluster status

To get the veritas cluster status do the following:
As root :

hastatus -sum (Sumary)

hares -display (Complete status)

Solaris friendly shutdown

/usr/sbin/shutdown -y -i6 -g0

Tuesday, May 5, 2009

Veritas cluster Server

Manual at Symantec

Emulator also at Symantec

Have lots of Fun!!

Friday, May 1, 2009

OpenSuse ICS

Setup ICS

yast - > network devices - > network card module, a good static IP for your internal NIC would be 192.168.0.254
Dont Forget The Gateway on the internet enabled NIC

IP Forwarding
You will not be able to perform this step if you are using Network Manager and not Ifup.
Open YaST -> Network Devices -> Network Settings -> Routing and check the box marked Enable IP Forwarding
Click Finish

Select the External and Internal interfaces
Open YaST - > Security & Users - > Firewall
In the Interfaces section:
Select the network card that you connect to the internet through, click change and set it to External Zone
Select the network card that is connected to the other machine(s) on your internal network that you want to share the internet to and set it to Internal Zone

Enable Masquerading
Still in the Firewall YaST Module locate the Masquerading section.
Check the box labeled Masquerade Networks
Click Next and Finish


DHCP

YaST - > Network Services - > DHCP server
Set the active interface to your internal network card
Choose an internal domain name
Fill in the name server IPs with the values you can find by running cat /etc/resolv.conf
Set the Default Gateway to the IP address of your SUSE box on the internal network




Sunday, April 26, 2009

Check network interface (NIC) speed, duplex and autoneg Solaris

Duplex
bash-2.05# kstat -m -i 0 -s link_duplex|grep link_duplex|awk '{print $2}'

2= Full duplex

Speed
kstat -m -i 0 -s link_speed|grep link_speed|awk '{print $2}'

Autoneg
kstat -m -i 0 -s cap_autoneg|grep cap_autoneg|awk '{print $2}'

Saturday, April 18, 2009

Monday, April 6, 2009

Debian Gets FreeBSD Kernel Support

"Today Debian gets one step closer to really becoming 'the universal operating system' by adding two architectures based on the FreeBSD kernel to the unstable archive. This does not mean that the Debian project is ditching the Linux kernel; Debian users will be able to choose which kernel they want to install (at least on on the i386 and amd64 architectures) and get more or less the same Debian operating system they are used to. This makes Debian the first distribution, and probably the first large OS, to support two completely different kernels at the same time."

Monday, March 30, 2009

GDI++ make Fonts looks like Mac OS X in windows













http://drwatson.nobody.jp/gdi++/index-en.html

via lifehacker

Tuesday, March 24, 2009

Mac OS X Speech bug, ipod shuffle affected?

try for yourself

Last login: Tue Mar 24 17:22:49 on console
eduardos-macbook:~ eduardo$ say bullfrog
eduardos-macbook:~ eduardo$ say bullfrogs
eduardos-macbook:~ eduardo$


note: fixed on 10.6

Save websites locally

Save a complete website to your harddisk :

wget -m http://www.google.com/

Saturday, March 14, 2009

Configurar modem del ice

this how to configure tu-r130.pdf for ICE costa rica Internet on ADSL

have fun!!

http://dl.getdropbox.com/u/418396/documents/Configuracion_rapida_atu-r130.pdf

Sunday, March 1, 2009

Paintbrush for Mac OS X

Paintbrush for OS X @ http://paintbrush.sourceforge.net/

Paintbrush is a simple paint program for Mac OS X, reminiscent of Microsoft Paint and Apple’s own now-defunct MacPaint. It provides users with a means to make simple images quickly, something which has been noticeably absent from the Mac for years.


When Apple released the original Macintosh in 1984, they included two applications: MacWrite and MacPaint. Twenty-five years later, Macs still include a basic text editor in TextEdit, but a simple paint program is a thing of the past.


Full path in Finder title bars

The geekier amongst us and those familiar with Unix should really like this trick. You can have Mac OS X 10.5 display the full directory path in the Finder window title bar by issuing a simple command from the Terminal.

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Then you’ll want to kill the Finder for changes to take effect:
killall Finder

To disable the full path title bars and revert back to the default, simply repeat the command with NO instead of YES as the operator:
defaults write com.apple.finder _FXShowPosixPathInTitle -bool NO
killall Finder


via: OS X Daily


Here’s a great tip that creates a nice hover effect when your mouse goes over an application (or folder) within a Leopard stack. Why this isn’t enabled by default in Leopard is beyond me, because it makes navigating within stacks a whole lot easier. Don’t miss out, here’s how to activate it:

Launch the Terminal and type the following command:
defaults write com.apple.dock mouse-over-hilte-stack -boolean yes

then, you’ll have to restart the Dock by issuing the following command:
killall Dock

To disable the hover highlights, type:

Flush DNS cache mac os

Flush your DNS Cache in Mac OS X 10.5 Leopard

Launch Terminal and issue the following command:
dscacheutil -flushcache
All done, your DNS has been flushed. On a side note, the dscacheutil is interesting in general and worth taking a look at, try the -statistics flag instead for some stats.

Flush your DNS Cache in Mac OS X 10.4 Tiger

Type the following command in the Terminal:
lookupd -flushcache

That’s it, that’s all there is to it. Now your DNS settings should be as you intended them to be.

Friday, February 27, 2009

Convert Leopard upgrade to retail


Put your licensed Leopard Disk in DVD Drive
Start Disk Utility
In Disk Utility Select New Image
The New Image Dialog will pop up. Leave everything at default setting and set Volume Size to “8.0 GB (DVD+R DL)”
Select the Leopard DVD on the side pane of the Disk Utility and Click Restore
Set the source as the Leopard DVD and destination as the Newly Created Disk Image
Now wait. This process will take a VERY long time.

After it is done, eject the DVD
Now you must show some hidden files on your Mac. To do that you will need to open your Terminal (in your utilities folder) and type the following commands:
defaults write com.apple.finder AppleShowAllFiles True

Press Return then type in the next command:
Killall Finder

Press Return
This will show all hidden files.

Go into the newly created Leopard Image on your desktop
Navigate to /Volumes/Mac OS X Install DVD/System/Installation/CDIS/
Right-Click on “Mac OS X Installer” and Click on Show Package Contents
In the New Window goto Contents/Resources and DELETE the “CheckForOSX” File
Now just rename the DMG Volume to Mac OS X Install DVD using the Get Info Dialog
Now burn this image

Tuesday, February 24, 2009

install vmware tools on freebsd

mount /cdrom

cd /tmp

Untar the VMware Tools tar file:

tar zxpf /cdrom/vmware-freebsd-tools.tar.gz
umount /cdrom

cd vmware-tools-distrib
./vmware-install.pl

reboot / execute:

vmware-toolbox

windowslive POP3

POP server: pop3.live.com (Port 995)
POP SSL required? Yes
User name: Your Windows Live ID, for example yourname@hotmail.com
Password: The password you usually use to sign in to Hotmail or Windows Live
SMTP server: smtp.live.com (Port 25)
Authentication required? Yes (this matches your POP username and password)
TLS/SSL required? Yes

Sunday, February 22, 2009

Path bar in finder

to show path bar on finder : View > Show path bar

Set up Kde on freeBSD 7.1

Set up Kde on freeBSD 7.1


1- set hostname : #hostname host.domain.com
2- edit /etc/hosts : duh, u know!
3- create ur own .xinitrc at ur home directory: echo "exec /usr/local/bin/startkde" >> ~/.xinitrc
4- run forest, run !! : startx

Free easy VPN software multiplataform



 Logmein Hamachi lets you create multiplataform VPN connection 4 free up to 16 clients, easy as work on a mac

Saturday, February 21, 2009

Anonymous internet for free


Get this app to browse internet anonymously fast and for free @ hotspotshield.com for iphone, mac and windows

Squidman An internet proxy cache for mac

Squidman is the port of squid for mac , so you can cache your most visited sites get it @: Squidman

100 beautiful iphone wallpapers

Check this cool wallpapers @:


Create your own maps w/ points of interest




MapMaker.Google.com
Check my map at 

Sync multiple folders w/ in unix and Mac OS w/ dropbox rsync or zumo drive

Just create a soft link:

ln -s /origin /bkpdirectory/destiny

Online backups from free


Dropbox is a free service w/ 2 GB you can get @ getdropbox.com

A simple blog

This a simple easy to read blog, just relevant tips and trips I use day by day