topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday May 24, 2022, 6:51 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ewemoa [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6next
101
FARR Plugins and Aliases / FLua: FARR Plugins Using Lua
« on: July 02, 2010, 09:38 AM »
I've been working on trying to make it possible to write plugins for FARR in Lua and there is now something that seems to work somewhat so...

The design is almost completely based on ecaradec's FScript (many thanks to him for releasing the source to that).  I haven't implemented timers yet, but other things are somewhat in-place.  If you've used FScript before, the interface should feel very familiar. 

Had some luck with following:

  • on_init
  • on_set_str_val
  • on_search_begins
  • on_regex_search_match
  • on_process_trigger
  • farr_set_str_value
  • farr_get_str_value
  • farr_emit_result
  • farr_set_state
  • farr_emit_results (this may be more convenient than using the last two)

Implemented but didn't really test:

  • on_receive_key
  • on_idle_time

Below is a link to a sample Lua plugin.  It is supposed to be similar to vitalyb's FARREnvironmentVariables plugin.

It's got some issues (e.g. DOS window showing up momentarily), but anyway:

  http://ewemoa.dcmemb...p/LuaPathEnvVars.zip

SHA-1: 50f501d3d6e85b7ea3052e76b13ecda58ca8be72

The contained files and folders are:

  • FLua.dll
  • flua.lua
  • LICENSES\
  • LuaPathEnvVars.ico
  • plugin.lua
  • README.txt <- pretty much useless at this point

The main file to tinker with at this point is plugin.lua.

Any comments welcome :)

102
Developer's Corner / Code::Blocks 10.05 has been out...
« on: June 27, 2010, 07:48 AM »
I completely missed that:

Code::Blocks 10.05 is here!
Sunday, 30 May 2010 10:20

http://www.codeblocks.org/

cb.jpg

103
Developer's Corner / Some Lua References Converted
« on: June 20, 2010, 09:58 AM »
Converted some Lua references for reading on smaller screen devices [1].  Don't know if anyone else will have any use, but FWIW:

  <a href="http://ewemoa.dcmemb....lua.org/manual/5.1/">Multiple Page Version of Version 5.1 Reference Manual</a>
  <a href="http://ewemoa.dcmemb...the_lua_architecture">The Lua Architecture</a>
  <a href="http://ewemoa.dcmemb..._5.1_VM_Instructions">A No-Frills Introduction to Lua 5.1 VM Instructions</a>

Done via hand so expect errors :)


[1] This means either splitting of a large original or conversion from some non-HTML format to HTML.

104
General Software Discussion / Firefox Add-on: SiteDelta
« on: June 18, 2010, 10:39 AM »
Started testing out the SiteDelta Firefox Add-on today:

SiteDelta can scan for changes to a website since your last visit.

It adds a small Delta icon to your browser status bar. When you click onto it, it highlights all changed text contents of the current page (since the last time you clicked onto it). Clicking again cycles through the changes. Rightclick onto the icon provides access to other features offered by SiteDelta.

From the features page:

   * Scan pages you are visiting - what has changed?
    * Highlights inserted, deleted and moved text as well as changed images (if the file name changed)
    * Checks even password-protected pages (only HTTP-Auth)
    * Select interesting page regions you want to check
    * Ignore regions you are not interested in or that change often (e.g. counters, current date, ads etc.)
    * Save selected regions as presets to use them for all similar pages
    * Automatically scan known websites for changes
    * Optional: Archive all changed versions of the page

Any other users?

sitedelta.png

105
Background

I find that Control+A doesn't necessarily select all text in various contexts and typically notice this after typing Control+A.

Not finding anything that seemed to help, I put together a little utility tentatively named "SelectAll" in an attempt to improve the situation a bit.  I have been using it for a bit now and have found that it has turned out to be useful in my particular situation.  After some discussion with mouser a decision to post it was reached.  (Please let me know if you know of something similar or better.)

How to Use
  
While this program is running, if Control+A does not select all text for a field with focus, try entering Control+A twice quickly to get all of the text selected.
  
The invocation may be done in at least two ways:
  
1. An initial Control+A sequence, then letting go of both keys, and a subsequent Control+A sequence.
    
2. An initial Control+A sequence, then without letting go of the control key, let go of the A key and press the A key again.
        
(I prefer the second approach, but both seem to work as far as triggering an attempt to select all text.)

Caveat

Unfortunately, it doesn't work with a number of (all?) NirSoft utilities -- and it seems likely there are other things it won't work with.  I might make an exception list, but haven't decided whether it's worth it or if it makes sense just yet.  Also, depending on the size of the text field, after text is selected there may be some scrolling.  Anyway, perhaps the code can be improved upon or someone can come up with a better idea :)

Credits

The code is basically an adaptation of an AHK Forum post (thanks to the author "jonny"):

  http://www.autohotkey.com/forum/topic15537-1.html

The selection method was improved by lanux128 -- thanks to him for that  :Thmbsup:

Code

Source:

/*

   Name: SelectAll
   Description: Select All Text via Hotkey
  
   Control+A does not always select all text unfortunately.
   This program is an attempt to improve the situation a bit.
  
   While this program is running, if Control+A does not select all
   text for a field with focus, try entering Control+A twice
   quickly.
  
   This may be done in at least two ways:
  
     1. An initial Control+A sequence, then letting go of both keys,
        and a subsequent Control+A sequence.
    
     2. An initial Control+A sequence, then without letting go of the
        control key, let go of the A key and press the A key again.
        
   FWIW, the author finds the second form easier to execute.
        
   Example locations of relevance (Windows XP):
  
     -7-zip: address/path text field [1]
     -Code::Block: multiple text fields
     -Everything: options dialog: multiple text fields
     -FileZilla: multiple text fields
     -Free Download Manager: multiple text fields
     -grepWin: multiple text fields
     -Internet Explorer:
       home page text field [1]
     -IrfanView: multiple text fields
     -Notepad++: Preferences dialog: multiple text fields
     -ReNamer: multiple text fields
     -Universal Extractor: multiple text fields
     -Windows Explorer:
       address/path text field [1]
       file/folder name when renaming via F2 [1]
     -WinMerge:
       Select Files and Folders: mulitple text fields [1]
       Options dialog: multiple text fields
     -WinSpy++: multiple text fields
     -Save / Open Dialogs: filename text field [1]
     -Run Dialog: name text field [1]
     -File/Folder Properties Dialog:
       various text fields
     -HTMLHelp (hh.exe, .chm viewing): keyword text field [2]
      
   Where this code does not work (Windows XP):
    
     -Windows Explorer:
        file name text field in searching for files
        string text field in searching for files    
    
   [1] Though initial focus selects all text
   [2] Double-clicking on field selects some text
  
   code based on http://www.autohotkey.com/forum/topic15537-1.html

*/

#NoEnv
#Persistent

; XXX: place in .ini?
delay = 400
hkmod = ^
hkletter = a
hk = %hkmod%%hkletter%
fullhk = ~%hk%
Hotkey, %fullhk%, Invoke
Return

