Skip to content

Instantly share code, notes, and snippets.

@raystation
raystation / keybase.md
Created May 15, 2017 20:08
### Keybase proof

Keybase proof

I hereby claim:

  • I am raystation on github.
  • I am rayuen (https://keybase.io/rayuen) on keybase.
  • I have a public key ASARSFey5dxUuwUy-deoBB_C1lNukqS0Ck2M2cGjPtMs8Qo

To claim this, I am signing this object:

@raystation
raystation / responsive.css
Last active December 22, 2020 03:55
Bootstrap Responsive Indicator
.responsive-indicator {
font-family: "Input Sans", Verdana, sans-serif;
padding: 2px 4px;
position: fixed;
bottom: 10px;
left: 10px;
z-index: 9999;
opacity: 0.9;
background-color: rgba(0,0,0,0.2);
@raystation
raystation / downcase-space
Last active August 29, 2015 14:04
will take a string and make it lowercase and take out the spaces
function downcase_space($string){
$string = str_replace(" ", "-", $string);
$string = strtolower($string);
return $string;
}
@raystation
raystation / get-date
Created July 30, 2014 22:22
php get date
function get_date() {
date_default_timezone_set("America/Los_Angeles");
$date["year"]=date('Y');
$date["day"]=date('D');
return $date;
}
@raystation
raystation / responsive-indicator
Last active August 29, 2015 14:02
will tell you what break point you are on
/*
Responsive Indicator
==================================================
Raystation
http://rayuen.com
*/
.responsive-indicator {
width: 20px;
height: 20px;