Skip to content

Instantly share code, notes, and snippets.

View hunterbridges's full-sized avatar

Hunter Bridges hunterbridges

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<title>Carousel</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<ul>
<li class="red"></li>
<li class="blue"></li>
<!DOCTYPE html>
<html>
<head>
<title>Carousel</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<style>
div.hider {
overflow:hidden;
width:200px;
}
+---------------------+---------------------+----------------+-------+---------------------------------------------------------------------+
| purchased_at | redeemed_at | days_to_redeem | COUNT | bar |
+---------------------+---------------------+----------------+-------+---------------------------------------------------------------------+
| 2011-10-19 21:07:04 | 2011-10-19 21:07:04 | 0 | 268 | ******************************************************************* |
| 2011-12-04 23:28:28 | 2011-12-05 03:07:35 | 1 | 135 | ********************************** |
| 2011-11-20 21:36:23 | 2011-11-22 12:47:39 | 2 | 53 | ************* |
| 2011-11-25 17:42:20 | 2011-11-28 19:16:05 | 3 | 46 | ************ |
| 2011-11-15 04:11:21 | 2011-11-19 18
<script type="text/javascript">
$(document).ready(function() {
$("select").selectBox();
});
</script>
<!-- Script goes right before your closing body tag -->
</body>
<% content_for(:javascripts) do %>
<script type="text/javascript">
$(document).ready(function() {
$("select").selectBox();
});
</script>
<% end %>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
struct Stack {
int length;
void *members[SHRT_MAX];
};
struct Stack *Stack_create()
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
typedef struct Cell {
int by;
} Cell;
int main(int argc, char *argv[]) {
int row = 5;
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
typedef struct Cell {
int by;
} Cell;
int main(int argc, char *argv[]) {
int row = 5;
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
typedef struct Cell {
int by;
} Cell;
int main(int argc, char *argv[]) {
int row = 5;
// ==UserScript==
// @name Hide FB Chat button
// @description Hides FB chat button and sidebar
// @include *.facebook.com/*
// @exclude *.facebook.com/ajax/*
// @grant GM_getValue
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
//
document.addEventListener('DOMSubtreeModified', function() {