Invoke:
; 'delay' is the maximum allowed delay (in ms) between presses.
If ((A_PriorHotKey = fullhk) && (A_TimeSincePriorHotkey < delay))
{
  BlockInput, On
  ; thanks to lanux128 for the following
  Send, {Control Down}{Home}{Control Up}{Control Down}{Shift Down}{End}{Shift Up}{Control Up}
  BlockInput, Off
}
; XXX: don't know what this Sleep is for...
Sleep, 0
KeyWait, %hkletter%
Return

Executable

Meta

Posted this here as per:

https://www.donation....msg199036#msg199036

Please move if necessary :)

106
Firefox 3 Searches Alias

  • Short Introduction
    This alias allows you to reuse your Firefox "Smart Keyword" searches from within FARR.

    For example, you might configure a Smart Keyword using the keyword "dc" to search the donationcoder forums.  To perform this search in Firefox, in its location bar one might type:

      dc weekly news

    With this alias, you can initiate a similar search from within FARR, (even when Firefox is not running), in its search edit box one might type:

      fs3 dc:weekly news

    In addition, with FARR's non-contiguous matching enabled, you don't even have to remember the "dc" keyword.  If you can type a portion of the website's name, FARR can filter potential candidate searches for you.

    (Feel free to skip the next section "Introduction for the Patient" if you felt you got the basic idea.  I recommend looking at the "Quick Start" section before deciding what to look at afterwards.)

  • Introduction for the Patient
    According to Wikipedia's article on "Features of Mozilla Firefox":

      Smart keywords can be used to quickly search for information on
      specific Web sites.  A smart keyword is defined by the user and can
      be associated with any bookmark, and can then be used in the
      location bar as a shortcut to quickly get to the site or, if the
      smart keyword is linked to a searchbox, to search the site.

    A major aim of this alias is to enable FARR to reuse the core functionality provided by features such as "Smart Keywords" [1].

    Using this alias, a user should be able to quickly search a site via FARR, leveraging Firefox's store of search information, but perhaps in a manner that is more convenient than in Firefox.

    Once the alias has been configured, one might type:

      f3s donatcode:cranioscopical                                  (1)

    or perhaps:

      f3s dc:cranioscopical                                             (2)

    or even:

      f3s doooom:cranioscopical                                      (3)

    in FARR's search edit box to search for "cranioscopical" at the DonationCoder forums.

    If one were using smart keywords, the properties dialog box for the bookmark might have the following fields and values:

      Name: DonationCoder Forums
      Location: https://www.donation...search&search=%s
      Keyword: dc

    Invocations (1) and (3) depend on FARR's non-contiguous matching [2], while invocation (2) might work due to the associated keyword (or also the non-contiguous matching).

    [1] For more information on "Smart Keywords", please consider:

          https://secure.wikimedia.org/wikipedia/en/wiki/Features_of_Mozilla_Firefox#Smart_Keywords
          http://kb.mozillazine.org/Using_keyword_searches
          https://support.mozilla.com/en-US/kb/Smart+Keywords

    [2] In FARR's Options dialog, under Program Options -> Settings -> Search
        Behavior -> Non-contiguous Pattern Matching, there is a setting for:

          Score non-contiguous matches

        This alias may be more convenient if the associated checkbox for
        this setting is checked.

        In addition, it may be that the alias' behavior is affected by the
        checkbox for the setting immediately beneath:

          Disable non-contiguous matching when using +sall to show all matches

        This remains to be determined :)

  • Quick Start
    Please note that below, lines prefixed by >>> are intended as actions.  You may be able to read just those lines and manage to get things working.  The rest of the text is for the cases where that doesn't work out.

    The current approach is meant as a proof-of-concept.  Unfortunately, it has some drawbacks (including but not necessarily limited to):

      -Initial configuration is necessary.  The process used in this
       approach depends on knowing where one's Firefox data (profile
       directory) is and determining this automatically does not appear to
       be so simple.  As of this writing, no automatic method has been
       implemented.
      
      -Periodic manual execution of a utility is necessary to update
       alias information if relevant Firefox data changes.

    If that doesn't bother you or you want to try anyway, please continue :)

  • Installation and Configuration
    The actions in this section include: confirmation, modification, execution of a utility, and informing FARR of changes.

    >>> Confirm that the folder containing the README.txt from the unpacked archive is located in:
    >>>
    >>>   Windows XP: <FARR-Installation-Dir>\AliasGroups\Installed\FF3Searches
    >>>   Vista / 7: Good question -- someone care to help me out on this? :)

    where <FARR-Installation-Dir> is typically (but not necessarily):

      C:\Program Files\FindAndRunRobot

    >>> Appropriately specify values in ExtractFF3Searches.ini

    A starting template is provided in ExtractFFSearches.ini.blank.  Copying it and modifying the result is recommended.  Its content is:

      [Settings]
      ProfileDir=
      Debug=0

    The important value is the one that specifies your Firefox profile directory.  This is named ProfileDir.

    Typical values of ProfileDir may look like (but are not likely to be exactly the same as):

      C:\Documents and Settings\rolfs\Application Data\Mozilla\Firefox\Profiles\p314e21.default
      C:\Users\carlh\AppData\Roaming\Mozilla\Firefox\Profiles\z80x486.default
      X:\Apps\FirefoxPortable\Data\profile
      
    If you don't know what value to use, the following might be of some use in making a determination:

      http://support.mozilla.com/en-US/kb/Profiles
      http://kb.mozillazine.org/Profile_folder_-_Firefox#Finding_the_profile_folder

    Debug should be 0 (off) or 1 (on).  If Debug is 1, the extraction utility (ExtractFFSearches.exe) may provide more diagnostic information than otherwise via dialog boxen and a file named debuglog.txt.

    Once ExtractFF3Searches.ini has been appropriately modified:

    >>> Run ExtractFF3Searches.exe to generate FF3Searches.txt

    Successful execution should result in the creation of a file named FF3Searches.txt.  If you've used FARR aliases before, the content of this file might look familiar.  It is analogous to what you might put in the "Result(s)" text area of the "Edit Group Alias" dialog box in FARR.

    To make FARR aware of the Firefox 3 Searches alias, either restart FARR or:

    >>> Bring up FARR and type: goreload

    Note that there may be a discrepancy between what is in FF3Searches.txt and the most up-to-date information maintained by Firefox.  See the Notes section below for some more detail.

  • Example Usage
    To search Stack Overflow for FARR:

    >>> Bring up FARR and type f3s so:FARR

    One way to analyze what is typed is:

      f3s
        the name of the alias
      <space-character>
        a separator between the alias and the rest
      so
        a string that matches a name/title (Stack Overflow)
      :
        a separator indicating that query terms are about to follow
      FARR
        the query text

    Note the colon character between "so" and "FARR".

    To search Firefox Add-ons for greasemonkey:

    >>> Bring up FARR and type f3s ffa:greasemonkey

    One way to analyze what is typed is:

      f3s
        the name of the alias
      <space-character>
        a separator between the alias and the rest
      ffa
        a string that matches a name/title (Firefox Add-ons)
      :
        a separator indicating that query terms are about to follow
      greasemonkey
        the query text

    Did I mention that there's a colon?  ;)

    The usage of this alias is very similar to that of another one named "SokuGin".  The latter's documentation may be nicer, so it's possible that taking a look might be helpful:

      https://www.donationcoder.com/forum/index.php?topic=15904.0

  • Notes
    -There is an alias for rebuilding FF3Searches.txt -- it is f3sx

    -There is an alias for viewing content similar to what's here -- it is f3sreadme

    -Values in ExtractFF3Searches.ini, should be specifiable using
     environment variables such as %APPDATA%.

    -ExtractFF3Searches.exe may be run with command line arguments (the
     values override any values in the .ini file).  A value for ProfileDir
     may be specified and optionally -v which is equivalent to Debug=1.

    -The extraction utility analyzes daily backups of bookmarks that
     Firefox creates.  The extracted information may be out-of-date
     because the backups are too.  The most up-to-date information is
     stored in a file which Firefox locks while it is running in a manner
     that appears to prevent other programs from accessing it.

     I presume many people often have Firefox running, so I looked for
     another way to access information which might often be comparably
     good.  For more details, please read the following posts:
     
       https://www.donation....msg195345#msg195345
       https//www.donationcoder.com/forum/index.php?topic=18615.msg195489#msg195489

     One work-around is to wait 24 hours and extract again.

     Another might be to use the Backup functionality via Firefox's
     Organize Bookmarks window (though, I've found the latter to be
     somewhat, delayed (may be?) in opeartion).

     A longer-term work-around might be to convince Firefox developers to
     make bookmark data more readily accessible -- preferably without
     users having to install anything additional or make any configuration
     changes :)

     I wasn't keen on copying the locked file to another location and then
     accessing it.  Perhaps my leanings on this matter might be
     influenced...
      
    -Firefox 3.6 seems to generate invalid JSON -- at least the bookmark
     backups in alleged JSON format are not necssarily strictly JSON.  My
     local copies have trailing commas in places where there should not be
     -- at least, that's my current understanding.  This led me to pass on
     using Douglas Crockford's json_parse.js, sadly.

    -Tested with Firefox 3.6 and FARR 2.86.01 around 2010-03-01 on Windows XP
     SP3.

  • Credits
    Thanks to:

      mouser
        for testing, discussion, etc.
      Jabberwock for writing up his post:
        https://www.donationcoder.com/forum/index.php?topic=18615.0
      lanux128
        for discussion and testing

      erictheturtle
        for ws4ahk
      Mike Samuel
        for json-sans-eval, but:
          source code seems to suggest Public Domain
          web page says Apache License 2.0
          errr, so which is it?

      Douglas Crockford
        for JSON
      Chris Mallet and AHK contributers  
        for AutoHotkey and Related Code
      Firefox developers and users
        for Firefox

      Ok, this list could go on, but let's stop here :)


