Monthly Archives: outubro 2014

How to make a bootable OS X 10.10 Yosemite install drive

Source: http://www.macworld.com/article/2367748/how-to-make-a-bootable-os-x-10-10-yosemite-install-drive.html Back in the day when we bought OS X on discs, as long as you kept that disc, you always had a bootable installer just in case. Modern, downloadable versions of OS X create a recovery partition on your drive, but it’s always a smart idea to make your own bootable installer drive too. I recommend…

Read more

Usando perl para trocar informações dentro de um arquivo texto

/usr/bin/perl -p -i -e “s/$1/$2/g” $3 $1 = String original $2 = String nova $3 = Nove do arquivo Exemplo: /etc/apt# /usr/bin/perl -p -i -e “s/br.archive/old-releases/g” sources.list

Obtendo BSSID de rede Wireless usando o Mac

Entrar no diretório /System/Library/PrivateFrameworks/Apple80211.framework/Resources Usar o comando airport -s Exemplo:   sh-3.2# ./airport -s SSID BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group) GEBE 1c:af:f7:5f:b3:7c -4   9,-1    Y  — WPA(PSK/TKIP/TKIP) WlanSVdgal 00:21:91:34:39:27 -4   6       N  — WEP