Samba Installation

Installing samba
$ sudo apt-get update
$ sudo apt-get install samba samba-common-bin
$ sudo nano /etc/samba/smb.conf

Configuration example

[global]
	netbios name = PI
	server string = The Pi File Center
	workgroup = WORKGROUP
	hosts allow =
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
	remote announce =
	remote browse sync =

[homepi]
	path = /home/pi
	comment = No comment
	browsable = yes
	read only = no
	valid users =
	writable = yes
	guest ok = yes
	public = yes
	create mask = 0777
	directory mask = 0777
	force user = root
	force create mode = 0777
	force directory mode = 0777
	hosts allow =

# password protected
[fsq]
	comment = fsq
	path = /var/fsq
	browseable = Yes
	writeable = Yes
	only guest = no
	create mask = 0777
	directory mask = 0777
	public = no

Creating Samba User:
$ sudo smbpasswd -a pi
type password, press enter

Restart Samba Service:
$ sudo service smbd restart

Resources:

Ubuntu Server wifi Dell Latitude D630

  • run “ifconfig -a” to show all available networks

    • wlan0 did not show !!
  • to show wlan0 on dell latitude d630

    • http://ubuntuforums.org/showthread.php?t=2188955
    • run
      • $ lspci -nnk | grep -iA2 net
      • $ sudo iwlist wlan0 scan # scan available networks
      • $ sudo apt-get install linux-firmware-nonfree
      • $ sudo poweroff
      • $ sudo modprobe -rv ssb_hcd b43 ssb
      • $ sudo modprobe -v b43
    • received this error that showed on the actual laptop screen, not the putty terminal
      • ERROR: Firmware file “b43/ucode5.fw” not found
      • http://ubuntuforums.org/showthread.php?t=1966631#post_11878658
        • solution
          • http://ubuntuforums.org/showthread.php?t=1966631#post_11910851
          • ran
            • $ sudo nano /etc/modprobe.d/blacklist.conf
              • edited file
            • $ sudo apt-get purge broadcom-sta-common broadcom-sta-source bcmwl-kernel-source
            • $ sudo apt-get purge b43-fwcutter firmware-b43-installer
            • $ sudo poweroff
            • $ sudo apt-get install b43-fwcutter firmware-b43-installer
            • $ sudo nano /etc/modprobe.d/blacklist.conf
              • edited file
            • $ sudo poweroff
            • $ sudo nano /etc/modules
              • edited file
            • $ sudo poweroff
  • edit the “/etc/network/interfaces” file

    • http://askubuntu.com/questions/464507/ubuntu-14-04-server-wifi-wpa2-personal#answer-650369
    • added auto wlan0
      iface wlan0 inet dhcp
      wpa-ssid xxxxxx
      wpa-psk xxxxxx
  • related post

    • http://baligena.com/fixing-the-internet-in-ubuntu-using-driver-bcm4312-802-11bg-lp-phy/
  • tags
    • wireless

Zend 2 notes

# creating a new module folders
$ mkdir -p Album/{config,src/Album/{Controller,Form,Model},view/album/album}
# using zf.php, http://framework.zend.com/manual/current/en/modules/zendtool.introduction.html
$ vendor/bin/zf.php create module

tags:
zf2

Unreal Engine 4 install from source code

Followed this tutorial:

I’m running on Visual Studio 2012

Ran across error:
ERROR : UBT error : Failed to produce item: C:\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll

Fixed it by:
unzipping with win.rar required_1of2, required_2of2 and optional.zip
ran “GenerateProjectFiles.bat” as administrator

download directx runtime
http://support.microsoft.com/kb/179113/en-us

Error 1 error LNK1181: cannot open input file ‘libovr64.lib’ C:\Users\asdf\Desktop\UnrealEngine\Engine\Intermediate\ProjectFiles\LINK UE4
fixed by downloading oculus rift library
https://answers.unrealengine.com/questions/85773/compile-error-with-latest-44-branch-from-github.html
static.oculusvr.com/sdk-downloads/ovr_ue4_4.4_github_prereq_0.4.1a.zip

Twilio: Add phone ring before voicemail picks up

In twilio if you want to ring before your voicemail starts. What you need to do is add verb and specify a mp3 file. See example below.

<?xml version="1.0" encoding="UTF-8"?>
<Response>

<Play loop=”4″>http://baligena.com/ring_sound.mp3</Play>
<Say>
Sorry I missed you call but please leave a message after the beep. Thank you.
</Say>
<Record transcribe="true" transcribeCallback="http://twimlets.com/voicemail?Email=baligena@hotmail.com"></Record>
</Response>