Download

107
FARR Plugins and Aliases / CHM2Alias
« on: March 01, 2010, 05:31 AM »
CHM2Alias

This (still very alpha) tool attempts to create a FARR .alias file from a .chm file.  The resulting alias consists of results that point to specific nodes within the .chm file.

Thus, FARR's searching/filtering capabilities may be applied to quickly navigate to certain places within .chm files for which corresponding .alias files have been created, installed, and configured.

How to Use

Basically the tool is applied to an existing .chm file to create a new .alias file.  The resulting .alias file should be placed in an appopriate location and then possibly tweaked via FARR's UI.  Detailed instructions follow.

At the moment, your machine must have hh.exe living in C:\WINDOWS\ for this tool to work.

Creating the new .alias file.

1. Drop a .chm file on to CHM2Alias.exe.

There should be a new .alias file in the same directory as CHM2Alias.exe.

Installing the new .alias file.

2. For Windows XP, the new .alias file should be placed in the folder:

  <FARR-Installation-Dir>\AliasGroups\MyCustom\

where <FARR-Installation-Dir> is typically:

  C:\Program Files\FindAndRunRobot

but may be somewhere else depending on your setup.

For Vista / 7, the new .alias file should typically be placed in:

  C:\Users\<username>\Documents\DonationCoder\FindAndRunRobot\AliasGroups\MyCustom\

where <username> is your user name.

Configuring the new .alias file.
  
3. Open FARR's Options window and navigate to:

  Program Options ->
    Lists ->
     Aliases/Groups
      
Then choose the new .alias via the combo box labeled:

  Select Alias/Group file to configure
  
4. Bring up the "Edit Group/Alias" dialog for the single entry by double-clicking the entry or via its context-sensitive menu.

5. Edit any values appropriately -- specifically, choosing a relatively short value for Group Alias Name is recommended.

Using the new alias.

6. Bring up FARR and type the alias' value for Group Alias Name.

Temporary Download

108
FARR Plugins and Aliases / DevCheatSheets Alias
« on: February 05, 2010, 02:56 AM »
Below is the result of applying Target's post, Greasemonkey, and XPath Checker.  The intended destination is the result(s) text area of an Edit Alias Group dialog.  (FWIW, I use 'devcs' for the name of the alias group.)

Sorry it isn't in a convenient form for importing/use.  Perhaps it can be improved  8)

