Skip to content

Instantly share code, notes, and snippets.

@webrune-tim
webrune-tim / index.html
Created October 28, 2012 22:22 — forked from pixbit/index.html
CSS brushed metal
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS brushed metal by Simurai &middot; CodePen</title>
<!--
Copyright (c) 2012 Hugo Giraudel, http://codepen.io/HugoGiraudel
Permission is hereby granted, free of charge, to any person obtaining
@webrune-tim
webrune-tim / index.html
Created November 20, 2012 01:19
A CodePen by Tim Smith. Countdown Clock
<div class="container">
<ul class="flip minutePlay">
<li>
<a href="#">
<div class="up">
<div class="shadow"></div>
<div class="inn">0</div>
</div>
<div class="down">
@webrune-tim
webrune-tim / index.html
Created March 16, 2013 00:24
A CodePen by Tim Smith. Picky Choosy - Example of fun with canvas
<div role="main" class="container">
<center>
<span id="option-box">
<select id="number">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
@webrune-tim
webrune-tim / 500-coffee-cup-icons.markdown
Created August 21, 2013 23:17
A CodePen by Tim Smith.
<script type="text/javascript">
var whichIsActive = $('.active').attr("id");
$('.click-1').on('toggle', function() {
$('#'+whichIsActive).removeClass('.active');
$('#panel1').toggleClass("active");
e.preventDefault();
});
$('.click-2').on('toggle', function() {
<div class="row">
<div class="large-12 large-centered columns">
<dl class="accordion" data-accordion>
<dd class="accordion-navigation">
<div class="click-1">How do I post funny stuff to Laflife?</div>
<div id="panel1" class="content">
<p>It’s easy to post your funny stuff on Laflife.</p>
<p>Click <a href="<%= new_media_path %>">POST</a> in the upper right hand navigation bar.</p>
<p><strong>1. Get the Laflife Browser Button.</strong> It’s a super easy way to post your content from anywhere on the web.</p>
<p><strong>-OR-</strong></p>
vm-tim2 ~/development (next)$ git merge --no-ff new/login
Auto-merging app/assets/stylesheets/styles.css.scss
CONFLICT (modify/delete): app/assets/stylesheets/styles.css deleted in HEAD and modified in new/login. Version new/login of app/assets/stylesheets/styles.css left in tree.
Auto-merging app/assets/stylesheets/landing_style.css.scss
CONFLICT (content): Merge conflict in app/assets/stylesheets/landing_style.css.scss
Automatic merge failed; fix conflicts and then commit the result.
vm-tim2 ~/development (next|MERGING)$ grep -r '<<<' app/
app/assets/stylesheets/landing_style.css.scss:<<<<<<< HEAD
Binary file app/assets/images/progress.png alias matches
Binary file app/assets/images/ball_guy.png matches
Binary file app/assets/images/friend_circles.png alias matches
Binary file app/assets/images/landing-bg.jpg matches
Binary file app/assets/images/Avenir.ttc matches
Binary file app/assets/images/progress.png matches
TypeError in Survey#index
Showing /var/www/development/app/views/layouts/_li_nav.html.erb where line #24 raised:
nil can't be coerced into Float
Extracted source (around line #24):
<a href="<%= people_soh_path(current_user.id) %>" class="nav-link selectme">
<%= current_user.first_name if !current_user.nil? %>
</a>
NoMethodError in Survey#incomplete
Showing /var/www/development/app/views/layouts/base.html.erb where line #6 raised:
undefined method `environment' for nil:NilClass
(in /var/www/development/app/assets/stylesheets/foundation_and_overrides.scss)
Extracted source (around line #6):
3
4
5
6