This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@phone = Location.find(:first, ...elided... ).andand.phone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- example from http://www.w3schools.com/xml/xml_tree.asp --> | |
<bookstore> | |
<book category="COOKING"> | |
<title lang="en">Everyday Italian</title> | |
<author>Giada De Laurentiis</author> | |
<year>2005</year> | |
<price>30.00</price> | |
</book> | |
<book category="CHILDREN"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Minerva-2:gems Sid$ irb | |
>> require 'faker' | |
=> true | |
>> Faker::Name.name | |
=> "Berniece Wunsch" | |
>> Faker::Name.first_name | |
=> "Garrison" | |
>> Faker::Name.name | |
=> "Nettie Roob PhD" | |
>> Faker::PhoneNumber.phone_number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Gist!</title> | |
</head> | |
<body> | |
Here's some HTML code. | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple procmail rules | |
MAILDIR=$HOME/mail | |
PMDIR=$HOME/.procmail | |
LOGFILE=$PMDIR/pmlog | |
FORMAIL=/usr/bin/formail | |
# die spam, die | |
:0: | |
* ^X-Spam-Flag: YES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:0: | |
* ^X-Spam-Flag: YES | |
spam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:0: | |
* ^List-Id: Some list (<)some_list_id\.lists\.something\.domail\.tld(>) | |
/foo/bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:0:* | |
^To: [email protected]* ^Subject:( \[Maybe\])? something .+ something| | |
/foo/bar/some_script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo port install scala | |
---> Computing dependencies for scala | |
---> Fetching scala | |
Error: Please one of the numbered scala* ports instead. | |
Error: Target org.macports.fetch returned: obsolete port | |
Error: Status 1 encountered during processing. | |
Before reporting a bug, first run the command again with the -d flag to get complete output. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ port search scala | |
cassandra @0.6.0 (databases) | |
A highly scalable, eventually consistent, distributed, structured key-value store. | |
dspam @3.9.0 (mail, net) | |
Scalable, open-source statistical anti-spam filter | |
mkpwd @0.7 (sysutils) | |
mkpwd is a scalable password generator |
OlderNewer