BFTrick


Member since 09/26/2008

Name: Patrick Rauland

Location: Green Bay WI

Website: http://www.patrickrauland.com/

11 snippets

10 profile views

View their favorites

Profile

All time reputation: 33

Achievement

first submission:submitting first snipplet

BFTrick's Recent Snippets



« Prev 1 Next »
  1. FAV

    Show Hidden Files in Mac Finder

    Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
    Bash 6 views posted 8 years ago BFTrick
  2. FAV

    Find & Replace Text With MySQL

    SQL 4 views posted 8 years ago BFTrick
  3. FAV

    Jquery Scroll to top of page

    jQuery saved by 2 people 7 views posted 9 years ago BFTrick
  4. FAV

    Jquery Scroll to anchor tag on page

    You will want to include the jquery easing plugin: http://gsgd.co.uk/sandbox/jquery/easing/ Add a class of 'scroll' to any element that should slide to an anchor tag. You must give the anchor tag an id equal to the name.
    jQuery saved by 1 person 4 views posted 9 years ago BFTrick
  5. FAV

    Slide to top of page

    Slide / scroll to the top of the page.
    JavaScript saved by 1 person 2 views posted 9 years ago BFTrick
  6. FAV

    Default HTAccess

    A default HTAccess file. Uncomment any lines that you want to use. http://enarion.net/web/htaccess/trailing-slash/
    Apache saved by 1 person 2 views posted 9 years ago BFTrick
  7. FAV

    Redirect all external traffic to a temp page

    This code redirects all external traffic (all traffic not belonging to a particular ip) to a temp page. This is useful for performing site maintenance.
    Apache saved by 18 people 4 views posted 9 years ago BFTrick
  8. FAV

    Print all Posted Variables

    This code will loop through any posted variables and print the name of the field as well as the value of the field.
    PHP 1 views posted 10 years ago BFTrick
  9. FAV

    Get random record based on weight

    Must have a field named Weight. The more Weight the more often the record is selected. Weight should be an integer between 1 and 10.
    MySQL saved by 4 people 5 views posted 10 years ago BFTrick
  10. FAV

    Min Height for IE6

    X can be any numeric value.
    CSS saved by 1 person 1 views posted 10 years ago BFTrick
  11. FAV

    CSS Reset + Diagnostic + General Styles

    The first part resets all the browser\\\'s default styles. The second part adds some styles back in and provides a few classes for common issues. The third part will check your page for invalid markup.
    CSS saved by 12 people 4 views posted 10 years ago BFTrick
« Prev 1 Next »