Sunday, August 29, 2010

web tools

Yahoo! Pipes

I have never really used webtools or even a toolchain, except for simple stuff like this blog or twitter. Usually I just develop stuff if I need something special. But yesterday I used two tools which are great especially the second one. RSS Pump can aggregate several data source, not just RSS feeds, and shows them as a newsticker or a static list. So I'm using it to collect news and articles regarding EVE Online for my corp homepage. The other tool I am amazed by is Yahoo! Pipes. It also collects data from various sources but that's where the similarities end. The end product is a RSS feed or JSON data but in between you can twist and format the data any way you like, which is great as I noticed as not every source has the same format. But what amazed me even more is the editor as it's not text based but instead done via visual programming, neatly visualizing the dataflow.

Monday, April 26, 2010

followup to Mozilla ES3 extension

Does also affect try & catch, and it's a mozilla only thing: https://bugzilla.mozilla.org/show_bug.cgi?id=561670

Thursday, March 25, 2010

githubbed

I githubbed the code from the previous post. It's now at http://github.com/tekai/tools. Also php-run-string has been fixed.

Tuesday, March 16, 2010

emacs/php code

Some interesting functions if you happen to write PHP code in emacs:

php-mode.el with some modifications:

;; - php-check-syntax-and-goto-line bound to F12
;; - changed the find-tag-default function to differentiate between
;;   methods and functions BUT this means you need to use tag-fucker.php
;;   instead of etags/ctags/whatever

tag-fucker.php (rename it to use it). A CLI script which generates TAGS/etags stuff used in my php-mode. Much slower than etags but maybe it can by compiled by HipHop.

php.el Some extra php related elisp code. Them gem of it is update-tag-file which does what it says on saving a file ((php-)after-save-hook)

Those files need a bit of shell & elisp knowledge if you want to use them. Go and hack away. If you like/use/modified it pls leave a comment.

Ideapad: incremental tags

  • Add a hook to save buffer
  • run script to remove file from TAGS
  • run tag-fker to add stuff from buffer
  • run some tags function in emacs to make adopt changes in TAGS

Update: check out https://github.com/tekai/tools/blob/master/php.el#L45 for an implementation

    Friday, February 26, 2010

    strange moments

    in emacs:

    M-x term
    ... do something in the shell ...
    > vim file
    WTF? moment as I realize I started vim within emacs
    

    Thursday, February 11, 2010

    Ideapad: EVE POS exchange format

    with JSON: Moon {corp:, alliance:, system:, planet:, moon:, modules: [], rf-timer:, comment:""}

    Wednesday, February 10, 2010

    Ideapad: Visualize var scope & occurances

    Thread with knots. The thread represents the scope, the knots represent the occurances.

    Thursday, January 07, 2010

    reciprocate

    just a reminder for myself that it's spelled as in the title and not "reprociate"