Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

Command List (ls)


match (Golden Egg)
NAME match - Run a RegExp pattern against a string SYNOPSIS match [STRING] [-url [URL FOR PAGE TO USE AS STRING]] -pattern [REGEXP PATTERN] -nbrmatches [RETURN NUMBER OF MATCHES?] -matchnbr [RETURN MATCH AT] -capture [CAPTURE?] -as [AS] -callback [CALLBACK] EXAMPLES match <div>hello</div>blah -pattern /<div>.*?<\/div>/ returns an XML-style 'array' with one element, '<div>hello</div>' match <div>hello</div>blah<div>hi</div> -pattern /<div>.*?<\/div>/ returns an XML-style 'array' with two element…
5706024 uses - Created 2006-04-26 07:40:22 - Last used 2026-06-28 16:25:12 - Description - http://jonathanaquino.com/singpolymaplay/yubnub-match.php?xn_auth=no&string=%s&pattern=${pattern}&nbrmatches=${nbrmatches}&matchnbr=${matchnbr}&capture=${capture}&as=${as}&callback=${callback}&url=${url}

% (Golden Egg)
NAME % - Returns a sublist of words for a given phrase SYNOPSIS % [RANGE] [PHRASE] [-SILENT true] arguments: <RANGE> The format of the range parameter is: N N'th word of the phrase, counted from 1 N- from N'th word to end of phrase N-M from N'th to M'th (included) word -M from first to M'th (included) word This syntax is is based on the Linux command CUT Here's the manual page: http://nixdoc.net/man-pages/Linux/man1/CUT.1.html <PHRASE> The string, words separated by spaces. <SILENT true> Option…
3101791 uses - Created 2005-12-14 18:31:38 - Last used 2026-01-13 18:27:38 - Description - http://jonathanaquino.com/yubtools/split.php?phrase=%s&silentmode=${silent}&xn_auth=no

ifThen (Golden Egg)
NAME ifThen - Compares two values (or evaluates a conditional statement) and returns a value based on the result SYNOPSIS This command can be used with two different syntaxes: ifThen -value1 [VALUE 1] -value2 [VALUE 2] -test [CONDITIONAL TEST] -then [RESULT IF TRUE] -else [RESULT IF FALSE] -redirect [REDIRECT] OR: ifThen (CONDITIONAL STATEMENT)RESULT IF TRUE, RESULT IF FALSE -delimit [DELIMITER] -redirect [REDIRECT] EXAMPLES The following are examples using both of the two syntaxes: ifThen -val…
1090467 uses - Created 2005-08-12 04:14:04 - Last used 2023-11-19 06:52:35 - Description - http://jonathanaquino.com/yubscripts/ifthen/ifthen.php?value1=${value1}&value2=${value2}&test=${test}&then=${then}&els=${else}&redirect=${redirect=false}&input=%s&delimit=${delimit=,}&xn_auth=no

strReplace (Golden Egg)
NAME strReplace - replace all instances of a character or string found within another string SYNOPSIS strReplace -find [TEXT TO FIND] -replace [TEXT TO SUBSITUTE IN] -string [STRING TO BE SEARCHED] EXAMPLES strReplace -find pizza -replace hot dogs -string I like pizza. (returns: I like hot dogs.) strReplace -find a -replace o -string Banana Camera (returns: Bonono Camero) Replaces all instances of a string or character with another string or character, and returns the resulting string. This com…
283220 uses - Created 2005-08-13 19:16:44 - Last used 2025-01-08 10:45:36 - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strreplace&find=${find}&replace=${replace}&string=${string}&xn_auth=no

strFind (Golden Egg)
NAME strFind - Returns the position of a string or character within another string SYNOPSIS strFind -find [TEXT TO FIND] -string [STRING TO BE SEARCHED] -reverse [REVERSE SEARCH] EXAMPLES strFind -find b -string abcabc (returns: 2) strFind -find b -string abcabc -reverse true (returns: 5) strFind -find z -string abcabc (returns: 0) Returns the position of the first occurence of a string or character within another string. If nothing is found, the command returns 0. Set -reverse to TRUE if you w…
247854 uses - Created 2005-08-13 19:40:44 - Last used 2025-12-12 08:56:03 - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strfind&find=${find}&reverse=${reverse=FALSE}&string=${string}&xn_auth=no