Click Me?
3D Studio Max | http://devcheatsheet...m/tag/3d-studio-max/
Accessibility | http://devcheatsheet...m/tag/accessibility/
ActionScript | http://devcheatsheet...om/tag/actionscript/
ActiveRecord | http://devcheatsheet...om/tag/activerecord/
Ada | http://devcheatsheet.com/tag/ada/
Adobe Acrobat | http://devcheatsheet...m/tag/adobe-acrobat/
Adobe Dreamweaver | http://devcheatsheet...com/tag/dreamweaver/
Adobe Fireworks | http://devcheatsheet.com/tag/fireworks/
Adobe Flash | http://devcheatsheet.com/tag/flash/
Adobe Flex | http://devcheatsheet.com/tag/adobe-flex/
Adobe Framemaker | http://devcheatsheet...ag/adobe-framemaker/
Adobe Illustrator | http://devcheatsheet...g/adobe-illustrator/
Adobe InCopy | http://devcheatsheet...om/tag/adobe-incopy/
Adobe InDesign | http://devcheatsheet.com/tag/indesign/
Adobe Integrated Runtime (AIR) | http://devcheatsheet.com/tag/adobe-air/
Adobe Photoshop Elements | http://devcheatsheet...-photoshop-elements/
Adobe Photoshop | http://devcheatsheet...tag/adobe-photoshop/
AJAX | http://devcheatsheet.com/tag/ajax/
Apache | http://devcheatsheet.com/tag/apache/
AppleWorks | http://devcheatsheet.com/tag/appleworks/
apt-get | http://devcheatsheet.com/tag/apt-get/
ASCII | http://devcheatsheet.com/tag/ascii/
Ask.com | http://devcheatsheet.com/tag/ask/
ASP | http://devcheatsheet.com/tag/asp/
ASP.NET | http://devcheatsheet.com/tag/aspnet/
awk | http://devcheatsheet.com/tag/awk/
BackTrack | http://devcheatsheet.com/tag/backtrack/
Bash | http://devcheatsheet.com/tag/bash/
Bazaar | http://devcheatsheet.com/tag/bazaar/
Blender | http://devcheatsheet.com/tag/blender/
Blogger | http://devcheatsheet.com/tag/blogger/
Blueprint CSS | http://devcheatsheet.com/tag/blueprint/
BPMN | http://devcheatsheet.com/tag/bpmn/
C | http://devcheatsheet.com/tag/c/
C# | http://devcheatsheet.com/tag/c-sharp/
C++ | http://devcheatsheet.com/tag/cpp/
CakePHP | http://devcheatsheet.com/tag/cakephp/
Capistrano | http://devcheatsheet.com/tag/capistrano/
CFScript | http://devcheatsheet.com/tag/cfscript/
Character Codes | http://devcheatsheet...tag/character-codes/
chmod | http://devcheatsheet.com/tag/chmod/
Cinema 4D | http://devcheatsheet.com/tag/cinema-4d/
Clojure | http://devcheatsheet.com/tag/clojure/
COBOL | http://devcheatsheet.com/tag/cobol/
CodeIgniter | http://devcheatsheet...com/tag/codeigniter/
ColdFusion | http://devcheatsheet.com/tag/coldfusion/
Colors | http://devcheatsheet.com/tag/colors/
Common Lisp | http://devcheatsheet...com/tag/common-lisp/
Country Codes | http://devcheatsheet...m/tag/country-codes/
CSS | http://devcheatsheet.com/tag/css/
CVS | http://devcheatsheet.com/tag/cvs/
DB2 | http://devcheatsheet.com/tag/db2/
Delphi | http://devcheatsheet.com/tag/delphi/
Design Patterns | http://devcheatsheet...tag/design-patterns/
Django | http://devcheatsheet.com/tag/django/
Doctrine | http://devcheatsheet.com/tag/doctrine/
DOM | http://devcheatsheet.com/tag/dom/
DOS | http://devcheatsheet.com/tag/dos/
Drupal | http://devcheatsheet.com/tag/drupal/
DTD | http://devcheatsheet.com/tag/dtd/
E Text Editor | http://devcheatsheet...m/tag/e-text-editor/
Eclipse | http://devcheatsheet.com/tag/eclipse/
ed | http://devcheatsheet.com/tag/ed/
emacs | http://devcheatsheet.com/tag/emacs/
Enterprise JavaBeans (EJB) | http://devcheatsheet...prise-javabeans-ejb/
Erlang | http://devcheatsheet.com/tag/erlang/
Exim | http://devcheatsheet.com/tag/exim/
ExpressionEngine | http://devcheatsheet...ag/expressionengine/
F# | http://devcheatsheet.com/tag/f-sharp/
Fgdump | http://devcheatsheet.com/tag/fgdump/
Final Cut Pro | http://devcheatsheet...m/tag/final-cut-pro/
Fonts | http://devcheatsheet.com/tag/fonts/
Fortran | http://devcheatsheet.com/tag/fortran/
Front Row | http://devcheatsheet.com/tag/front-row/
Funny | http://devcheatsheet.com/tag/funny/
Fusebox | http://devcheatsheet.com/tag/fusebox/
Git | http://devcheatsheet.com/tag/git/
Gmail | http://devcheatsheet.com/tag/gmail/
GNU Debugger (GDB) | http://devcheatsheet...ag/gnu-debugger-gdb/
GNU Readline | http://devcheatsheet.com/tag/readline/
Google Adwords | http://devcheatsheet.../tag/google-adwords/
Google Analytics | http://devcheatsheet...ag/google-analytics/
Google Docs | http://devcheatsheet...com/tag/google-docs/
Google Maps | http://devcheatsheet...com/tag/google-maps/
Google Reader | http://devcheatsheet...m/tag/google-reader/
Google Voice | http://devcheatsheet...om/tag/google-voice/
Google Wave | http://devcheatsheet...com/tag/google-wave/
Google | http://devcheatsheet.com/tag/google/
Haskell | http://devcheatsheet.com/tag/haskell/
Hibernate | http://devcheatsheet.com/tag/hibernate/
Hping | http://devcheatsheet.com/tag/hping/
htaccess | http://devcheatsheet.com/tag/htaccess/
HTML | http://devcheatsheet.com/tag/html/
IBM AIX | http://devcheatsheet.com/tag/aix/
iCal | http://devcheatsheet.com/tag/ical/
IDA Pro | http://devcheatsheet.com/tag/ida-pro/
IIS | http://devcheatsheet.com/tag/iis/
Incanter | http://devcheatsheet.com/tag/incanter/
Informix | http://devcheatsheet.com/tag/informix/
Ingres | http://devcheatsheet.com/tag/ingres/
Internationalization (I18N) | http://devcheatsheet...ationalization-i18n/
Internet Explorer | http://devcheatsheet...g/internet-explorer/
Intuit Quickbooks | http://devcheatsheet...g/intuit-quickbooks/
iTunes | http://devcheatsheet.com/tag/itunes/
Java | http://devcheatsheet.com/tag/java/
JavaScript | http://devcheatsheet.com/tag/javascript/
Joomla! | http://devcheatsheet.com/tag/joomla/
jQuery | http://devcheatsheet.com/tag/jquery/
JSP | http://devcheatsheet.com/tag/jsp/
JSTL | http://devcheatsheet.com/tag/jstl/
Keynote | http://devcheatsheet.com/tag/keynote/
LaTeX | http://devcheatsheet.com/tag/latex/
Lift | http://devcheatsheet.com/tag/lift/
Lime Testing Framework | http://devcheatsheet.com/tag/lime/
LINQ | http://devcheatsheet.com/tag/linq/
Linux | http://devcheatsheet.com/tag/linux/
Lisp | http://devcheatsheet.com/tag/lisp/
Lotus Notes | http://devcheatsheet...com/tag/lotus-notes/
Lua | http://devcheatsheet.com/tag/lua/
Macromedia Freehand | http://devcheatsheet...macromedia-freehand/
Marketing | http://devcheatsheet.com/tag/marketing/
MathML | http://devcheatsheet.com/tag/mathml/
MATLAB | http://devcheatsheet.com/tag/matlab/
Mercurial | http://devcheatsheet.com/tag/mercurial/
Metasploit | http://devcheatsheet.com/tag/metasploit/
Microformats | http://devcheatsheet...om/tag/microformats/
Microsoft .NET Framework | http://devcheatsheet.com/tag/dotnet/
Microsoft Entourage | http://devcheatsheet...microsoft-entourage/
Microsoft Excel | http://devcheatsheet.com/tag/excel/
Microsoft FrontPage | http://devcheatsheet.com/tag/frontpage/
Microsoft InfoPath | http://devcheatsheet.com/tag/infopath/
Microsoft Office | http://devcheatsheet...ag/microsoft-office/
Microsoft OneNote | http://devcheatsheet.com/tag/onenote/
Microsoft Outlook | http://devcheatsheet.com/tag/outlook/
Microsoft PowerPoint | http://devcheatsheet.com/tag/powerpoint/
Microsoft Project | http://devcheatsheet...g/microsoft-project/
Microsoft Publisher | http://devcheatsheet...microsoft-publisher/
Microsoft SQL Server | http://devcheatsheet.com/tag/sql-server/
Microsoft Visio | http://devcheatsheet...tag/microsoft-visio/
Microsoft Visual Studio | http://devcheatsheet...m/tag/visual-studio/
Microsoft Visual Web Developer | http://devcheatsheet...isual-web-developer/
Microsoft Windows | http://devcheatsheet.com/tag/windows/
Microsoft Word | http://devcheatsheet.com/tag/ms-word/
mod_rewrite | http://devcheatsheet...com/tag/mod_rewrite/
MODx | http://devcheatsheet.com/tag/modx/
MooTools | http://devcheatsheet.com/tag/mootools/
Movable Type | http://devcheatsheet...om/tag/movable-type/
Mozilla Firefox | http://devcheatsheet...tag/mozilla-firefox/
Mozilla Thunderbird | http://devcheatsheet...mozilla-thunderbird/
MPlayer | http://devcheatsheet.com/tag/mplayer/
MS Access | http://devcheatsheet.com/tag/ms-access/
Mutt | http://devcheatsheet.com/tag/mutt/
MySQL | http://devcheatsheet.com/tag/mysql/
Nessus | http://devcheatsheet.com/tag/nessus/
Netcat | http://devcheatsheet.com/tag/netcat/
NetHack | http://devcheatsheet.com/tag/nethack/
Networking | http://devcheatsheet.com/tag/networking/
Nmap | http://devcheatsheet.com/tag/nmap/
OAuth | http://devcheatsheet.com/tag/oauth/
OllyDbg | http://devcheatsheet.com/tag/ollydbg/
OpenSSL | http://devcheatsheet.com/tag/openssl/
Oracle | http://devcheatsheet.com/tag/oracle/
OS X | http://devcheatsheet.com/tag/os-x/
Outlook Express | http://devcheatsheet...tag/outlook-express/
Pages | http://devcheatsheet.com/tag/pages/
Papervision 3D | http://devcheatsheet.../tag/papervision-3d/
Pascal | http://devcheatsheet.com/tag/pascal/
Perforce | http://devcheatsheet.com/tag/perforce/
Perl | http://devcheatsheet.com/tag/perl/
PGP | http://devcheatsheet.com/tag/pgp/
PHP | http://devcheatsheet.com/tag/php/
PL/pgSQL | http://devcheatsheet.com/tag/pl-pgsql/
PL/SQL | http://devcheatsheet.com/tag/pl-sql/
PostgreSQL | http://devcheatsheet.com/tag/postgresql/
PowerShell | http://devcheatsheet.com/tag/powershell/
Prolog | http://devcheatsheet.com/tag/prolog/
Propel | http://devcheatsheet.com/tag/propel/
Prototype | http://devcheatsheet.com/tag/prototype/
Python | http://devcheatsheet.com/tag/python/
QuarkXPress | http://devcheatsheet...com/tag/quarkxpress/
R | http://devcheatsheet.com/tag/r/
RDFa | http://devcheatsheet.com/tag/rdfa/
Regular Expressions | http://devcheatsheet.com/tag/regex/
Reverse Engineering | http://devcheatsheet...reverse-engineering/
Robocopy | http://devcheatsheet.com/tag/robocopy/
rpm | http://devcheatsheet.com/tag/rpm/
RSS | http://devcheatsheet.com/tag/rss/
rsync | http://devcheatsheet.com/tag/rsync/
Ruby on Rails | http://devcheatsheet...m/tag/ruby-on-rails/
Ruby | http://devcheatsheet.com/tag/ruby/
Safari | http://devcheatsheet.com/tag/safari/
Scala | http://devcheatsheet.com/tag/scala/
Scalable Vector Graphics (SVG) | http://devcheatsheet.com/tag/svg/
Schematron | http://devcheatsheet.com/tag/schematron/
Scheme | http://devcheatsheet.com/tag/scheme/
screen | http://devcheatsheet.com/tag/screen/
Scriptaculous | http://devcheatsheet...m/tag/scriptaculous/
Security | http://devcheatsheet.com/tag/security/
sed | http://devcheatsheet.com/tag/sed/
SEO | http://devcheatsheet.com/tag/seo/
Server Side Includes (SSI) | http://devcheatsheet.com/tag/ssi/
SharePoint Server | http://devcheatsheet...g/sharepoint-server/
SimpleTest | http://devcheatsheet.com/tag/simpletest/
Smarty | http://devcheatsheet.com/tag/smarty/
Spring | http://devcheatsheet.com/tag/spring/
SQL Injection | http://devcheatsheet...m/tag/sql-injection/
SQL | http://devcheatsheet.com/tag/sql/
SQLite | http://devcheatsheet.com/tag/sqlite/
SSH | http://devcheatsheet.com/tag/ssh/
SSL | http://devcheatsheet.com/tag/ssl/
Subversion (SVN) | http://devcheatsheet.com/tag/svn/
Sybase | http://devcheatsheet.com/tag/sybase/
Symfony | http://devcheatsheet.com/tag/symfony/
T-SQL | http://devcheatsheet.com/tag/t-sql/
Tcl | http://devcheatsheet.com/tag/tcl/
TCP/IP | http://devcheatsheet.com/tag/tcp-ip/
tcpdump | http://devcheatsheet.com/tag/tcpdump/
TeX | http://devcheatsheet.com/tag/tex/
TextMate | http://devcheatsheet.com/tag/textmate/
Twitter | http://devcheatsheet.com/tag/twitter/
TypePad | http://devcheatsheet.com/tag/typepad/
UML | http://devcheatsheet.com/tag/uml/
Unicode | http://devcheatsheet.com/tag/unicode/
Unix | http://devcheatsheet.com/tag/unix/
Usability | http://devcheatsheet.com/tag/usability/
VB.NET | http://devcheatsheet.com/tag/vbnet/
VBScript | http://devcheatsheet.com/tag/vbscript/
Vi | http://devcheatsheet.com/tag/vi/
Vim | http://devcheatsheet.com/tag/vim/
Vimperator | http://devcheatsheet.com/tag/vimperator/
Virtual Private Network (VPN) | http://devcheatsheet.com/tag/vpn/
Visual Basic (VB) | http://devcheatsheet.com/tag/vb/
Visualization | http://devcheatsheet...m/tag/visualization/
Win32 | http://devcheatsheet.com/tag/win32/
Wireshark | http://devcheatsheet.com/tag/wireshark/
WordPress | http://devcheatsheet.com/tag/wordpress/
WPF | http://devcheatsheet.com/tag/wpf/
x-emacs | http://devcheatsheet.com/tag/x-emacs/
x86 | http://devcheatsheet.com/tag/x86/
XAML | http://devcheatsheet.com/tag/xaml/
Xcode | http://devcheatsheet.com/tag/xcode/
XHTML | http://devcheatsheet.com/tag/xhtml/
XML | http://devcheatsheet.com/tag/xml/
Xmonad | http://devcheatsheet.com/tag/xmonad/
XPath | http://devcheatsheet.com/tag/xpath/
XQuery | http://devcheatsheet.com/tag/xquery/
XSLT | http://devcheatsheet.com/tag/xslt/
XSS | http://devcheatsheet.com/tag/xss/
Yahoo! Query Language (YQL) | http://devcheatsheet.com/tag/yql/
Yahoo! Search BOSS | http://devcheatsheet...g/yahoo-search-boss/
Yahoo! | http://devcheatsheet.com/tag/yahoo/
YUI | http://devcheatsheet.com/tag/yui/


