Yubnub/Application Commands

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Application commands[edit | edit source]

These YubNub commands provide access to web applications or services other than search. It's a fine line, but in the Read/Write spectrum of the Web, this section should be devoted to commands that write.

Email & alias[edit | edit source]

send
send a message to an email address
shortcut
create an alias for an email address
checkshortcut
check to see if the shortcut name already exists
echoshortcut (or pas)
view the value assigned to a shortcut alias
compose
open your default email client to send a message
sendmail
send a message with a subject to an email address
teacher
generate an email to send to a teacher at a particular school
readmail
read email from a temporary Mailinator address
10mail
get a temporary email address at 10minutemail
gma
open and search GMail


Blogs and RSS-related commands[edit | edit source]

bspot (bst or goblogger)
open a web log at Blogger
lj
open a user's LiveJournal
postblogger
create a new post at Blogger
ljupdate
update your LiveJournal
readblogs
open a user's Bloglines feed
bl
goes to BlogLines subscribe page for the URI or feed
readrss
open a user's read collection at KickRSS
rssread
use Google Reader to view an RSS feed
grazr (or grz)
use Grazr to view an RSS feed
stdRSS
standardize any RSS, ATOM, hAtom, XOXO Blog Format, or Active Channel feed
refilter
use ReFilter to filter an RSS feed
hyperss
generate music rss feed using Hype Machine MP3 search output
Example: hyperss lucinda williams
rss2pdf
use RSS 2 PDF convert an RSS feed to a PDF file


Bookmarks[edit | edit source]

delime
search your personal Delicious bookmarks
myweb
search your Yahoo bookmarks
gbm
search your Google bookmarks

Check spelling[edit | edit source]

\\
checks the spelling of the input of any Yubnub command
SYNTAX \\ [yubnub command] [your query to be spellchecked]
Example: \\ gim cmbodia
spllw
check spelling via FromRocks
Example: spllw confrence
returns conference
wp\
check spelling of a word or phrase and then search for it on the english wikipedia
spellchk (or spellcheck)
check a words spelling using SpellCheck.net


Other utilities[edit | edit source]

arch (or wayback)
try the Archive Waybackmachine
bark
play audio of a dog barking
clipboard
copy a text string to your clipboard; clipboard <string>
Example: clipboard I'm in your clipboard
convert
use Google to convert units
pay
using paypal
fedex
track information on a FedEx shipment
upc
look up information on a UPC code
ups
track information on UPS packages
barcd
generate a printable and scannable barcode
gmt
find local time (and date) for a given location using TimeAndDate
month
displays a calendar for the current month (U.S.) from TimeAndDate
uscal
display US monthly calendar(s) for specified month and year
gaspr
search for gas prices by zipcode using MSN Autos
sirc
Search IRC networks and channels
georest
generate an xml file with latitude and longitude from Geocoder.us
Example: georest 1 Beacon Street, Boston MA
open
open one or more websites in a new window or tab
resolution
display your screen resolution
timer
interactive online timer
wnt
create a note in webnote
note
add text to yahoo notes
ynotes
search Yahoo Notes
yab
search within Yahoo Address Book
visual
display a visual representation of Wordnet's resources
bchart
displays stock and mutual fund information from BarChart
login
returns an entry from BugMeNot
nyt
paste an article URI from the NYTimes website and get a weblog-safe URL that doesn't require registration
Example: nyt http://www.nytimes.com/2005/06/13/opinion/13krugman.html
pacm
play a game of PacMan in you browser
ypt
play a game of Yahtzee


Image related[edit | edit source]

clusters
search Flicker tag clusters for images
delete
remove a tag from all your Flickr photos
f2pdf
convert Flickr images to PDF files
fspell
use Flickr to spell words
flintshow
search Flickr and display photos; combines "flint" & "flshow"
Example: flintshow yubnub
graybit (or grayscale)
convert images on a web page to their grayscale equivalent using GrayBit
pixoh
open a URI in the online picture editor, Pixoh
rotate
rotate an image
thnl
web page thumbnail maker
Example: thnl http://www.google.com
websnap
instantly creates a thumbnail image of any web site using WebSnapr


Commands to calculate[edit | edit source]

dist
calculate the distance between two cities using Indo
Example: dist memphis tn ; baton rouge la
xe
convert from any currency to another
gray
use Google Calculator to do the arithmetic
Example: gray 0 255 100
yquotes
download stock quotes from Yahoo Finance site and open the .csv file in excel
Example: yquotes ACC.NS+CRBK.NS+INFY.NS+XYZ.NS
logs
calculate logarithms; natural logs by default
jscalc (or clc)
use javascript as a calculator
Example 1: jscalc 5+6*7
Output: 47
Example 2: jscalc Math.sqrt(25)
Output: 5
clc sqrt(25)
mate
evaluate mathematical expressions using the Mate online calculator by Tusanga
random
returns a random number from Random.org


Commands for use with mobile devices[edit | edit source]

figure
same as gim (Google Image), but optimized for mobile devices
gmobile (or mo)
view any site without images, CSS or JavaScript using mobile device version of the page; different than the gproxy command that is used to bypass proxy
wpm (or wpContent)
format Wikipedia contents for mobile phones
gxhtml
Google xhtml search page for mobiles
mobi
use Google to left justify and reformat a webpage to fit
ymini
access Yahoo Mail for mobile applications
tecmini
search blogs via Tecnorati


Commands for programmers[edit | edit source]

These may also prove useful to web designers and system administrators.


Code and Markup[edit | edit source]