explode (Golden Egg)
NAME explode - Explodes a string to an array in xml, xoxo, or json(p) format EXAMPLES explode 1,2,3,4 Returns XML-style 'array' with elements 1, 2, 3, and 4 explode 1+2+3+4 -token + Returns XML-style 'array' with elements 1, 2, 3, and 4 explode 1,2,3,4 -as xoxo Returns XOXO-style 'array' with elements 1, 2, 3, and 4 explode 1,2,3,4 -as json Returns JSON-style 'array' with elements 1, 2, 3, and 4 explode 1,2,3,4 -as json -callback x Returns JSONP-style 'array' with elements 1, 2, 3, and 4 using …
211559 uses - Created 2006-04-25 11:02:09 - Last used 2024-10-12 17:48:57 - Description - http://jonathanaquino.com/singpolymaplay/yubnub-explode.php?xn_auth=no&data=%s&token=${token=,}&as=${as=xml}&callback=${callback}

foreach (Golden Egg)
NAME foreach - Loop through an 'array' and runs a YubNub command EXAMPLES foreach {explode 1,2,3,4} echos each array item 1, 2, 3, and 4 (as produced by explode) foreach {explode 1,2,3,4} -cmd sum 1 echos each array item increased by one foreach {explode 1,2,3,4} -cmd var tmp -set [|sum 1 %s|] sets var tmp to one greater than each array item, in order foreach {explode 1,2,3,4} -as array gives back an XML-type 'array' with the elements 1, 2, 3, and 4 foreach {explode 1,2,3,4} -as array -type xox…
207534 uses - Created 2006-04-25 12:13:22 - Last used 2025-06-11 22:08:27 - Description - http://jonathanaquino.com/singpolymaplay/yubnub-foreach.php?xn_auth=no&data=%s&cmd=${cmd=echo}&as=${as}&type=${type}&callback=${callback}

random (Golden Egg)
NAME rand - display a specified number of random numbers in a specified range, courtesy of random.org SYNOPSIS rand -min <min value = 1> -max <max value = 100> -num <how many to generate = 1> EXAMPLE rand 49 rand -min 1998 -max 2005 rand -num 5 -max 20 AUTHOR Richard Frankel
147071 uses - Created 2005-06-04 19:57:44 - Last used 2026-07-05 11:40:39 - Description - http://jonathanaquino.com/random.php?num=${num=1}&min=${min=1}&max=%s${max}&col=1

strLength (Golden Egg)
NAME strLength - returns the length of a string SYNOPSIS strLength [STRING] EXAMPLES strLength abcdefg (returns: 7) strLength This is a string (returns: 16) This command will return the length of the inputted string. Do not surround the string with quotes. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
73529 uses - Created 2005-08-12 00:58:20 - Last used 2022-02-13 14:08:51 - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strlength&input=%s&xn_auth=no

extractDomainName
SYNOPSIS extractDomainName [URL] EXAMPLES extractDomainName http://www.amazon.com/ returns: amazon.com extractDomainName eemadges.com returns: eemadges.com extractDomainName http://en.wikipedia.org?search=%s returns: en.wikipedia.org extractDomainName http://seek.sing365.com:8080/cgi-bin/s.cgi?q=ladytron returns: sing365.com extractDomainName https://www.cia.gov/cia/publications/factbook/geos/.html returns: cia.gov (thanks to Frank Raiser for noticing the https bug!) Extracts the domain name fr…
36522 uses - Created 2006-01-21 22:33:14 - Last used 2024-04-10 08:19:02 - Nominate - Description - http://jonathanaquino.com/extractDomainName.php?url=%s