Edited to fix an error (thanks for pointing it out mouser!) and changed the sort order.

109
Find And Run Robot / FarrFolders Demo
« on: February 03, 2010, 06:31 PM »
This is a series of screenshots intended to give a taste of what FarrFolders (latest at the time of this writing) can do.

Credits: FarrFolders was conceived of/developed by cardboard42 and rulfzid -- with contributions from others: mouser, nitrix-ud, skajfes, and TucknDar (if I missed someone or didn't credit appropriately, please let me know).  Please see this topic for details.

While interfacing with a save dialog, have you ever thought: "I wish I could just use FARR to find the folder to save to!".  Well, you can with FarrFolders :)

1. About to click on a link to download this interesting looking application...
0. Starting.png

2. Time to confirm the download.
1. Confirm Download.png

3. Hmm, none of these easily accessible save locations look good...
2. Save Dialog.png

4. I'll bring up FARR, find the directory to save to, apply the FarrFolders magic (+fao), press the Enter key and...
3. Find folder to save to using FARR...and add magic_ +fao.png

5. Lo and behold!  FARR has changed the directory in the save dialog box :)
4. Observe the results of pressing the enter key.png

110
Developer's Corner / Resources for learning Mercurial?
« on: January 27, 2010, 09:02 PM »
After watching Linus' talk on git (thank you Mark0, tinjaw) and talking with mouser, Mercurial seemed worth looking into, so...

