This file contains hidden or 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
| wget --mirror -p --convert-links -P ./DIR URL |
This file contains hidden or 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
| #!/bin/bash | |
| ####################### | |
| # A script by Salvatore Sanfilippo | |
| ##################### | |
| ramfs_size_mb=1024 | |
| mount_point=~/volatile | |
| ramfs_size_sectors=$((${ramfs_size_mb}*1024*1024/512)) |
This file contains hidden or 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
| echo "Remove Dropbox’s green checkmark icons in Finder" | |
| file=/Applications/Dropbox.app/Contents/Resources/check.icns | |
| [ -e "$file" ] && mv -f "$file" "$file.bak" | |
| unset file | |
| # echo "Reset Launchpad" | |
| # [ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db | |
| echo "Show the ~/Library folder" | |
| chflags nohidden ~/Library |
This file contains hidden or 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
| #tobefaded { | |
| width:730px; | |
| height:133px; | |
| line-height:0px; | |
| color:transparent; | |
| font-size:50px; | |
| font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue", Helvetica, Arial,sans-serif; | |
| font-weight:300; | |
| text-transform:uppercase; |
This file contains hidden or 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
| p:first-letter{ | |
| display:block; | |
| margin:5px 0 0 5px; | |
| float:left; | |
| color:#000; |
This file contains hidden or 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
| img.bg { | |
| /* Set rules to fill background */ | |
| min-height: 100%; | |
| min-width: 1024px; | |
| /* Set up proportionate scaling */ | |
| width: 100%; | |
| height: auto; | |
| /* Set up positioning */ |
This file contains hidden or 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
| // Copyright Chris Coyier, if I remember well. | |
| #wrapper{max-width: 1024px;margin: 0 auto;} | |
| *, *:after, *:before { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } |
This file contains hidden or 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
| <?php | |
| $mail_to = 'myname@mydomain.com'; | |
| $name = $_POST['sender_name']; | |
| $mail_from = $_POST['sender_email']; | |
| $message = $_POST['sender_message']; | |
| $subject = 'Subject ' . $name; | |
| $body_message = 'From: ' . $name . "\r\n"; |
This file contains hidden or 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
| @mixin lien(){ | |
| font-size:$linkFontSize; | |
| background-color:$bgLinkColor; | |
| color:$textLinkColor; | |
| padding:$linkPaddingTop $linkPaddingRight $linkPaddingBottom $linkPaddingLeft; | |
| border:$linkBorderSize $linkBorderColor $linkTexture; | |
| @include border-radius($linkRadius); | |
| @include transition-property($transitionProperty); | |
| @include transition-duration($transitionDuration); | |
| &:hover{ |
This file contains hidden or 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
| jQuery(function($) { | |
| $('.classe').live('click',function(){ | |
| $(this).parent().slideUp(); | |
| return false; | |
| }) | |
| }); |