Sum (Golden Egg)
NAME Sum - adds values together SYNOPSIS Sum [VALUE1] [VALUE2] [VALUE3] ... EXAMPLES Sum 20 5.3 (result: 25.3) Sum 2 4 6 8 10 (result: 30) This command adds space separated numbers together. You can use as many numbers as you like. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
30325 uses - Created 2005-08-13 22:59:26 - Last used 2026-04-14 21:50:41 - Description - http://jonathanaquino.com/yubscripts/math/math.php?command=sum&input=%s&xn_auth=no

strLeft (Golden Egg)
NAME strLeft - returns characters from the beginning of a string SYNOPSIS strLeft [STRING] [LENGTH] EXAMPLES strLeft abcdefg 3 (returns: "abc") strLeft This is a string 6 (returns: "This i") This command requires two parameters, a string and an integer. It will chop off and return the beginning of the string the length of the integer. Do not surround the string with quotes. The integer must come after a space at the end of the string. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
28808 uses - Created 2005-08-12 00:36:27 - Last used 2019-10-23 13:59:34 - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strleft&input=%s&xn_auth=no

strRight (Golden Egg)
NAME strRight - returns characters from the end of a string SYNOPSIS strRight [STRING] [LENGTH] EXAMPLES strRight abcdefg 3 (returns: "efg") strRight This is a string 4 (returns: "ring") This command requires two parameters, a string and an integer. It will chop off and return the end of the string the length of the integer. Do not surround the string with quotes. The integer must come after a space at the end of the string. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
27840 uses - Created 2005-08-12 00:38:54 - Last used 2017-05-29 13:31:01 - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strright&input=%s&xn_auth=no

var (Golden Egg)
NAME var - set and get temporary variables EXAMPLES var test -set hi sets the variable 'test' to 'hi' var test returns the contents of the variable 'test' AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
22661 uses - Created 2006-04-24 16:22:18 - Last used 2026-06-19 23:34:03 - Description - http://jonathanaquino.com/singpolymaplay/yubnub-var.php?xn_auth=no&var=%s&set=${set=do not set : tes ton od}

switch (Golden Egg)
A switch statement. Example: switch tree | sky => blue, tree => green, sun => orange, * => white Returns: green You can use "*" to specify a default option. Example: switch rock | sky => blue, tree => green, sun => orange, * => white Returns: white
21339 uses - Created 2007-10-21 01:17:34 - Last used 2025-08-19 08:42:01 - Description - http://jonathanaquino.com/switch.php?q=%s

rand
NAME rand - display a specified number of random numbers in a specified range, courtesy of random.org SYNOPSIS rand -min <min value = 1> -max <max value = 100> -num <how many to generate = 1> EXAMPLE rand 49 rand -min 1998 -max 2005 rand -num 5 -max 20 AUTHOR Richard Frankel
12407 uses - Created 2005-07-19 19:36:33 - Last used 2026-06-24 12:33:02 - Nominate - Description - http://jonathanaquino.com/random.php?num=${num=1}&min=${min=1}&max=%s${max}&col=1