Checked the forums here for previous mentions and below is a brief summary of some results:

  houstier referenced:
    Understanding Mercurial (redirects) via this post

  fenixproductions referenced:
    Mercurial Wiki  (redirects) via this post
    A tutorial on using Mercurial (redirects) via this post

  tomos referenced:
    A book on Mercurial - pdf (not found -- try Google w/ hgbook.pdf), online (redirects) via this post
    ----
    Editorial remark: Seems like the book in question used to be titled:

      Distributed revision control with Mercurial

    now it seems to be called:

      Mercurial: The Definitive Guide

  mouser referenced:
    Use Mercurial, You Git! (not found) via this post
    ----
    Editorial remark: Didn't succeed in locating a cached version of the article in question anywhere, but found the following:

      http://weblog.masukomi.org/2008/02/07/a-rebuttal-to-use-mercurial-you-git

    IIUC, one of the comments is from the author of the aforementioned article.

If any Mercurial users have things to add, please pitch in :)

111
I'm watching (and rewatching) certain lectures and find that I'd like to be able to quickly navigate to certain points.  Unfortunately, the source video (DVD) doesn't contain very useful "navigational points" (chapters?).  I've ripped the content as I tend to watch using VLC / smplayer so I've got the video content in file form.  I'm wondering whether there are good ways for annotating or adding metadata to video files to enable easier navigation.

Does anyone have a recommended solution for something like this?

What I've tested out with some success is creating Matroska files with chapters.  I first tried AVIMux_GUI but found that somehow the times that I specified weren't quite right when I played back.  Then I tried mmg (from mkvtoolnix) with better success.

112
I put together estf [1] (ahk, exe) which tries to do the following:

  With a file or folder selected in Windows Explorer press a hotkey to bring up FARR and have the selected item appear in FARR

The hotkey and path to FARR's executable are configurable via an ini file -- they default to holding down the Windows key while pressing "s" and C:\Program Files\FindAndRunRobot\FindAndRunRobot.exe respectively.

It's got some limitations (e.g. it won't work when Windows Explorer is viewing things like "My Computer"), but it seems to work ok for many situations locally.  

Perhaps other might also find it useful.

I heard a rumor that something like this may have been suggested before, but I didn't succeed in turning up the relevant thread(s)/post(s).  If someone else manages to find it/them, please let me know.


[1] Renamed from 'ExploreSelectionToFARR'.

Update: exe MD5: 98b2e29d99d5e7a881efef221d2b8343

113
Developer's Corner / Resources for learning git?
« on: January 01, 2010, 04:01 AM »
I'm making another attempt at learning git and am currently trying to read the following:

Pro Git
Git Community Book

So far they seem pretty good -- at least it's making more sense to me than the last time I tried ;)

Any git-using folks have any recommended git-learning resources?

114
Living Room / Some DC forum-related Greasemonkey Scripts
« on: April 04, 2009, 03:54 AM »
I've put together a page with links to some DC forum-related Greasemonkey scripts.

At the moment, what's available is:

  • Script to change color of dates in certain DC forum posts and topics by age
  • Script to ease opening of unread DC forum topics in tabs

The former script requires that the date format for your user is set up to be of the form YYYY-MM-DD -- if people are interested in other formats being supported, please mention the formats and I will at least give them some consideration.  Also, it doesn't work for all pages that list topics -- if there's some page that isn't which you'd like, please give me a sample URL and I'll consider investigating feasibility.

post-date-colored.png

topic-date-colored.png

The latter script is what I've started using to make viewing unread topics a little easier -- after installation some menu items are added to the Greasemonkey "User Script Commands" submenu.  Some items are for opening some number of unread topics in tabs while one is for opening just the unread topics which have their checkboxen checked.  I haven't gotten the accelerator key functionality working locally for some reason...

For sanity's sake, the script will ask for confirmation if it is asked to open more than 3 tabs at once -- and the tab opening should now be staggered by 1 second each.  The original page listing the unread topics should also get reloaded 1 second after the last tab is opened.

gm-statusbar-item-menu.png

115
Developer's Corner / MozMill
« on: March 30, 2009, 10:10 AM »
Has anyone tried out MozMill?

  http://quality.mozil...introduction-mozmill

MozMill is a test tool/framework for writing automated tests for XUL based applications (Firefox, Thunderbird, Songbird, etc). It is built as an extension which includes an IDE to help you write, run, and debug tests. MozMill has an extensive API to help you write functional tests that simulate user interactions, as well as a full unittest API.

116
I found the QuickRestart add-on to be helpful while working on assignments:

https://addons.mozil...S/firefox/addon/3559

May be if other folks use specific add-ons or other things to aid in their development process, they wouldn't mind sharing the info ;)

