Monday, August 24, 2015

KiCAD Manual Routing

KiCAD is a wonderful tool to create schematic and pcb desain. After reading this awesome tutorial.
I feel like an expert after crunching the tutorial for 120 minutes. The hard thing comes up right away.
I was not able to manual route the track.

After googling for sometimes than there is a word come out to the surface, manual routing.
Just readily to be clicked once i googled this keyword `Err(4) trace near pad issue in Kicad`.
Well the answer to do manual routing is to disable the DRC ( Design rule checking ).


KiCAD' PCBNew version information:

Application: Pcbnew
Version: (2013-june-11)-stable
Build: wxWidgets 2.8.12 (no debug,Unicode,compiler with C++ ABI 1002,GCC 4.8.1,wx containers,compatible with 2.4,compatible with 2.6)
Platform: Linux 3.14.8-100.fc19.x86_64 x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.53.0
Options: USE_PCBNEW_NANOMETRES=ON
         KICAD_GOST=OFF
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF

Happy Electrifying ^^

Wednesday, August 19, 2015

GVim, Vim, Indexer How-to indexing

Just found out that my Vim indexer.vim only starts to indexing or re-indexing if i start my gvim
from command line under the my web application project directory.

[sc]
option:ctags_params=" --exclude='*.sql' --exclude='*.js' --exclude='*.css' --PHP-kinds=+cf --fields=+iaS --extra=+q --regex-PHP='/(abstract class |class ) ([^ ]*)/\\1/c/' --regex-PHP='/interface ([^ ]*)/\\1/c/' --regex-PHP='/(public |static |abstract |protected |private )+function ([^ ()]*)/\\2/f/' --regex-PHP='/define[(].([a-zA-Z0-9_]*)/\\1/f/' "
/opt/lampp/htdocs/sc

Indexer starts to running ctags at background process if i start gvim from /opt/lampp/htdocs/sc just like
the [sc] rule. Why bother? Well i noticed from my past experience is that ctags or re-indexing will be
started if i open one of my file under [sc] rule, which is /opt/lampp/htdocs/sc, and indexer would picked
up and re-indexing. Indexer smart enough to check if a file is open from any rules that supplied in
~/.indexer_files

But anyway luckly i found out that the re-indexing or indexing could be performed at the directory
of the rule (project) specified in .indexex_files file. Any thought?

UPDATE:
Indexer does indexing if i open a file of any project that specified in .indexer_files and if only if
this is  the first file of first tab.

I usually work with multiple tab, thus any project that opened in new tab any file that opened will
no longer triggers indexer to re-indexing. For each tab i use NERDTree to have this beautiful
left navigations of a folder which is my project tree.

^.^

Thursday, August 13, 2015

LINUX: Liveusb How-to

Unetbootin is the right tool to create any live-usb linux distribution. Trying liveusb-creator
with no success to create xubuntu 14.04 on Fedora 19. Since liveusb-creator "tied" with
the current running OS.

Happy to share ^^