Customising Bootstrap Gutter

Simple way to customise gutters.

http://arnique.net/web-design/58/a-quick-guide-to-changing-bootstraps-gutter-width/

 

Posted in Uncategorized | Leave a comment

Fix git error “Modified Content, Untracked Content”

In three steps,

  1. You may have .git folder inside the untracked content folder. Remove it.
  2. git rm -rf –cached  /untracked_directory
  3. git add . , git commit -m “Message” and so on..
Posted in Uncategorized | Leave a comment

How to create a web switch -tutorial on Hobbyist

This is a very good tutorial on how to create a web switch.

http://www.hobbyist.co.nz/?q=web-switch

All parts can be ordered from  the same site.  The tutorial is almost correct apart from that new relays blink with RED ( not GREEN )

IMG_0467.JPG

 

Posted in Uncategorized | 1 Comment

FreeDNS

https://freedns.afraid.org/

Even if you dont have a static IP this will help you to map.

Posted in Uncategorized | Leave a comment

Import VCF files to iPhone

After trying several methods of importing vcf file ( from iTunes and iCloud ) to iPhone , I found an easy way on the following link,

https://discussions.apple.com/thread/5030456?tstart=0

First import the vcf file to Google Mail , contacts and then and follow the steps in the above link. It will automatically sync contacts.

Posted in Uncategorized | Leave a comment

How to make an Arduino Radar

Fully working example for Arduino radar project with ultrasonic sensor.

http://howtomechatronics.com/projects/arduino-radar/

Youtube

A minor change was made instead of windows COM port, if you are using Linux. Need to find out the correct serial port. In my case /dev/ttyUSB1. So when opening the serial port on Processing,  use the following code.

sPort = new Serial(this,”/dev/ttyUSB1″, 9600).

Serial port data can be viewed using serial client screen,

to install: sudo apt-get install screen

to open : screen /dev/ttyUSB1 9600



							
Posted in Uncategorized | Leave a comment

Install ffmpeg in ubuntu 14.04 and batch conversion

  1. How to install

http://www.ubuntugeek.com/install-ffmpeg-on-ubuntu-14-10-using-ppa.html

2. Batch conversion script.

#!/bin/bash
for i in *.mp4
do
ffmpeg -i “$i” -ab 128k “${i%mp4}mp3”
done

source : https://forums.opensuse.org/showthread.php/493096-how-do-I-use-ffmpeg-to-batch-convert-*-mp4-to-*-mp3

Posted in Uncategorized | Leave a comment