117
I've been looking for an easy way [1] to create ActiveX objects so that FScript JScript plugins can get access to more functionality.  I haven't found a good way yet, but one thing that looks promising is hinted at in the section titled "Creating a COM component" in the following (plus perhaps using something like py2exe or cx_Freeze):

  http://stormcoders.b...com-with-python.html

I haven't manage to get it working yet (not sure what I'm doing wrong), but I'm wondering if anyone else has tried anything similar or has a better idea.

Any thoughts?


[1] Preferably doable w/ free tools, no nasty license agreements to accept, straight-forward to code, etc.

118
Clipboard Help+Spell / Modify Format/Case: Secure Wikipedia URL
« on: February 12, 2009, 12:41 AM »
I convert some of my http Wikipedia URLs to https WikiMedia URLs using CHS' Modify Format/Case functionality, changing things like:

http://en.wikipedia.org/wiki/Magnetite

to:

https://secure.wikim...ia/en/wiki/Magnetite

In my ClipboardHelpAndSpell\PresetFormats\ directory I have a filed named "SecureWikipedia.preset.format", that contains:

[FormattingForm.rsPropSaver1]
acCheckGroupBoxAddEntire.Checked="false"
AddPrefixEdit.Text=
AddStuffCheckGroupBox.Checked="false"
AddSuffixEdit.Text=
ApplyCheckGroupBox.Checked="true"
ChangeCaseCheckGroupBox.Checked="false"
CheckBoxAddToBlanks.Checked="false"
CheckBoxEvenBetween.Checked="false"
CheckBoxFixedFont.Checked="false"
CheckBoxIndent.Checked="false"
CheckBoxJustify.Checked="false"
CheckBoxNewlineSentences.Checked="false"
CheckBoxNoSpacesInTrimLines.Checked="false"
CheckBoxPostAfterPrefix.Checked="true"
CheckBoxRemoveLinebreaks.Checked="false"
CheckBoxSearchCaseInsensitive.Checked="true"
CheckBoxSearchRegEx.Checked="true"
CheckBoxTrimExcessBlankLines.Checked="true"
CheckBoxTrimExcessWhitespace.Checked="true"
CheckBoxWordWrap.Checked="false"
CheckGroupBoxTrimLeft.Checked="true"
CheckGroupBoxTrimRight.Checked="true"
FindEdit.Text="^http:\/\/([a-zA-Z]+)\.wikipedia\.org\/wiki\/(.*)$"
LabeledEditEntirePrefix.Text=
LabeledEditEntireSuffix.Text=
LeadingCheckGroupBox.Checked="false"
NumberEditWidth.Value=76
PostFormatCheckGroupBox.Checked="false"
RadioButtonInvertCase.Checked="false"
RadioButtonLowercase.Checked="false"
RadioButtonSentenceCase.Checked="true"
RadioButtonTitleCase.Checked="false"
RadioButtonUppercase.Checked="false"
RepEdit.Text="https://secure.wikimedia.org/wikipedia/$1/wiki/$2"
ReplacementCheckGroupBox.Checked="true"
StripLeadingEdit.Text="<,>,],["
StripperCheckGroupBox.Checked="true"
StripTrailingEdit.Text=
TrailingCheckGroupBox.Checked="false"
TrimLeftCountEdit.Value=0
TrimLineCheckGroupBox.Checked="false"
TrimRightCountEdit.Value=0

119
Clipboard Help+Spell / Modify Format/Case: Sanitize Amazon.com URL
« on: February 12, 2009, 12:38 AM »
I "sanitize" some of my amazon.com URLs using CHS' Modify Format/Case functionality, changing things like:

http://www.amazon.co...thinghere&sr=8-1

to:

http://www.amazon.co...-Bono/dp/0316178314/

In my ClipboardHelpAndSpell\PresetFormats\ directory I have a filed named "SanitizeAmazonURL.preset.format", that contains:

[FormattingForm.rsPropSaver1]
acCheckGroupBoxAddEntire.Checked="false"
AddPrefixEdit.Text=
AddStuffCheckGroupBox.Checked="false"
AddSuffixEdit.Text=
ApplyCheckGroupBox.Checked="true"
ChangeCaseCheckGroupBox.Checked="false"
CheckBoxAddToBlanks.Checked="false"
CheckBoxEvenBetween.Checked="false"
CheckBoxFixedFont.Checked="false"
CheckBoxIndent.Checked="false"
CheckBoxJustify.Checked="false"
CheckBoxNewlineSentences.Checked="false"
CheckBoxNoSpacesInTrimLines.Checked="false"
CheckBoxPostAfterPrefix.Checked="true"
CheckBoxRemoveLinebreaks.Checked="false"
CheckBoxSearchCaseInsensitive.Checked="true"
CheckBoxSearchRegEx.Checked="true"
CheckBoxTrimExcessBlankLines.Checked="true"
CheckBoxTrimExcessWhitespace.Checked="true"
CheckBoxWordWrap.Checked="false"
CheckGroupBoxTrimLeft.Checked="true"
CheckGroupBoxTrimRight.Checked="true"
FindEdit.Text="^(.*\/)ref=.*$"
LabeledEditEntirePrefix.Text=
LabeledEditEntireSuffix.Text=
LeadingCheckGroupBox.Checked="false"
NumberEditWidth.Value=76
PostFormatCheckGroupBox.Checked="false"
RadioButtonInvertCase.Checked="false"
RadioButtonLowercase.Checked="false"
RadioButtonSentenceCase.Checked="true"
RadioButtonTitleCase.Checked="false"
RadioButtonUppercase.Checked="false"
RepEdit.Text="$1"
ReplacementCheckGroupBox.Checked="true"
StripLeadingEdit.Text="<,>,],["
StripperCheckGroupBox.Checked="true"
StripTrailingEdit.Text=
TrailingCheckGroupBox.Checked="false"
TrimLeftCountEdit.Value=0
TrimLineCheckGroupBox.Checked="false"
TrimRightCountEdit.Value=0

120
FARR Plugins and Aliases / FARR plugin: Bakko
« on: February 02, 2009, 08:24 PM »
Bakko - Transformations of FARR Text Field Content

Introduction

  The main point of this plugin is to provide a customizable means for transforming the main FARR window's text field content.  At the moment, "customizable" means that the user can write a bit of JavaScript to operate on the text field content.  It's also possible that people could share these bits of JavaScript :)

Usage Examples

  1. Bring up FARR and type some text into the text field.

  2. A statusbar icon should appear at (or near) the bottom right of the FARR main window,  Click (currently, left-click) on this icon to bring up some possible transformations.

  3. Some or all of the following may appear -- try one by clicking on the corresponding context menu item.

       Evaluate
         original text:
           2 / 3
         replaced with:
           0.6666666666666666
         original text:
           (1 + 2 + 3) * (-1 + Math.pow(2, 3)) // note: use of JavaScript
         replaced with:
           42

       Factor
         original text:
           6
         replaced with:
           1 * 2 * 3

       ROT13
         original text:
           or fher gb qevax lbhe binygvar
         replaced with:
           be sure to drink your ovaltine

       Sanitize Amazon.com URL
         original text:
           http://www.amazon.com/Mythical-Man-Month-Software-Engineering-Anniversary/dp/0201835959/ref=stuff
         replaced with:
           http://www.amazon.com/Mythical-Man-Month-Software-Engineering-Anniversary/dp/0201835959/

  4. There is rudimentary support for access to a history of text strings which were successfully operated on (but not the results).  The strings in the history may be accessed via the History submenu of the statusbar menu.  NOTE: The history does not currently survive plugin reloads nor FARR restarts.

