Sunday, June 12, 2016

MAC OSX - burn ISO to usb


MAC OSX - burn ISO to usb

In Terminal run diskutil list command:
diskutil list  :

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS System                  127.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
 
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.0 GB     disk2
   1:             Windows_FAT_32 BFPORTABLE2             8.0 GB     disk2s1 


 
sudo diskutil unmountDisk /dev/disk2

sudo dd if=~/Downloads/ISO_FILE.ISO of=/dev/disk2 bs=1m

Wednesday, June 8, 2016

bash set HTTP_PROXY


 Set Linux/FreeBSD/NetBSD/OpenBSD environment HTTP_PROXY & HTTPS_PROXY variable in bash:
 
 
   export http_proxy=http://10.0.0.54:5127/
 
OR below line if username/password authorization is needed:
   export  http_proxy=http://USERNAME:PASSWORD@proxy.myname.com:3128/ 
 

   export https_proxy=$http_proxy
   export ftp_proxy=$http_proxy
   export rsync_proxy=$http_proxy
   export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
 
for compatibility reasons, below lines can be used too:
   export HTTP_PROXY=$http_proxy 
   export HTTPS_PROXY=$http_proxy
   export FTP_PROXY=$http_proxy 
   export NO_PROXY=$no_proxy
 
 
 Additionally, above lines can be added to ~/.bashrc for persistent settings.
 
Test the implementation using  wget http://www.synapse.ro
 
 
Never the less, in order to keep HTTP_proxy variables to sudo shell, add next line to sudo configuration file (/etc/sudoers):
 
Defaults env_keep += "http_proxy https_proxy ftp_proxy no_proxy rsync_proxy" 

Monday, June 6, 2016

Sennheiser DW PRO DECT headset - default audio device



Sennheiser DW PRO DECT headset  - default audio device

How do I select my USB headset as a default device?





Sennheiser DW PRO DECT headset & Windows 8

Sennheiser DW PRO DECT headset & Windows 8



Windows 8

To enable audio in some application on Windows 8:
1) Press the Windows + W key.
2) Type "Sound" into the Search field.
3) Click Sound from the list of results. The Sound window opens.
4) On the Playback tab, select your headset, and then click the Properties button. The Headset Earphone Properties window appears.
5) Click the Advanced tab.
6) From the Default Format drop-down list, select the desired sample rate (e.g., 1 channel, 16 bit, 16000 Hz (Table Recorder Quality)).
7) Click OK to save your changes.
8) Click OK again to exit the Sound window