Skip to content

Instantly share code, notes, and snippets.

View cdl's full-sized avatar
💭
I may be slow to respond.

Colby Ludwig cdl

💭
I may be slow to respond.
View GitHub Profile
  • Head to your Storage settings on your Xbox and delete the title update for GTA V
  • Launch GTA V and install the update
  • Let it load into story mode, and then hit Start and go to Online
  • Go to "choose characters" or whatever it's called, and delete your character
  • Make a new character, and it should boot you into Online w/ the cutscene and stuff

After all the cutscenes, it should work (it did for me). If it doesn't, retry from step 3.

@cdl
cdl / ex.js
Created October 9, 2013 17:49
$("form#newsletter").submit(function() {
// some custom validation
// function 1
});
$("form#newsletter").shush();
// (inside of .shush())
$(this).submit(function() {
// logic to disable form submit
(function($) {
$.fn.shush = function(btnSelector) {
// First, validation
// validate button selector
if (!btnSelector instanceof jQuery) {
// button selector is not jQuery object
throw "Expected button selector to be type 'jQuery', got + " typeof(btnSelector);
return false;
}
(function($) {
$.fn.shush = function(btnSelector) {
// Cache global variables
var $form = $(this);
var $button = $form.children("input[type=submit]")[0];
if (btnSelector instanceof jQuery) {
$button = $form.children(btnSelector[0]);
} else if (typeof(btnSelector) == 'string') {
$button = $.find(btnSelector)[0];
<header>
<section class='header-contents'>
<nav><!-- nav shit --></nav>
<h1>this sucks</h1>
<p class='meta'>some date &bull; i hate this</p>
</section>
</header>
- Adding Haswell
- Keeping the 13" models at integrated (Intel HD 5000) graphics
- Having the base 13" come with a 256GB SSD instead of 128GB
- Boosting the RAM on all models up to 16GB
- Deprecating the non-retina MBPs
<!DOCTYPE html>
<html>
<head>
<title>Sphere Volume Calculator</title>
</head>
<body>
<section class="calculator">
<h1>Sphere Volume Calculator</h1>
<form action="#" class="calculator-form" id="calculator">
<input type="text" name="number" placeholder="Radius" />
@cdl
cdl / anim.js
Created October 30, 2013 01:25
avatar = new ImageView({width:300,height:300,opacity:1});
avatar.image = "https://d2rfichhc2fb9n.cloudfront.net/image/5/YJhkLytYB8C2xa-XyIbsPKL69YZ7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvNmUvNzYvNjAvNmU3NjYwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0"
avatar.on("click", function() {
avatar.animate({
properties: {y:75},
curve:"spring(500,5,500)"
})
});
echo PASSWORD | sudo -S mv ~/whatever.txt ~/whatever-moved.txt
"user": {
"email": String,
"password": String,
"subscriptions": [{
// can have more than one
"service": String,
"plan": String,
"amount": Number,
"renewal_date": Date