Creating a Transformation

  Each transformation is implemented as a JavaScript file living in the directory %PLUGINDIR%\transformations\.  Before reading further, I suggest opening up one of the samples in a text editor -- the following description may be easier to follow.  Choosing the shortest sample may be a good idea ;)

  The JavaScript file gets eval()-ed (nasty word, eh?) and the plugin expects the eval() result to be an object.

  The samples accomplish this by starting the file w/:

    (function () {

  and ending it w/:

      return {name: name,
              caption: caption,
              hint: hint,
              icon: icon,
              launch: launch,
              display: display,
              code: code};
    } ());

  (In case it wasn't obvious, what evaluation of that does (as I understand it), is to call a function which returns an object.)

  In between, define the following (some optional):

    name
      string
        no spaces

    caption(stxt)
      function
        returns a string for the menu item's caption.  currently, the returned string gets truncated and " ..." is appended if it is too long (see source of plugin for details).
        stxt is the string value of the content of FARR's main window text field at the time the context menu is being constructed.

    hint(stxt) optional
      function
        returns a string for the hint of the menu item.
        stxt is the string value of the content of FARR's main window text field at the time the context menu is being constructed.

    icon(stxt) optional
      function
        returns a string of the path to an icon for the menu item.
        stxt is the string value of the content of FARR's main window text field at the time the context menu is being constructed.

    launch(stxt)
      function
        returns a string used by FARR to execute the transformation code -- typically returns values looking like:
          farr://pcommand bakko xform <name> <stxt>
        stxt is the string value of the content of FARR's main window text field at the time the context menu is being constructed.

    display(stxt) (optional)
      function
        returns a boolean, true if the transformation should show up in the context menu, false if not.
        stxt is the string value of the content of FARR's main window text field at the time the context menu is being constructed.

    code(argtxt)
      function
        returns a string or null. 
          a string value represents a successful transformation and FARR's main window text field should be replaced with it. 
          a null value means failure.
        argtxt is currently the same as stxt (as mentioned above).

  The transformation has access to variables and functions within the plugin's (function () {} ()) scope (I think).  What this means is that displayname, aliasstr, pu, and the like may all be used within transformations. 

  If something isn't clear (or you think there are mistakes) here, I suggest asking on the forums and/or "Use the source, Luke" ;)

Tips

  Having a hotkey defined to bring up FARR with clipboard content pasted in FARR's main window can be handy.

Bugs

  Probably ;)

Credits

  Thanks go out to:

    mouser
    ecaradec
    Plugin authors that provided source and/or comments on the forums
    DC Forums participants
    DC Supporters


Download

  Experimental - please ensure that the parent directory of the contained fscript.js file is named Bakko.

121
Developer's Corner / Tech Presentations (site)
« on: January 19, 2009, 02:17 AM »
Recently, I came across the site "Tech Presentations" when researching specific presentations.  So far, I take "Tech" in this context to mean mostly related to the Internet.

From the about page of the associated blog:

Authors of this blog are digging up technical presentations from different conferences and events.

Quite often such presentations share information that can’t be found in books or articles and can give you insights at technology advances, company culture and even people personalities.

One nice thing the site provides is different views of the collected presentations, including by:

  • Conferences
  • Presentations
  • People
  • Companies
  • Locations

TechPresentationsLogo.png

http://www.techpresentations.org/

Perhaps other folks will find this to be of some use at some point :)

122
Site/Forum Features / Viewing Subsets of Unread Posts?
« on: January 15, 2009, 07:06 AM »
I was getting overwhelmed by the number of unread posts I encountered via "Show unread posts" so I tried fiddling with various URLs.  Below is what I've been using for some days now and I feel a bit less swamped:


I access these via my browser's bookmark bar -- may be there's a better way, but this is what I've come up with at the moment.

May be there are better ways to get at subsets of unread posts.  Any ideas?

123
Developer's Corner / "Code Reading" by Diomidis Spinellis
« on: January 11, 2009, 02:47 AM »
Has anyone read "Code Reading" by Diomidis Spinellis [1]?

I am considering whether to obtain this book and am interested in DC folks' opinions regarding it.

If there are any other relevant resources concerning the improvement of one's ability to go from "no understanding" to "good understanding" of a piece of software that has at least source code available [2], I would be happy to hear about these too.

Any feedback and comments welcome :)


[1] The author seems to have written Chapter 17 of "Beautiful Code" according to:

https://www.donation...87.msg71057#msg71057

[2] Of course we can learn from documentation, diagrams, and other things too, but I'd like to consider the situation where I at least have access to some (preferably all) source code.

124
I'm considering a PuTTY plugin.  I have some code that seems to work for various definitions of "PuTTY".

I don't understand why there are so many flavors of PuTTY.  Below is a summary of what I've learned so far about the various flavors.  If you happen to notice any of it is incorrect or something relevant is omitted, I would appreciate being informed.

   PuTTY (the original)
     http://www.chiark.greenend.org.uk/~sgtatham/putty/
     * registry-based sessions
       * putty.exe -load "session name"
       * HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

   KiTTY
     http://kitty.9bis.com/
     * registry-based sessions
       * kitty.exe -load "session name"
       * HKEY_CURRENT_USER\Software\9bis.com\KiTTY\Sessions

   KiTTY Portable
     http://kitty.9bis.com/
     * file-based sessions
       * kitty_portable.exe -load "session name"
       * <exe-folder>/Sessions/<encodeURIComponent(session-name)>

   PuTTY Portable
     http://portableapps.com/apps/internet/putty_portable
     * registry-based sessions
       * putty.exe -load "session name"
       * HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

   portaPuTTY
     http://code.google.com/p/portaputty/
     * file-based sessions
       * putty.exe -load "session name"
       * <exe-folder>/.putty/sessions/<encodeURIComponent(session-name)>

   PuTTY Tray
     http://www.xs4all.nl/~whaa/putty/
     * file-based sessions
       * putty.exe -loadfile "session name"
       * putty.exe -file "session name"
       * <exe-folder>/sessions/<encodeURIComponent(session-name)>
     * registry-based sessions
       * putty.exe -load "session name"
       * HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

125
Living Room / BBS: The Documentary
« on: January 09, 2009, 07:26 AM »
I imagine some folks here have already seen BBS: The Documentary, but may be there are some folks who missed it and would be interested ;)

https://secure.wikim...wiki/BBS_Documentary

bbsdoc.jpg

(On a tangential note, I noticed the creator is working on another interesting-sounding documentary about text adventures a.k.a. interactive fiction: http://getlamp.com/)

Pages: prev1 2 3 4 [5] 6next