Skip to content

Instantly share code, notes, and snippets.

View redrambles's full-sized avatar
:octocat:
Tinkering

Ann Cascarano redrambles

:octocat:
Tinkering
View GitHub Profile

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

<!DOCTYPE html>
<html>
<head>
<title>Guess the Number</title>
</head>
<body>
<h1>Guess the Number</h1>
<input id="user-guess" type="number" />
<button id="submit-guess">Guess</button>
@redrambles
redrambles / index.html
Last active November 23, 2015 19:52
Make a TimerSkillcrush 102 - Make a Timer// source http://jsbin.com/ticipohuxa
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Skillcrush 102 - Make a Timer" />
<title>Make a Timer</title>
</head>
<body>
<h1>Make a Timer</h1>
<div id="timer"></div>
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
// first method
<img src="<?php echo get_stylesheet_directory_uri(); ?>/img/taxi-photo-about.jpg"/>
// second method
<?php $image_src = wp_get_attachment_url(47459, 'full'); ?>
<img src="<?php echo $image_src; ?>"/>
// third method
<?php $image_id = 47603;
echo wp_get_attachment_image($image_id, 'full' ); ?>
<div class="cover">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6 welcome">
<h2>Your title</h2>
<p class="lead">This text is on the right side of the page</p>
</div><!-- .col -->
</div><!-- .row -->
</div><!-- .container -->
</div><!-- .cover -->
@redrambles
redrambles / functions.php
Created May 6, 2017 20:24
Add title description
function skillcrushstarter_setup() {
// Post thumbnails support
add_theme_support('post-thumbnails');
// Register Menus
register_nav_menus ( array (
'primary-menu' => __( 'Primary Menu', 'skillcrushstarter' ),
'secondary' => __( 'Secondary Menu', 'skillcrushstarter' ),
) );
@redrambles
redrambles / index.html
Last active August 25, 2017 00:28
JS BinRandom Background Color Changer// source https://jsbin.com/dacuyoc
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Random Background Color Changer">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body id="body">

Keybase proof

I hereby claim:

  • I am redrambles on github.
  • I am redrambles (https://keybase.io/redrambles) on keybase.
  • I have a public key ASCcG3yht1nxfE4AxaaOcXBmu9NVGkj19f_isUL878JJXgo

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<title>JS Bin</title>
</head>
<body>
<button id="lolcatButton">Show me the LOLCat!</button>