mentimeter.com
Quick, easy way to do voting or polling.
Created one for my presentation on QR codes at IUG 2012 conference.
HTML, CSS, batch commands, and Javascript examples that I have used in my library work. Short entries, designed as quick reference.
By Len Davidson at CUA Law Library
2/20/2012
2/11/2012
Smart Phone Emulators
All the online, browser based emulators that I looked at, never rendered web pages like a real mobile phone. So best choice was so set up a stand alone emulator:
Android
List of Emulators
----------------------------------
I tried both, and neither produced output like a regular iPhone. They may convince a webserver that they are an iPhone, but then they don’t render the HTML/CSS as an iPhone does.
For example, they ignore this tag
<meta name="viewport" content="initial-scale=0.5, maximum-scale=1.5" />
Below:
LEFT: Safari with user Agent set to iPhone.
Right: Android emulator (matches what I see on iPhone)
Android
Android Virtual Device - Easy to install, can select different versions, and set initial RAM. Saves bookmarks between sessions, can use keyboard to enter textWindows Phone 7
Be careful of requirements for graphics card. Does not save info between sessions, cant use keyboard, must use virtual keyboard.Apple
Have not tested yet, need to run this on Apple machine.
List of Emulators
----------------------------------
Michael Johnson (Shawnee Univ) suggested these online emulators:
Safari as an emulator: http://www.mydigitallife.info/how-to-emulate-iphone-change-user-agent-in-safari-and-firefox-web-browser/
I tried both, and neither produced output like a regular iPhone. They may convince a webserver that they are an iPhone, but then they don’t render the HTML/CSS as an iPhone does.
For example, they ignore this tag
<meta name="viewport" content="initial-scale=0.5, maximum-scale=1.5" />
Below:
LEFT: Safari with user Agent set to iPhone.
Right: Android emulator (matches what I see on iPhone)
2/01/2012
1/19/2012
DNS & Heinonline
Problems with HeinOnline again, pages loads, but none of the CSS, which is located at staticimage.heinonline.org
tracert staticimage.heinonline.org
Tracing route to lamp.cit.cornell.edu [128.253.161.36]
over a maximum of 30 hops:
First thought it was problem with DNS 11.74 (staff PCs that had that could not resolve, one's with 11.73 could, going directly)
But made change on OPAC, still problem through proxy.
Then set to Google DNS 8.8.8.8, solved problem
Eventually asked campus IT to manually enter info for our DNS, and that way we could switch back to using our DNS server.
Then set to Google DNS 8.8.8.8, solved problem
Eventually asked campus IT to manually enter info for our DNS, and that way we could switch back to using our DNS server.
12/05/2011
IE warning message
Using Javascript to show warning only in Internet Explorer Browser:
<script language="javascript">
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer')
{
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null)
rv = parseFloat( RegExp.$1 );
}
return rv;
}
function checkVersion()
{
var msg = "<p>Internet Explorer Users:<br> You will get a popup warning message (view content that was delivered securely). You can <a href='http://blogs.msdn.com/b/askie/archive/2009/05/14/mixed-content-and-internet-explorer-8-0.aspx' target='_blank'>change IE settings</a> to avoid this warning, or use Firefox or Chrome instead.</p><p> </p>";
var ver = getInternetExplorerVersion();
if ( ver > -1 )
{
if ( ver >= 8.0 )
document.write( msg );
}
}
checkVersion();
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer')
{
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null)
rv = parseFloat( RegExp.$1 );
}
return rv;
}
function checkVersion()
{
var msg = "
Internet Explorer Users: You will get a popup warning message (view content that was delivered securely). You can change IE settings to avoid this warning, or use Firefox or Chrome instead.
";
var ver = getInternetExplorerVersion();
if ( ver > -1 )
{
if ( ver >= 8.0 )
document.write( msg );
}
}
checkVersion();
</script>
<script language="javascript">
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer')
{
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null)
rv = parseFloat( RegExp.$1 );
}
return rv;
}
function checkVersion()
{
var msg = "<p>Internet Explorer Users:<br> You will get a popup warning message (view content that was delivered securely). You can <a href='http://blogs.msdn.com/b/askie/archive/2009/05/14/mixed-content-and-internet-explorer-8-0.aspx' target='_blank'>change IE settings</a> to avoid this warning, or use Firefox or Chrome instead.</p><p> </p>";
var ver = getInternetExplorerVersion();
if ( ver > -1 )
{
if ( ver >= 8.0 )
document.write( msg );
}
}
checkVersion();
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer')
{
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null)
rv = parseFloat( RegExp.$1 );
}
return rv;
}
function checkVersion()
{
var msg = "
Internet Explorer Users: You will get a popup warning message (view content that was delivered securely). You can change IE settings to avoid this warning, or use Firefox or Chrome instead.
";
var ver = getInternetExplorerVersion();
if ( ver > -1 )
{
if ( ver >= 8.0 )
document.write( msg );
}
}
checkVersion();
</script>
11/07/2011
Using Putty program to tunnel to Millennium server
1. For each Millennium port (2000, 4600, 1031-1035, 80, etc.), I created a forwarding port (in Putty under "Connection" > "SSH" > "Tunnel"). I did this by entering the port number in the "Source port" area and the server's IP address and port for the "Destination". You can see this in the attached screenshot.
2. Then I opened a Putty SSH session to the server.
3. Then I opened Millennium by using the following command in the Windows "Run" box:
"C:\Program Files\Millennium\iiirunner.exe" ip=localhost
Updating the IP address listed in the iiirunner.lax file would also have the same effect. You could also just modify your Millennium shortcut by adding "ip=localhost" (no quotes) to the end of the shortcut's target.
Some other things to keep in mind ....
1. You have to have Putty open while Millennium is open.
2. You might also need to tunnel additional ports for your specific situation.
3. Sometimes a specific Millennium application wouldn't open the first time I'd select it from the control bar; the black iii runner.exe box would list an error message. However, usually, everything would work fine if I selected the module again from the control bar. May be something flakey on my end ... but I thought I would mention it just in case.
Matt Polcyn email 2008
2. Then I opened a Putty SSH session to the server.
3. Then I opened Millennium by using the following command in the Windows "Run" box:
"C:\Program Files\Millennium\iiirunner.exe" ip=localhost
Updating the IP address listed in the iiirunner.lax file would also have the same effect. You could also just modify your Millennium shortcut by adding "ip=localhost" (no quotes) to the end of the shortcut's target.
Some other things to keep in mind ....
1. You have to have Putty open while Millennium is open.
2. You might also need to tunnel additional ports for your specific situation.
3. Sometimes a specific Millennium application wouldn't open the first time I'd select it from the control bar; the black iii runner.exe box would list an error message. However, usually, everything would work fine if I selected the module again from the control bar. May be something flakey on my end ... but I thought I would mention it just in case.
Matt Polcyn email 2008
Subscribe to:
Posts (Atom)