Skip to content

Instantly share code, notes, and snippets.

git config --global url."https://".insteadOf git://
@beardyco
beardyco / github to bitbucket
Last active November 8, 2015 14:32
Clone from GitHub and Push to BitBucket
$ git clone https://github.com/cakephp/cakephp
$ git push git@bitbucket.org:mg/cakephp.git master
@beardyco
beardyco / 0_reuse_code.js
Created November 5, 2015 19:46
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@beardyco
beardyco / MaterialColors.json
Created October 16, 2015 11:58
JSON format of Material Colors with Shades
{
"markersHex": {
"red": {
"50": "#FFEBEE",
"100": "#FFCDD2",
"200": "#EF9A9A",
"300": "#E57373",
"400": "#EF5350",
"500": "#F44336",
"600": "#E53935",
[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}\\@[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}(\\.[a-zA-Z0-9][a-zA-Z0-9\\-]{0,25})*(\\.[a-z]{2,3})
#Introduction
I've put together a few pieces of guidelines that PDT should use in order to attain a scalable and manageable CSS.
###Formatting & Syntax
We should be keeping consistency throughout by using the following:
* four (4) space indents, no tabs
* maximum 80 character wide columns
* multi-line CSS
@beardyco
beardyco / SassMeister-input.scss
Created July 3, 2015 08:14
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$small: "(max-width : 767px)";
.test {
display: block;
@media #{$small} {
@beardyco
beardyco / SassMeister-input.scss
Created June 5, 2015 14:54
Generated by SassMeister.com.
// ----
// libsass (v3.2.4)
// ----
.car {
color: blue;
}
.car_wheel {
color: black;
@beardyco
beardyco / index.html
Created May 10, 2015 09:14
Google Maps example // source http://jsbin.com/nuzemicuje
<!DOCTYPE html>
<html>
<head>
<title>Google Maps example</title>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
@beardyco
beardyco / South Park Gist
Created November 12, 2013 16:56
Stored in db exactly like this and under datatype of LONGTEXT Gets output as { "quotes": [ { "season": "3", "episode": "2", "lines": { "Boys": "We got out of school! No more school today, we got out of school", "Kyle": "Cartman, you do have pinkeye!", "Ike": "Oh, he fly out of the sky.", "Cartman": "Ahh, son of a bitch!", "Stan": "That wasn't a …
Boys: School day, school day, teacher's golden ru
Kyle: Ah, damn it! My little brother's trying to follow me to school, again.
Ike: Zeeponanner
Kyle: Ike, you can't come to school with me.
Cartman: Yeah, go home you little dildo.
Kyle: Dude, don't call my brother a dildo!
Stan: What's a dildo?!
Kyle: Well, I don't know and I'll bet Cartman doesn't know either!
Cartman: I know what it means!
Kyle: Well, what?