Skip to content

Instantly share code, notes, and snippets.

View jakeydevs's full-sized avatar
🎯
Focusing

Jake Price jakeydevs

🎯
Focusing
View GitHub Profile
@jakeydevs
jakeydevs / keybase.md
Created November 19, 2015 10:00
keybase verification

Keybase proof

I hereby claim:

  • I am JakePrice86 on github.
  • I am jakeprice (https://keybase.io/jakeprice) on keybase.
  • I have a public key whose fingerprint is 3217 3166 40A7 A771 9146 9DDC 23A3 31FB C95D A993

To claim this, I am signing this object:

@jakeydevs
jakeydevs / prettyPassword.js
Created July 15, 2015 08:58
Javascript Pretty Passwords
//-- prettyPassword.js
window.prettyPassword = {
//-- Password Vars
pass: "",
sep: "",
//-- generate
generate: function() {
<?PHP
$table->increments('id');
$table->string('product');
$table->string('type'); //-- Video type
$table->string('data'); //-- Datas
$table->timestamps();
public function decideAdvert()
{
@jakeydevs
jakeydevs / .htaccess
Created July 10, 2014 09:06
Basic email detection from images
RewriteRule ^images/email/([a-zA-Z0-9_-]*)/images.gif$ email_detect.php?string=$1 [L,NC,QSA]
@jakeydevs
jakeydevs / login.php
Created June 26, 2014 12:32
Redirect to URL location with input (Laravel)
<?php
//-- Other working code above
if (Auth::attempt(array('username' => $username, 'password' => $password))) {
return Redirect::intended('workspaces/');
} else {
//-- Failed Auth
Session::flash('message', 'Username and/or password incorrect');
return Redirect::to('login')->withInput(Input::except('password'));