Hacks.HomePage History
Hide minor edits - Show changes to markup
March 23, 2013, at 08:35 PM
by Martin -
Changed lines 9-10 from:
to:
Hardware
March 23, 2013, at 08:35 PM
by Martin -
Changed lines 7-8 from:
to:
March 23, 2013, at 08:35 PM
by Martin -
Changed lines 7-8 from:
to:
March 23, 2013, at 03:06 PM
by Martin -
Changed lines 7-8 from:
to:
March 23, 2013, at 03:05 PM
by Martin -
Added lines 7-10:
Deleted lines 142-155:
xdisplay
Use this little script to help keep track of where you are and set your default X DISPLAY. If your DISPLAY is set, it will be returned, but if it is not, this will return the last known value. Use this in environments where you want your display to automatically get set whenever you log into remote machines. Appropriate stderr messages are output when invoked so that you are aware of your settings.
This display value gets stored in ~/.xdisplay
To use, put this in your path somewhere, say ~/bin and:
in csh, do: setenv DISPLAY `xdisplay`
in sh, do: export DISPLAY=`xdisplay`
April 13, 2009, at 04:05 PM
by Martin Fick -
Changed lines 11-13 from:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
to:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
palm2droid will help you import your palm addresses to you android phone without google contacts. New!
April 06, 2009, at 11:43 AM
by Martin Fick -
Changed lines 11-13 from:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
to:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
April 04, 2009, at 12:23 AM
by Martin Fick -
Changed lines 32-35 from:
fargs
This really is too cool to explain. :) No, actually you could just think of it as YAFRT (Yet Another File Renaming Tool), but it is not actually, or just, a renamer. It stands for file args and is meant to help you manipulate file arguments before passing them to xargs to do something with them. You could just manipulate your file names with sed, but then you would end up with only the modified new name. This script helps you modify new names and also pass the old ones to xargs, exactly what you would need to perform a rename. Very nifty, and entirely too powerful!
to:
fargs New!
This really is too cool to explain. :) No, actually you could just think of it as YAFRT (Yet Another File Renaming Tool), but it is not actually, or just, a renamer. It stands for file args and is meant to help you manipulate file arguments before passing them to xargs to do something with them. You could just manipulate your file names with sed, but then you would end up with only the modified new name. This script helps you modify new names and also pass the old ones to xargs, exactly what you would need to perform a rename. Very nifty, and entirely too powerful! You can read the help here.
April 04, 2009, at 12:21 AM
by Martin Fick -
Changed lines 43-44 from:
xargs -l2 sh -c 'dos2unix < "\$0" > "\$1"'
to:
xargs -l2 sh -c 'dos2unix < "\$0" > "\$1"'
April 04, 2009, at 12:20 AM
by Martin Fick -
Changed lines 34-35 from:
This really is too cool to explain. :) Not actually you could just think of it as YAFRT (Yet Another File Renaming Tool), but it is not actually, or just, a renamer. It stands for file args and is meant to help you manipulate file arguments before passing them to xargs to so something with them. You could just manipulate your file names with sed, but then you would end up with only the modified new name. This script helps you modify new names and also pass the old ones to xargs, exactly what you would need to perform a rename. Very nifty, and entirely too powerful!
to:
This really is too cool to explain. :) No, actually you could just think of it as YAFRT (Yet Another File Renaming Tool), but it is not actually, or just, a renamer. It stands for file args and is meant to help you manipulate file arguments before passing them to xargs to do something with them. You could just manipulate your file names with sed, but then you would end up with only the modified new name. This script helps you modify new names and also pass the old ones to xargs, exactly what you would need to perform a rename. Very nifty, and entirely too powerful!
Changed lines 38-39 from:
find foo -type d | fargs -%1s/foo/bar/ -oo | xargs -l mkdir -p
to:
find foo -type d | fargs -%1s/foo/bar/ -oo | xargs -l mkdir -p
Changed lines 42-44 from:
find foo -type f | fargs -%1s/foo/bar/ | xargs -l2 sh -c 'dos2unix < "\$0" > "\$1"'
to:
find foo -type f | fargs -%1s/foo/bar/ | xargs -l2 sh -c 'dos2unix < "\$0" > "\$1"'
April 04, 2009, at 12:17 AM
by Martin Fick -
Added lines 31-44:
fargs
This really is too cool to explain. :) Not actually you could just think of it as YAFRT (Yet Another File Renaming Tool), but it is not actually, or just, a renamer. It stands for file args and is meant to help you manipulate file arguments before passing them to xargs to so something with them. You could just manipulate your file names with sed, but then you would end up with only the modified new name. This script helps you modify new names and also pass the old ones to xargs, exactly what you would need to perform a rename. Very nifty, and entirely too powerful!
Replicate a directory hierarchy (no files):
find foo -type d | fargs -%1s/foo/bar/ -oo | xargs -l mkdir -p
Now, replicate all the files to the new directory structure while running dos2unix on them:
find foo -type f | fargs -%1s/foo/bar/ | xargs -l2 sh -c 'dos2unix < "\$0" > "\$1"'
April 04, 2009, at 12:05 AM
by Martin Fick -
Changed lines 11-13 from:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
to:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
April 03, 2009, at 11:47 PM
by Martin Fick -
Changed lines 11-13 from:
sdplit will help you partition your sdcard directly on your phone without a pc. New!
to:
sdsplit will help you partition your sdcard directly on your phone without a pc. New!
Changed lines 19-21 from:
You can read about the usage of the script here, and some technical details about the patch here. newer!
to:
You can read about the usage of the script here, and some technical details about the patch here. Newer!
April 03, 2009, at 11:46 PM
by Martin Fick -
Changed lines 18-21 from:
I have patched chironfs-1.1.1 so that it is possible to make a safe self healing script. And, of course, I have create such a script also. newer!
You can read about the usage of the script here, and some technical details about the patch here.
to:
I have patched chironfs-1.1.1 so that it is possible to make a safe self healing script. And, of course, I have create such a script also.
You can read about the usage of the script here, and some technical details about the patch here. newer!
April 03, 2009, at 11:42 PM
by Martin Fick -
Changed lines 9-13 from:
will help you partition your sdcard directly on your phone without a pc. New!
to:
The Google Phone
sdplit will help you partition your sdcard directly on your phone without a pc. New!
Changed lines 16-18 from:
Chironfs newer!
I have patched chironfs-1.1.1 so that it is possible to make a safe self healing script. And, of course, I have create such a script also.
to:
Chironfs
I have patched chironfs-1.1.1 so that it is possible to make a safe self healing script. And, of course, I have create such a script also. newer!
April 03, 2009, at 11:40 PM
by Martin Fick -
Added lines 7-13:
will help you partition your sdcard directly on your phone without a pc. New!
Changed lines 16-17 from:
Chironfs New!
to:
Chironfs newer!
Changed lines 32-33 from:
to:
February 21, 2009, at 08:06 PM
by Martin Fick -
Changed lines 9-10 from:
Chironfs
to:
Chironfs New!
Changed lines 25-26 from:
to:
February 21, 2009, at 07:19 PM
by Martin Fick -
Changed lines 12-13 from:
to:
You can read about the usage of the script here, and some technical details about the patch here.
February 21, 2009, at 07:11 PM
by Martin Fick -
Changed lines 7-13 from:
to:
Chironfs
I have patched chironfs-1.1.1 so that it is possible to make a safe self healing script. And, of course, I have create such a script also.
October 22, 2008, at 10:31 AM
by Martin Fick -
Changed lines 1-6 from:
I started working on a proposal for an OpenID wrapper that could help make OpenID more available. (newer)
to:
While you may see some of my real hacks below, I also have a page with Ideas for new hacks. Perhaps someone else will implement them? :)
March 07, 2008, at 10:17 AM
by Martin Fick -
Changed lines 43-46 from:
to:
sdml2pic Soon!
I am in the process of adapting the sdml2txt converter to output pic which can then be used to also create graphical representations using the pic2plot tools. This should get released this weekend sometime. Martin Fick March 07, 2008, at 10:17 AM
March 06, 2008, at 02:26 PM
by Martin Fick -
Changed lines 75-77 from:
to:
To get abctab2ps to render some of the higher numbered frets you may need to use these modified fonts: itBorrono.ps or itTimes.ps.
March 05, 2008, at 03:05 PM
by Martin Fick -
Changed lines 136-138 from:
| Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: | http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=160&render=&.gif |
to:
| http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=160&render=&.gif | Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save |
March 05, 2008, at 03:04 PM
by Martin Fick -
Changed lines 136-138 from:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=160&render=&.gif %%
to:
| Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: | http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=160&render=&.gif |
March 05, 2008, at 03:03 PM
by Martin Fick -
Changed lines 136-138 from:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=150&render=&.gif
to:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=160&render=&.gif %%
March 05, 2008, at 02:59 PM
by Martin Fick -
Changed lines 136-138 from:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=150&render=
to:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=150&render=&.gif
March 05, 2008, at 02:58 PM
by Martin Fick -
Changed lines 136-137 from:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save.
to:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save like this: http://www.theficks.name/chess/render.php?a8=BR&b8=&c8=&d8=&e8=BK&f8=&g8=&h8=BR&a7=BP&b7=BP&c7=BP&d7=&e7=BB&f7=BP&g7=BP&h7=BP&a6=&b6=&c6=BN&d6=BQ&e6=&f6=BN&g6=&h6=&a5=&b5=&c5=&d5=BP&e5=BP&f5=&g5=WB&h5=&a4=&b4=&c4=WB&d4=&e4=WP&f4=&g4=BB&h4=&a3=&b3=&c3=WN&d3=WP&e3=&f3=WN&g3=&h3=&a2=WP&b2=WP&c2=WP&d2=&e2=&f2=WP&g2=WP&h2=WP&a1=WR&b1=&c1=&d1=WQ&e1=&f1=WR&g1=WK&h1=&BSIZE=150&render=
March 05, 2008, at 02:55 PM
by Martin Fick -
Changed lines 63-65 from:
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e ,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f \
to:
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h
,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e
,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f
March 05, 2008, at 02:55 PM
by Martin Fick -
Changed lines 49-56 from:
T:Happy Birthday
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|---------5-4----------7-5------9-5-5-5-4-2-10-10-9-5-7-5-----------
|-5-5-7-5------5-5-7-5------5-5----------------------------5-7-5-8--
|-------------------------------------------------------------------
to:
T:Happy Birthday
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|---------5-4----------7-5------9-5-5-5-4-2-10-10-9-5-7-5-----------
|-5-5-7-5------5-5-7-5------5-5----------------------------5-7-5-8--
|-------------------------------------------------------------------
Changed lines 59-64 from:
X:1
...
T:Happy Birthday
K:guitartab
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e ,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f ,,,,i
to:
X:1
...
T:Happy Birthday
K:guitartab
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e ,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f ,,,,i
March 05, 2008, at 02:52 PM
by Martin Fick -
Changed lines 50-56 from:
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|---------5-4----------7-5------9-5-5-5-4-2-10-10-9-5-7-5-----------
|-5-5-7-5------5-5-7-5------5-5----------------------------5-7-5-8--
|-------------------------------------------------------------------
to:
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|---------5-4----------7-5------9-5-5-5-4-2-10-10-9-5-7-5-----------
|-5-5-7-5------5-5-7-5------5-5----------------------------5-7-5-8--
|-------------------------------------------------------------------
Changed lines 59-64 from:
X:1
...
T:Happy Birthday
K:guitartab
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e ,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f ,,,,i
to:
X:1
...
T:Happy Birthday
K:guitartab
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e ,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f ,,,,i
March 05, 2008, at 02:51 PM
by Martin Fick -
Changed lines 63-64 from:
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,j ,,,f ,,,f ,,,f
to:
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,k ,,,f ,,,f ,,,f ,,,e ,,,c ,,,l ,,,l ,,,k ,,,f ,,,h ,,,f ,,,,f ,,,,h ,,,,f ,,,,i
Changed lines 67-71 from:
http://www.theficks.name/test/Content/pmwiki.php/1.gif?n=Music.Music&action=content&content=/asciitab..gif~1.gif
Since I have integrated this with pmwiki, you can preview this example live.
to:
http://www.theficks.name/test/Content/pmwiki.php/1.gif?n=Music.Music&action=content&content=/asciitab..gif~1.gif
Since I have integrated this with pmwiki, you can preview this example live.
March 05, 2008, at 02:49 PM
by Martin Fick -
Changed lines 65-66 from:
which can then be parsed with abctab2ps. Since I am also in the process of integrating this with pmwiki, you can preview this example live.
to:
which can then be parsed with abctab2ps to look like this:
http://www.theficks.name/test/Content/pmwiki.php/1.gif?n=Music.Music&action=content&content=/asciitab..gif~1.gif
Since I have integrated this with pmwiki, you can preview this example live.
February 20, 2008, at 12:56 PM
by Martin Fick -
Added line 16:
Added line 44:
Changed line 67 from:
to:
Changed line 72 from:
to:
Changed line 77 from:
to:
Added line 82:
Added line 93:
Changed line 124 from:
to:
Added line 132:
February 20, 2008, at 10:46 AM
by Martin Fick -
Changed lines 3-6 from:
I started working on a proposal for an OpenID wrapper that could help make OpenID more available.
to:
I started working on a proposal for an OpenID wrapper that could help make OpenID more available. (newer)
Added line 21:
Changed lines 23-27 from:
[Client, Proxy, DNS, Server
Query Name->
Answer IP<-
http GET >->
<<-html
to:
[Client, Proxy, DNS, Server
Query Name->
Answer IP<-
http GET >->
<<-html
Changed lines 40-42 from:
As you can see, there isn't much to describing a diagram. SDML is simple but flexible and aims to facilitate creating sequence diagrams with minimal effort and typing. SDML is inspired by abc music tablature notation language. For more information about writing SDML, visit here.
to:
As you can see, there isn't much to describing a diagram. SDML is simple but flexible and aims to facilitate creating sequence diagrams with minimal effort and typing. SDML is inspired by abc music tablature notation language. For more information about writing SDML, visit here. Perhaps someone will create an sdml2ps converter?
February 20, 2008, at 10:43 AM
by Martin Fick -
Changed lines 3-4 from:
to:
Changed lines 16-17 from:
to:
Added line 20:
Changed lines 22-28 from:
(:sdml:)
[Client, Proxy, DNS, Server
Query Name->
Answer IP<-
http GET >->
<<-html
(:sdmlend:)
to:
[Client, Proxy, DNS, Server
Query Name->
Answer IP<-
http GET >->
<<-html
Changed lines 29-41 from:
Sequence Diagram:
Client Proxy DNS Server
| | | |
|----------Query Name-------->| |
|<---------Answer IP----------| |
|--http GET -->|----------http GET -------->|
|<----html-----|<-----------html------------|
As you can see, there isn't much to describing a diagram. SDML is simple but flexible and aims to facilitate creating sequence diagrams with minimal effort and typing. SDML is inspired by abc music tablature notation language. For more information about writing SDML, visit here.
to:
Sequence Diagram:
Client Proxy DNS Server
| | | |
|----------Query Name-------->| |
|<---------Answer IP----------| |
|--http GET -->|----------http GET -------->|
|<----html-----|<-----------html------------|
As you can see, there isn't much to describing a diagram. SDML is simple but flexible and aims to facilitate creating sequence diagrams with minimal effort and typing. SDML is inspired by abc music tablature notation language. For more information about writing SDML, visit here.
Changed lines 97-101 from:
in csh, do: setenv DISPLAY `xdisplay`
in sh, do: export DISPLAY=`xdisplay`
to:
in csh, do: setenv DISPLAY `xdisplay`
in sh, do: export DISPLAY=`xdisplay`
February 20, 2008, at 10:38 AM
by Martin Fick -
Changed lines 3-6 from:
I started working on proposal for an OpenID wrapper that could help make OpenID more available.
to:
I started working on a proposal for an OpenID wrapper that could help make OpenID more available.
Changed lines 11-12 from:
I have created (and use) some heartbeat 2 helper scripts and OCF agents what you might find useful.
to:
I have created (and use) some heartbeat 2 helper scripts and OCF agents what you might find useful.
Changed lines 16-17 from:
to:
sdml2txt newer!
A script to convert SDML to UML Sequence Diagrams. SDML is an extremely simplistic UML Sequence Diagram Markup Language (which is also a hack of mine). Here is some sample SDML along with a textual representation of the diagram it describes:
(:sdml:)
[Client, Proxy, DNS, Server
Query Name->
Answer IP<-
http GET >->
<<-html
(:sdmlend:)
Sequence Diagram:
Client Proxy DNS Server
| | | |
|----------Query Name-------->| |
|<---------Answer IP----------| |
|--http GET -->|----------http GET -------->|
|<----html-----|<-----------html------------|
As you can see, there isn't much to describing a diagram. SDML is simple but flexible and aims to facilitate creating sequence diagrams with minimal effort and typing. SDML is inspired by abc music tablature notation language. For more information about writing SDML, visit here.
ascii2abctab
Changed lines 66-70 from:
svnauto newer!
An Auto Checkin tool for subversion with per directory checkin policies.
to:
svnauto
An Auto Checkin tool for subversion with per directory checkin policies. This makes it easy to use a cron job and subversion as a backup mechanism.
December 19, 2007, at 01:50 PM
by Martin Fick -
Changed lines 16-17 from:
to:
Added lines 39-43:
svnauto newer!
An Auto Checkin tool for subversion with per directory checkin policies.
Changed lines 75-79 from:
svnauto
An Auto Checkin tool for subversion with per directory checkin policies.
to:
December 19, 2007, at 01:48 PM
by Martin Fick -
Changed lines 60-65 from:
Use this little script to help keep track of where you are and set your default X DISPLAY. If your DISPLAY is set, it will be returned, but if it is not, this will return the last known value. Use this in environments where you want your display to automatically get set whenever you log into remote machines. Appropriate stderr messages are output when invoked so that you are aware of your settings.
This display value gets stored in ~/.xdisplay
To use, put this in your path somewhere, say ~/bin and:
to:
Use this little script to help keep track of where you are and set your default X DISPLAY. If your DISPLAY is set, it will be returned, but if it is not, this will return the last known value. Use this in environments where you want your display to automatically get set whenever you log into remote machines. Appropriate stderr messages are output when invoked so that you are aware of your settings.
This display value gets stored in ~/.xdisplay
To use, put this in your path somewhere, say ~/bin and:
Changed lines 72-73 from:
An Auto Checkin tool for subversion with per directory checkin policies.
to:
An Auto Checkin tool for subversion with per directory checkin policies.
December 19, 2007, at 01:47 PM
by Martin Fick -
Changed lines 70-73 from:
to:
svnauto
An Auto Checkin tool for subversion with per directory checkin policies.
December 19, 2007, at 12:59 PM
by Martin Fick -
Added lines 1-12:
I started working on proposal for an OpenID wrapper that could help make OpenID more available.
I have created (and use) some heartbeat 2 helper scripts and OCF agents what you might find useful.
Deleted lines 98-103:
I have created (and use) some heartbeat 2 helper scripts and OCF agents what you might find useful.
June 03, 2007, at 12:51 PM
by Martin Fick -
Changed lines 62-99 from:
Music New!
This is my latest recipe, it allows one to display music scores from various ascii notations (abc, abctab, asciitab, tab)
Content New!
The music recipe is built upon this Content recipe which is primarily an API to create external pages dependent upon text in a wiki page.
HttpVariables
This recipe allows one to access http variables in a wiki page, such as Get variables, Post data, and Cookies.
DynamicWikiTrails
This recipe will allow you to put pages on multiple wiki trails and have the appropriate one 'lit' when traveling it. My internal tests.
WikiPaths
This recipe allows one to select portions of a wiki page for inclusion in another page using a syntax inspired by XPath.
Columns
Create columns out of lists without using table markup
FastSearch
This recipe speeds up your searches and pagelists on unix. This recip is probably very outdated. My internal tests.
PageListTemplates
The above recipe is no longer a recipe, i.e it is now a major component of the core and has been enhanced quite well. :)
PageVariables
This is nto a recipe either, but I did write one named this originally and it pinoneered some of what is now on this page, mainly the idea of referencing other pages.
to:
I have created many recipes (plugins) for PmWiki, best to check out my profile there to see them.
Changed lines 68-72 from:
Columns
A script which makes each line of a pmwiki file a cell in a table.
to:
June 03, 2007, at 11:58 AM
by Martin Fick -
Changed lines 46-47 from:
to:
Changed lines 62-67 from:
PageListTemplates \
PageVariables
These two recipes have been incorporated into the pmwiki core.
to:
Music New!
This is my latest recipe, it allows one to display music scores from various ascii notations (abc, abctab, asciitab, tab)
Content New!
The music recipe is built upon this Content recipe which is primarily an API to create external pages dependent upon text in a wiki page.
HttpVariables
This recipe allows one to access http variables in a wiki page, such as Get variables, Post data, and Cookies.
Added lines 78-85:
WikiPaths
This recipe allows one to select portions of a wiki page for inclusion in another page using a syntax inspired by XPath.
Columns
Create columns out of lists without using table markup
Changed lines 88-90 from:
This recipe speeds up your searches and pagelists on unix. My internal tests.
to:
This recipe speeds up your searches and pagelists on unix. This recip is probably very outdated. My internal tests.
PageListTemplates
The above recipe is no longer a recipe, i.e it is now a major component of the core and has been enhanced quite well. :)
PageVariables
This is nto a recipe either, but I did write one named this originally and it pinoneered some of what is now on this page, mainly the idea of referencing other pages.
May 04, 2007, at 12:31 PM
by Martin Fick -
Changed lines 4-5 from:
to:
Changed lines 46-47 from:
to:
May 04, 2007, at 12:30 PM
by Martin Fick -
Changed lines 6-9 from:
Convert asciitab guitar notation such as you would find posted all over the net to abctab which you can then convert to postscript with abctab2ps to make pretty printouts. With ascii2abctab
you can take simple text like this:
T:Happy Birthday
to:
Convert asciitab guitar notation such as you would find posted all over the net to abctab which you can then convert to postscript with abctab2ps to make pretty printouts. With ascii2abctab you can take simple text like this:
T:Happy Birthday
May 04, 2007, at 12:28 PM
by Martin Fick -
Added lines 4-27:
ascii2abctab
Convert asciitab guitar notation such as you would find posted all over the net to abctab which you can then convert to postscript with abctab2ps to make pretty printouts. With ascii2abctab
you can take simple text like this:
T:Happy Birthday
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|-------------------------------------------------------------------
|---------5-4----------7-5------9-5-5-5-4-2-10-10-9-5-7-5-----------
|-5-5-7-5------5-5-7-5------5-5----------------------------5-7-5-8--
|-------------------------------------------------------------------
and it will output something like this:
X:1
...
T:Happy Birthday
K:guitartab
| ,,,,f ,,,,f ,,,,h ,,,,f ,,,f ,,,e ,,,,f ,,,,f ,,,,h ,,,,f ,,,h ,,,f ,,,,f ,,,,f ,,,j ,,,f ,,,f ,,,f
which can then be parsed with abctab2ps. Since I am also in the process of integrating this with pmwiki, you can preview this example live.
April 02, 2007, at 10:51 AM
by Martin Fick -
Changed lines 83-95 from:
Heartbeat 2
drbd
I hacked an OCF script together so that you can use drbd as a normal resource. If you are going to have more than two nodes in your cluster, you'd better create a location constraint that restricts the drbd device to the two specific machines where the drbd device is.
VServer
I also wrote a VServer OCF script. This will allow you to run a vserver on any machine in a cluster where its filesystems are available.
Filesystem
I hacked this script from the original using the code posted on the mailing list so that it unmounts safely even when an NFS share somewhere on the system is not responding.
to:
I have created (and use) some heartbeat 2 helper scripts and OCF agents what you might find useful.
March 30, 2007, at 06:29 PM
by Martin Fick -
Changed lines 13-14 from:
to:
Changed lines 23-24 from:
to:
Changed lines 29-30 from:
To Use, put this in your path somewhere, say ~/bin and:
to:
To use, put this in your path somewhere, say ~/bin and:
March 30, 2007, at 06:20 PM
by Martin Fick -
Changed lines 6-8 from:
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandonned locks by first locking the abandonned lock and then deleting it (recursively if needed). I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
to:
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandoned locks by first locking the abandoned lock and then deleting it (recursively if needed). I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
Added lines 22-35:
xdisplay
Use this little script to help keep track of where you are and set your default X DISPLAY. If your DISPLAY is set, it will be returned, but if it is not, this will return the last known value. Use this in environments where you want your display to automatically get set whenever you log into remote machines. Appropriate stderr messages are output when invoked so that you are aware of your settings.
This display value gets stored in ~/.xdisplay
To Use, put this in your path somewhere, say ~/bin and:
in csh, do: setenv DISPLAY `xdisplay`
in sh, do: export DISPLAY=`xdisplay`
Changed lines 47-48 from:
This recipe will allow you to put pages on multiple wiki trails and have the appropriate one 'lit' when travelling it. My internal tests.
to:
This recipe will allow you to put pages on multiple wiki trails and have the appropriate one 'lit' when traveling it. My internal tests.
Changed lines 51-53 from:
This recipe speeds up your searches and paglists on unix. My internal tests.
to:
This recipe speeds up your searches and pagelists on unix. My internal tests.
Changed lines 58-59 from:
to:
Changed lines 91-92 from:
I also wrote a VServer ocf script. This will allow you to run a vserver on any machine in a cluster where its filesystems are available.
to:
I also wrote a VServer OCF script. This will allow you to run a vserver on any machine in a cluster where its filesystems are available.
November 30, 2006, at 09:34 AM
by Martin Fick -
Changed lines 73-74 from:
I hacked an OCF script together so that you can use it as a normal resource. I have been using it for months now. If you want it, here it is. One caveat, if you are going to have more than two node in your cluster, you'd better create a location constraint that restricts the drbd device to two specific machines.
to:
I hacked an OCF script together so that you can use drbd as a normal resource. If you are going to have more than two nodes in your cluster, you'd better create a location constraint that restricts the drbd device to the two specific machines where the drbd device is.
Changed lines 77-78 from:
I also wrote a VServer ocf script. This will allow you to run a vserver on any machine in a cluster where its filesystems are available.
to:
I also wrote a VServer ocf script. This will allow you to run a vserver on any machine in a cluster where its filesystems are available.
Changed line 81 from:
I hacked this script from the original using the code posted on the mailing list so that it unmounts safely even when an NFS share somewhere on the system is not responding.
to:
I hacked this script from the original using the code posted on the mailing list so that it unmounts safely even when an NFS share somewhere on the system is not responding.
November 30, 2006, at 09:32 AM
by Martin Fick -
Added line 1:
Added line 22:
Added line 49:
Added line 61:
Changed lines 66-81 from:
A slight modification of the original install-todos to insert a single todo, along with meta-data about this todo such as the due-date and priority.
to:
A slight modification of the original install-todos to insert a single todo, along with meta-data about this todo such as the due-date and priority.
Heartbeat 2
drbd
I hacked an OCF script together so that you can use it as a normal resource. I have been using it for months now. If you want it, here it is. One caveat, if you are going to have more than two node in your cluster, you'd better create a location constraint that restricts the drbd device to two specific machines.
VServer
I also wrote a VServer ocf script. This will allow you to run a vserver on any machine in a cluster where its filesystems are available.
Filesystem
I hacked this script from the original using the code posted on the mailing list so that it unmounts safely even when an NFS share somewhere on the system is not responding.
May 03, 2006, at 04:48 PM
by MartinFick -
Changed lines 56-62 from:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save.
to:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save.
Palm Pilot
install-todo, 2
A slight modification of the original install-todos to insert a single todo, along with meta-data about this todo such as the due-date and priority.
May 03, 2006, at 03:46 PM
by MartinFick -
Changed lines 14-15 from:
This awk script will turn a mutt alias file into a csv file. The column order is optimized for squirrelmail importing, but it should be easily rearrangeable if you want. This script can handle many of the formats that mutt allows such as:
to:
This awk script will convert a mutt alias file into a csv file. The column order is optimized for squirrelmail importing, but it should be easily rearrangeable if you want. This script can handle many of the formats that mutt allows such as:
March 31, 2006, at 09:29 PM
by MartinFick -
Changed lines 12-13 from:
to:
March 31, 2006, at 09:28 PM
by MartinFick -
Changed lines 12-13 from:
to:
Changed lines 23-26 from:
PageListTemplates
Use this recipe to make your pagelist results look however you'd like. Here are some samples. My internal tests.
to:
PageListTemplates \
PageVariables
These two recipes have been incorporated into the pmwiki core.
March 31, 2006, at 09:16 PM
by MartinFick -
Changed lines 12-20 from:
to:
mutt2csv.awk
This awk script will turn a mutt alias file into a csv file. The column order is optimized for squirrelmail importing, but it should be easily rearrangeable if you want. This script can handle many of the formats that mutt allows such as:
alias nick first last <user@domain>
alias nick last, first <user@domain>
alias nick user@domain (first last)
alias nick user@domain (last, first)
October 27, 2005, at 02:02 PM
by fick -
Changed lines 44-45 from:
to:
October 27, 2005, at 01:34 PM
by fick -
Changed lines 41-43 from:
resize any local photo to any size dynamically, cache the results locally.
to:
Resize any local photo to any size dynamically, cache the results locally.
Changed line 46 from:
render a URL driven chess board layout dynamically.
to:
Render a URL driven chess board layout dynamically. Use this to create web pages illustrating chess without having to use a drawing or screen capture program. This page guides you through writing chess board URLs or it can be used to render a board image that you can then save.
October 27, 2005, at 12:04 PM
by fick -
Changed lines 25-46 from:
This recipe speeds up your searches and paglists on unix. My internal tests.
to:
This recipe speeds up your searches and paglists on unix. My internal tests.
Photo Albums
I need to document how I have created my photo albums using pmwiki
Columns
A script which makes each line of a pmwiki file a cell in a table.
PHP
size.php
resize any local photo to any size dynamically, cache the results locally.
chess/render.php
render a URL driven chess board layout dynamically.
October 25, 2005, at 09:14 AM
by fick -
Changed lines 17-18 from:
Use this recipe to make your pagelist results look whowever you'd like. Here are some samples. My internal tests.
to:
Use this recipe to make your pagelist results look however you'd like. Here are some samples. My internal tests.
Changed line 25 from:
This recipe speeds up your searches and paglists on unix. My internal tests.
to:
This recipe speeds up your searches and paglists on unix. My internal tests.
October 25, 2005, at 09:10 AM
by fick -
Added lines 1-2:
Shell Scripting
Added lines 11-25:
PmWiki
PageListTemplates
Use this recipe to make your pagelist results look whowever you'd like. Here are some samples. My internal tests.
DynamicWikiTrails
This recipe will allow you to put pages on multiple wiki trails and have the appropriate one 'lit' when travelling it. My internal tests.
FastSearch
This recipe speeds up your searches and paglists on unix. My internal tests.
September 12, 2005, at 01:05 PM
by fick -
Changed line 8 from:
This shell script uses the above locking mechanism to provide a sequence generator. The current sequence number is stored in a file only to be incremented when locked. This script should be fairly robust, avoiding any loss of the sequence number, even during program interruptions. The sequence number is backed up in another file before being overwritten (incremented). This script also ensures that any number never gets used twice by verifying that the sequence is indeed incremented in the filesystem (and unlocked) before ever returning a newly incremented number. The only failures should be skipped numbers, but never duplicate ones.
to:
This shell script uses the above locking mechanism to provide a sequence generator. The current sequence number is stored in a file only to be incremented when locked. This script should be fairly robust, avoiding any loss of the sequence number, even during program interruptions. The sequence number is backed up in another file before being overwritten (incremented). This script also ensures that any number never gets used twice by verifying that the sequence is indeed incremented in the filesystem (and unlocked) before ever returning a newly incremented number. The only failures should be skipped numbers, but never duplicate ones.
September 12, 2005, at 01:03 PM
by fick -
Changed lines 3-5 from:
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandonned locks by firt locking the abandonned lock and then deleting it (recursively if needed). I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
to:
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandonned locks by first locking the abandonned lock and then deleting it (recursively if needed). I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
August 18, 2005, at 01:22 PM
by Martin -
Changed lines 3-5 from:
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandonned locks. I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
to:
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandonned locks by firt locking the abandonned lock and then deleting it (recursively if needed). I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
Changed line 8 from:
This shell script uses the above locking mechanism to provide a sequence generator. The current sequence number is stored in a file only to be incremented when locked. This script attempt to be robust avoiding any loss of the sequence number even during program interruptions (the sequence number is backed up in another file before being overwritten). This also attempt to ensure that any number never gets used twice by verifying that the sequence is indeed incremented in the filesystem before ever returning a new number. In case of failures numbers could be skipped, but never duplicated.
to:
This shell script uses the above locking mechanism to provide a sequence generator. The current sequence number is stored in a file only to be incremented when locked. This script should be fairly robust, avoiding any loss of the sequence number, even during program interruptions. The sequence number is backed up in another file before being overwritten (incremented). This script also ensures that any number never gets used twice by verifying that the sequence is indeed incremented in the filesystem (and unlocked) before ever returning a newly incremented number. The only failures should be skipped numbers, but never duplicate ones.
August 18, 2005, at 01:06 PM
by Martin -
Changed lines 1-2 from:
to:
Changed lines 6-7 from:
to:
August 18, 2005, at 12:42 PM
by Martin -
Added lines 1-8:
Attach:lock.sh Δ
My attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandonned locks. I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.
Attach:sequence.sh Δ
This shell script uses the above locking mechanism to provide a sequence generator. The current sequence number is stored in a file only to be incremented when locked. This script attempt to be robust avoiding any loss of the sequence number even during program interruptions (the sequence number is backed up in another file before being overwritten). This also attempt to ensure that any number never gets used twice by verifying that the sequence is indeed incremented in the filesystem before ever returning a new number. In case of failures numbers could be skipped, but never duplicated.
|