utf8to
Converts the URL query-string values from UTF-8 (YubNub's default encoding) to another encoding. Example: utf8to eucjp http://pt.afl.rakuten.co.jp/c/03988311.d77f8002/?sitem=%E3%81%8B%E3%82%93%E3%81%98&sv=2&p=0 utf8to iso-8859-1 http://www.upplysning.se/search.aspx?what=%C3%A5%2C+%C3%A4+or+%C3%B6&where=&bs=S%F6k&searchkey=54578586&tab=person Supported character encodings: * UCS-4 * UCS-4BE * UCS-4LE * UCS-2 * UCS-2BE * UCS-2LE * UTF-32 * UTF-32BE * UTF-32LE * UTF-16 * UTF-16BE * UTF-16LE * UTF-…
8644 uses - Created 2007-11-27 05:01:13 - Last used 2025-09-07 15:55:22 - Nominate - Description - http://jonathanaquino.com/utf8to?inputs=%s

eatFeed (Golden Egg)
NAME eatFeed - Pull data out of a web feed (RSS,XML,etc). SYNOPSIS eatFeed [ELEMENTS] -url [FEED URL] EXAMPLES eatFeed items[0].link -url http://digg.com/rss/toplinks.xml Returns the url of the current top story on digg.com eatFeed items[2].description -url http://rss.slashdot.org/Slashdot/slashdot Returns the description of the third story currently on slashdot. eatFeed items[4].title -url http://del.icio.us/rss/popular Returns the title of the fifth item on the del.icio.us list. Note that ite…
8006 uses - Created 2006-05-03 02:42:24 - Last used 2022-11-01 01:33:40 - Description - http://jonathanaquino.com/yubscripts/yn-opt.php?xn_auth=no&input=%s&url=${url}

mkrss
NAME mkrss - Converts an 'array' to RSS SYNOPSIS mkrss [ARRAY DATA] -title [TITLE] -url [LINK URL] EXAMPLES mkrss -get {url match -url {url g test} -pattern /<p class=g>[^\f]*?<\/nobr>/} -title test -url {url g test} generates an RSS feed for google search results for test mkrss {explode 1,2,3,4} generates an RSS feed with the items of title and description 1, 2, 3, and 4 NOTES -title and -url switches are optional but recommended. Optional switch -get will take a URL to get instead of using pa…
4143 uses - Created 2006-04-06 17:27:14 - Last used 2016-11-08 03:39:30 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-mkrss.php?xn_auth=no&data=%s&title=${title}&url=${url}&get=${get}

idx
NAME idx - Get value from an array at a specified index SYNOPSIS idx [ARRAY DATA] -idx [ARRAY INDEX] EXAMPLES idx {explode 1,2,3,4} -idx 0 returns 1 idx {explode 1,2,3,4} -idx 3 returns 4 NOTES 'Arrays' are treated as zero-based See also : explode, foreach AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
3860 uses - Created 2006-04-26 11:26:26 - Last used 2021-03-01 08:36:19 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-idx.php?xn_auth=no&data=%s&idx=${idx}

0
Truly random numbers from www.random.org -# (number of values, default 10) -\ (lowest value, default 1) -/ (highest value, default 100) -' (number of viewing columns, default 5)
3602 uses - Created 2005-12-28 16:10:20 - Last used 2026-04-26 09:49:57 - Nominate - Description - http://jonathanaquino.com/random.php?num=${#=10}&min=${\=1}&max=${/=100}&col=${'=5}

ifMatch (Golden Egg)
NAME ifMatch - Searches a string for a match to a regular expression pattern and returns a value based on the result. SYNOPSIS ifMatch -pattern [REGEX PATTERN] -string [STRING] -then [RESULT IF MATCH] -else [RESULT IF NOT MATCH] -redirect [REDIRECT] EXAMPLES ifMatch -pattern /wor/ -string Hello world! -then yub -else nub (Returns "yub") ifMatch -pattern /Wor/i -string Hello world! -then yub -else nub (Returns "yub". The "i" indicates that the pattern is case insensitive) ifMatch -pattern /^wor/…
3074 uses - Created 2006-04-03 18:18:56 - Last used 2013-03-27 16:37:55 - Description - http://jonathanaquino.com/yubscripts/ifthen/regexp.php?pattern=${pattern}&string=${string}&then=${then}&els=${else}&redirect=${redirect=false}&xn_auth=no

timer (Golden Egg)
An online break reminder. Basically it will bug you to take a break every 30 minutes (you can configure the time interval). If you're not ready to take a break yet, you can snooze for 5 minutes (again, you can configure this time interval), after which it will bug you again. Go away, rest your eyes, and when you come back, hit the big Restart button -- this will reset the clock back to 30 minutes. Example: timer 45
2753 uses - Created 2005-07-24 03:51:18 - Last used 2025-10-19 12:29:07 - Description - http://jonathanaquino.com/timer/?minutesBetweenNotifications=%s

param (Golden Egg)
NAME param - Builds a YubNub parameter string. SYNOPSIS param [PARAMETER1;PARAMETER2;...] [VALUE1;VALUE2;...] EXAMPLES param find;replace;string pizza;hot dogs;I like pizza. (returns: -find pizza -replace hot dogs -string I like pizza.) param s;method hello;rot-13 (returns: hello world -method rot-13) This command accepts a string of parameter names and parameter values (seperated by semicolons) and returns a parameter string as it would need to be typed into YubNub. For instance, this command:…
2480 uses - Created 2006-03-31 01:25:44 - Last used 2016-01-12 07:58:00 - Description - http://jonathanaquino.com/yubscripts/abbreviate/param.php?input=%s&xn_auth=no

gallery (Golden Egg)
NAME gallery - Displays all the jpeg files linked from a page. SYNOPSIS gallery [URL] EXAMPLES gallery http://www.hardeodcafe.com/Gallery2.htm Displays all the jpeg files linked from a page. Give this command an url and it will show all of the images that the url links to. Good for viewing all of the full sized images from a thumbnail page. NOTES This command will not work with all URLs. Some sites will prevent it from working. AUTHOR Allen Ormond - aormond (at) gmail (dot) com
2054 uses - Created 2006-06-06 00:38:37 - Last used 2025-10-18 20:32:25 - Description - http://jonathanaquino.com/yubscripts/gallery.php?url=%s

cmdData (Golden Egg)
NAME cmdData - Returns data from a command's man page. EXAMPLES cmdData gim.url Returns the url of the gim command, "http://images.google.com/images?q=%s" cmdData eop.created.date Returns the date the eop command was created, "2006-04-02" cmdData match.parameters[4].name Returns "capture", which is the 5th parameter of the match command. Keep in mind that the 'parameters' array is zero-based. Parameters are in the order that they are first found in the command url. However, if the command has a…
1739 uses - Created 2006-05-02 03:40:05 - Last used 2023-04-24 07:24:16 - Description - http://jonathanaquino.com/yubscripts/yn-mandata.php?xn_auth=no&input={lcase %s}

autorefresh (Golden Egg)
Autorefreshes the given URL every minute. Great for monitoring changes to a webpage (or for viewing random Simpson's quotes) Examples: autorefresh http://digg.com autorefresh {url simpsons} autorefresh http://yubnub.org -t 20 The last example autorefreshes every 20 seconds.
1700 uses - Created 2006-02-19 23:26:15 - Last used 2026-03-26 13:23:24 - Description - http://jonathanaquino.com/autorefresh/autorefresh.php?url=%s&seconds=${t=60}

ylist (Golden Egg)
NAME ylist - A simple lists application built entirely with YubNub SYNOPSIS ylist [LIST NAME] EXAMPLES ylist tmp ylist is a simple web application built 100% with YubNub. All functionality is encapulated within YubNub commands! Just type ylist list-name and you will be presented with a page on which there is a form for adding/removing items from the list. Not the most useful app in the world, but this is cool! AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
1543 uses - Created 2006-04-27 11:03:03 - Last used 2023-07-11 11:59:58 - Description - echo <h1>ylist %s</h1><ul>{var CE55FE36-D5D1-11DA-B35B-DD81D6839540:%s}</ul><form method="get" action="http://jonathanaquino.com/singpolymaplay/form2yubnub.php?xn_auth=no"><div><input type="hidden" name="cmdstr" value="ylist %s%7Bdummy %7Bvar CE55FE36-D5D1-11DA-B35B-DD81D6839540:%s -set %7Bvar CE55FE36-D5D1-11DA-B35B-DD81D6839540:%s%7D<li>%25s</li>%7D%7D" />Add Item: <input type="text" name="%25s" /><input type="submit" value="Go" /></div></form> <form method="get" action="http://jonathanaquino.com/singpolymaplay/form2yubnub.php?xn_auth=no"><div><input type="hidden" name="cmdstr" value="ylist %s%7Bdummy %7Bvar CE55FE36-D5D1-11DA-B35B-DD81D6839540:%s -set %7Bmatch %7Bridx &lt;ul&gt;%7Bvar CE55FE36-D5D1-11DA-B35B-DD81D6839540:%s%7D&lt;/ul&gt; -idx %25s -as xoxo%7D -pattern /&lt;ul class=&quot;xoxo&quot;&gt;(.*?)&lt;\/ul&gt;/ -capture 1 -matchnbr 1%7D%7D%7D" />Remove Item At: <input type="text" name="%25s" /><input type="submit" value="Go" /></div></form>[no url encoding]

strRightRev
NAME strRightRev - returns characters from the end of a string SYNOPSIS strRightRev [STRING] [LENGTH] EXAMPLES strRightRev abcdefg 3 (returns: "defg") strRightRev This is a string 1 (returns: "his is a string") This command requires two parameters, a string and an integer. It will return the end of the string omitting the start of the string the length of the integer. See the examples above. Do not surround the string with quotes. The integer must come after a space at the end of the string. AU…
1326 uses - Created 2006-04-23 14:46:03 - Last used 2013-03-27 16:37:54 - Nominate - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strrightrev&input=%s&xn_auth=no

Subtract (Golden Egg)
NAME Subtract - adds values together SYNOPSIS Subtract [VALUE1] [VALUE2] EXAMPLES Subtract 100 10 (returns: 90) Subtract 2 10 (returns: -8) This command subtracts the first number from the second, and returns the result. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
1318 uses - Created 2005-08-13 23:03:40 - Last used 2017-01-11 12:56:29 - Description - http://jonathanaquino.com/yubscripts/math/math.php?command=subtract&input=%s&xn_auth=no

Round
NAME Round - Rounds a value SYNOPSIS Round [VALUE] -p [PRECISION] EXAMPLES Round 5.82 (returns: 6) Round 5.82 -precision 1 (returns: 5.8) Round 5.82 -precision -1 (returns: 10) Rounds a value to a specified precision (number of digits after the decimal point). Precision can also be negative or zero (default). AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
1248 uses - Created 2005-08-13 23:21:19 - Last used 2024-07-26 17:14:53 - Nominate - Description - http://jonathanaquino.com/yubscripts/math/math.php?command=round&input=%s&precision=${precision=0}&xn_auth=no

count
NAME count - Returns the total number of items in the array. SYNOPSIS count [ARRAY DATA] EXAMPLES count {1,2,3,4} Returns: 4 AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
892 uses - Created 2006-08-10 23:02:27 - Last used 2025-01-18 12:24:07 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-count.php?xn_auth=no&data=%s

json
NAME json - return the text,result and url of a yubnub command in a json object, with optional callback SYNOPSIS json -cmd [YUBNUB COMMAND AND ARGUMENTS] -callback [OPTIONAL CALLBACK] EXAMPLES json -cmd url gim porsche will return : {"cmd":"url gim porsche","data":"http://images.google.com/images?q=porsche","url":"http://yubnub.org/parser/url?command=gim+porsche"} and json -cmd url gim porsche -callback play will return : play({"cmd":"url gim porsche","data":"http://images.google.com/images?q=p…
862 uses - Created 2006-09-28 20:39:28 - Last used 2026-04-10 03:30:27 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub2json.php?xn_auth=no&cmd=${cmd}&callback=${callback}

dummy
NAME dummy - Returns blank no matter what is passed to it SYNOPSIS dummy [STRING] AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
841 uses - Created 2006-04-27 09:49:09 - Last used 2023-02-27 00:51:55 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-dummy.php?xn_auth=no&str=%s

varls (Golden Egg)
NAME varls - List items created with var command SYNOPSIS varls [PART OF VAR NAME] -rm [REMOVE MATCHED TEXT FROM VAR NAME] -rc [REMOVE COLONS FROM VAR NAME] -prefix [PREFIX] -content [SHOW CONTENT] -as=text [ARRAY TYPE] -titledesc= - [SEPARATOR BETWEEN VAR NAME AND CONTENT] -callback [CALLBACK] EXAMPLES varls varls 0fe27a11-f265-4c3b-8cb9-bd7b7691959d NOTES See var command AUTHOR Stephen Paul Weber a.k.a. Singpolyma http://singpolyma.net/
773 uses - Created 2007-04-04 18:11:54 - Last used 2023-03-03 11:46:08 - Description - http://jonathanaquino.com/singpolymaplay/yubnub-varls.php?xn_auth=no&match=%s&removematch=${rm}&removecolon=${rc}&prefix=${prefix}&content=${content}&as=${as=text}&titledesc=${titledesc= - }&callback=${callback}

xpath
NAME xpath - Perform an XPath query on a webpage or bit of XML SYNOPSIS xpath [XML DATA] -url [URL] -query [XPATH QUERY] -as=xml [ARRAY TYPE] -callback [CALLBACK] EXAMPLES xpath -url http://google.com -query //title An XML-style 'array' with the <title> tag from http://google.com AUTHOR Stephen Paul Weber http://singpolyma.net/
680 uses - Created 2007-02-14 23:37:13 - Last used 2023-12-12 07:55:40 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-xpath.php?xn_auth=no&url=${url}&data=%s&query=${query}&as=${as=xml}&callback=${callback}

Multiply (Golden Egg)
NAME Multiply - Multiplies two values together SYNOPSIS Multiply [VALUE1] [VALUE2] EXAMPLES Multiply 2 5 (returns: 10) This command multiplies two values together and returns the result. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
618 uses - Created 2005-08-13 23:06:30 - Last used 2023-03-03 12:33:54 - Description - http://jonathanaquino.com/yubscripts/math/math.php?command=multiply&input=%s&xn_auth=no

eucjp
Takes a URL with UTF-8 parameters (such as those created by YubNub), converts them to EUC-JP, then redirects to the URL. Useful for sites that expect EUC-JP-encoded parameters. Example: eucjp http://pt.afl.rakuten.co.jp/c/03988311.d77f8002/?sitem=%E3%81%8B%E3%82%93%E3%81%98&sv=2&p=0 eucjp { url rktn かんじ }
608 uses - Created 2007-10-18 06:32:46 - Last used 2012-11-07 03:55:48 - Nominate - Description - http://jonathanaquino.com/eucjp.php?url=%s

rnd (Golden Egg)
NAME rand - display a specified number of random numbers in a specified range, courtesy of random.org SYNOPSIS rand -min <min value = 1> -max <max value = 100> -num <how many to generate = 1> EXAMPLE rand 49 rand -min 1998 -max 2005 rand -num 5 -max 20 AUTHOR Richard Frankel
578 uses - Created 2005-07-19 02:37:54 - Last used 2021-09-20 09:00:48 - Description - http://jonathanaquino.com/random.php?num=${num=1}&min=${min=1}&max=%s${max}&col=1

trim
NAME trim - trims whitespace from both sides of a string AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
519 uses - Created 2006-04-24 17:01:52 - Last used 2026-02-06 23:43:41 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-trim.php?xn_auth=no&str=%s

wpm (Golden Egg)
Wikipedia page suitable for mobile SMS. Thanks to Allen Ormond.
511 uses - Created 2006-05-17 02:09:51 - Last used 2021-02-14 13:46:14 - Description - http://jonathanaquino.com/yubscripts/yn-wikipedia.php/.txt?xn_auth=no&length=160&input=%s

opensearch (Golden Egg)
NAME opensearch - Creates OpenSearch XML for a YubNub command SYNOPSIS opensearch [YUBNUB COMMAND] EXAMPLES opensearch g opensearch ls NOTES This kind of functionality, if YubNub supported it, could be even cooler. If YubNub let us actually specify different kinds of URLs for commands (and the other kinds of parameters OpenSearch has natively) YubNub would be like an OpenSearch over-layer for the web. AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
498 uses - Created 2007-01-23 01:03:49 - Last used 2025-08-13 03:38:50 - Description - http://jonathanaquino.com/singpolymaplay/yubnub-opensearch.php?xn_auth=no&cmd=%s

date2
NAME date2 - Same as PHP date function SYNOPSIS date2 [UNIX TIMESTAMP] -format=c [DATE FORMAT] EXAMPLES date2 date2 1155217258 date2 1155217258 -format Y-M-d AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.com/
476 uses - Created 2007-01-15 18:21:43 - Last used 2026-03-25 17:35:22 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-date2.php?xn_auth=no&format=${format=c}&timestamp=%s

Divide (Golden Egg)
NAME Divide - Divides one value by another SYNOPSIS Divide [VALUE1] [VALUE2] EXAMPLES Divide 10 5 (returns: 2) This command divides one value by another and returns the result. AUTHOR Allen Ormond <aormond (at) fromrocks (dot) com>
475 uses - Created 2005-08-13 23:09:21 - Last used 2024-08-22 03:48:30 - Description - http://jonathanaquino.com/yubscripts/math/math.php?command=divide&input=%s&xn_auth=no

urldecode
Runs PHP rawurldecode() on the argument. Example: urldecode http%3A%2F%2Ffoo.com Outputs: http://foo.com
468 uses - Created 2006-08-17 18:41:29 - Last used 2026-05-03 09:26:40 - Nominate - Description - http://jonathanaquino.com/urldecode.php?q=%s

strLeftRev
NAME strLeftRev - returns characters from the beginning of a string SYNOPSIS strLeftRev [STRING] [LENGTH] EXAMPLES strLeftRev abcdefg 3 (returns: "abcd") strLeftRev This is a string 6 (returns: "This is a s") This command requires two parameters, a string and an integer. It will return the beginning of the string omitting the end of the string the length of the integer. See the examples above. Do not surround the string with quotes. The integer must come after a space at the end of the string. …
418 uses - Created 2006-04-23 14:41:32 - Last used 2013-03-27 16:37:54 - Nominate - Description - http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strleftrev&input=%s&xn_auth=no

isNumeric
NAME isNumeric - Checks if a an argument is numeric. SYNOPSIS isNumeric [ARGUMENT TO CHECK] EXAMPLES isnumeric 500 (returns 1) isnumeric yubnub (returns 0) isNumeric will return "1" if an argument is numeric, and will return "0" otherwise. AUTHOR Chicagosage b.a.
369 uses - Created 2006-04-02 17:06:15 - Last used 2013-03-11 22:00:24 - Nominate - Description - http://jonathanaquino.com/yubtools/isnumeric.php?arg=%s&xn_auth=no

ridx
NAME ridx - Removes an index from an 'array' SYNOPSIS ridx [ARRAY DATA] -idx [INDEX TO REMOVE] -as [ARRAY TYPE] -callback [CALLBACK] EXAMPLES ridx {explode 1,2,3,4} -idx 0 returns and XML-style array with elements 2,3,4 ridx {explode 1,2,3,4} -idx 0 -as xoxo returns and XOXO-style array with elements 2,3,4 ridx {explode 1,2,3,4} -idx 0 -as json [-callback x] returns and JSON-style array with elements 2,3,4 with optional JSONP callback x AUTHOR Stephen Paul Weber http://singpolyma-tech.blogspot.…
333 uses - Created 2006-04-27 10:11:20 - Last used 2011-05-15 10:05:46 - Nominate - Description - http://jonathanaquino.com/singpolymaplay/yubnub-ridx.php?xn_auth=no&data=%s&idx=${idx}&as=${as}&callback=${callback}

datediff
Returns the number of days between two dates. Examples: datediff -start 2006-02-15 -end 2006-03-15 datediff -start Feb 15, 2006 -end 15 March 2006 datediff -start last Monday -end next Thursday Also see: http://php.net/strtotime Author: jonathan.aquino@gmail.com
306 uses - Created 2007-02-10 06:42:58 - Last used 2026-06-04 03:11:06 - Nominate - Description - http://jonathanaquino.com/datediff.php?xn_auth=no&start=${start}&end=${end}

Next Page