code
search Koders for a codesnippet, function or class
html
use the SquareFree online HTML editor
html2text (or 2t)
use Aaronsw's Python script to convert an HTML page to plain text
stripHTML
removes HTML
lynx
display source code for a web page
php
PHP function look-up
script
run javascript.
w3
use the W3C CSS Validation Service
w3c
use the W3C HTML validator
w3s
use Google to search the tutorials at W3Schools
vh
use SEOpen tool to view HTTP server headers for a given URL
ala
search A List Apart archives
go2
simple substitution for URL or address bar search results


Databases[edit | edit source]

mysql
search the MySQL reference manual
sqlsearch
search for SQL commands using Google
sqlfind
search for SQL syntax in .sql files
sqlformat
search for SQL commands using Google
sqlrw
use PeteFreitag's reserved word checker


Networking[edit | edit source]

alexa
display Alexa traffic rankings and other statistics
cip (or where)
find where an IP address is located geographically.
netcraft
use NetCraft to see what a website is running
speed test
calculate the speed of the net connection
whois
check Whois Source for domain information
domainhelp
use NameBoy domain search
mydns
use DNSStuff to find your see your public IP address and information
glinux
Google special Linux search
psize
use the page size checker by Tasman-Webdesign
inspect
display info about a domain
Example: inspect yahoo.com
ip2location
reverse look-up of country, state, city, latitude, longitude and ISP
tracert
use Fifi's online traceroute service
cdns
use CheckDNS to tests DNS, WWW, and mail server info for a specified domain
rdns
do a reverse DNS Lookup on an IP address
dnstrace
DNS authentication trace via FreeDNS.Afraid
codd
search the CentralOps domain dossier


Commands for YubNub developers[edit | edit source]

Some commands are at best bookmarks or at worst spam. The commands listed here will help the would-be YubNub author stay clear of them and create something far more useful. Good commands are nominated to become Golden Eggs.

create (new or create2)
test, document, and submit a new command
CommandExists
To know if the argument is a YubNub command
split (or splitv)
display several webpages vertically in separate frames of same window or tab
splith
display several webpages horizontally in separate frames of same window or tab
two
view the results of two YubNub commands in the same window or tab
url
converts a YubNub command to a URL
man+
returns the YubNub manual page for a command if it exists, otherwise it returns the "create a command" page.
cmdData
Returns data from a command's man page.
similar
find YubNub commands similar to a given command or a given URL
kidsof
display a list of commands that use a given command
YubStats
Show some statistics of YubNub commands.
abv (or param)
execute a YubNub command without having to type parameter names
gui
creates a web interface for a YubNub command
yubsource
shortcut to YubNub source code repository
urlet
create a simple bookmarklet from a YubNub command
mash
applies several commands to a single word and return them in a single window or tab
multi
run multiple commands and return them in a single window or tab
repeat
repeat user entered data a specified number of times


URL-related commands[edit | edit source]

gotourl
go to a url that you construct using multiple parameters
CommandUrl
scrapes a YubNub command's 'man' page and returns the command's URL
scrape
return a snippet of text parsed from a web page.
scrape -tokens TOKENS -dirs DIRECTIONS -url URL [options]
httpstrip
remove the "http://" and return the rest of the URL
URLde
decode a URL
URLen
encode a URL
>
> [Yubnub command] [query]
Yubnub generates a URL by interpreting the 1st param as a Yubnub command, it then extracts a domain name from that URL and uses it to configure a Google Feeling Lucky search for the 2nd param.


Array-related commands[edit | edit source]

explode
break a string up into an array
ridx
removes an index from an 'array'
numlist
return a list of numbers from 1 to the input value
cmd2array
Create an 'array' from the results of a YubNub command
cmd2rss
generates RSS from the results of a YubNub command
oconv
convert outline data from one format to another
eatFeed
Pull data out of a web feed (RSS,XML,etc).
isoh2rss
produce RSS feed from isohunt torrent search
foreach
loop through an 'array' and runs a YubNub command
json
return the text,result and url of a yubnub command in a json object


String-related commands[edit | edit source]

ifthen
evaluates a conditional statement and returns a value based on the result
Example: ifThen -value1 100 -value2 100 -test LESSEQUAL -then http://www.google.com -redirect true
Redirects to google site.
ift
compares two values and returns a value based on the result
ifMatch
match a regular expression pattern and returns a value based on the result
ifEqual
determine if two values are equal and returns a result accordingly
ifNotEqual
determine if two values are NOT equal and returns a result accordingly
isNumeric
determine if an argument is numeric
eop
compares two tokens in a string and returns the whole string (minus tokens) if not empty
strLength
returns the length of the inputted string
strFind
returns the position of the first occurrence of a string or character within another string
strreplace
replace all instances of a character or string found within another string
strrange
returns a sublist of words for a given phrase
trim
trim whitespace from both sides of a string
match
Run a RegExp pattern against a string
cmd2setup
Store page-scraping RegExps for use with cmd2* functions
match
match a regular expression
substring
extract part of a given string
regexp
uses PCRE via ReReplace.com to perform find/replace routines on text
strWordNumber
strWordNumber 2 Hello! how are you?
Returns second word “how” from the string.
recursiveLast
returns the last word in a phrase, using a silly recursion of browser redirects
Example: reursiveLast one two three
Returns "three"
%
returns a sublist of words for a given phrase
filterstring
performs the opposite of % by removing a word from a string based on the number given
Example: filterstring 1 Hello world!
Returns "world!"
var
set and get temporary variables
echovar
display longer variables with formatting