Skip to content

Instantly share code, notes, and snippets.

Avatar
🦄
Unicorns Rock

Jeremy Kenedy jeremykenedy

🦄
Unicorns Rock
View GitHub Profile
View video.html
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=yes" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap</title>
<script type="text/javascript" charset="utf-8" src="phonegap-1.1.0.js"></script>
<script type="text/javascript" charset="utf-8" src="video.js"></script>
<script type="text/javascript">
View sublime_text_2_useful_shortcuts.md

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods
@jeremykenedy
jeremykenedy / device.css
Created Oct 16, 2015 — forked from jsoverson/device.css
Quick css hacks to target android/ios
View device.css
.visible-android {
display:none;
}
.visible-ios {
display:none;
}
.on-device .visible-android, .on-device .visible-android {
display:inherit;
}
.device-ios .visible-android {
@jeremykenedy
jeremykenedy / README.md
Created Nov 29, 2015
Sentinel Logged in Users for Laravel 4 and Laravel 5
View README.md

Sentinel Logged in Users for Laravel

This is a very basic, but hopefully an efective way to detect both Guest and Registered users on your Laravel application.

The Usage and the Eloquent Model are basically the same on both Laravel 4 and Laravel 5, just the installation differs, since the application structure is different.

Please refer to one of the following links for installation on Laravel 4 or on Laravel 5.

View api-introduction-request-1.txt
curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json https://acme.chargify.com/subscriptions.json
@jeremykenedy
jeremykenedy / gulpfile.js
Created Dec 19, 2016 — forked from torgeir/gulpfile.js
Example gulpfile.js
View gulpfile.js
// Load plugins
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autoprefixer'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
rename = require('gulp-rename'),
clean = require('gulp-clean'),
@jeremykenedy
jeremykenedy / .jshintrc.js
Created Dec 19, 2016 — forked from connor/.jshintrc.js
jshintrc example
View .jshintrc.js
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
@jeremykenedy
jeremykenedy / SampleModel.php
Created Feb 2, 2017 — forked from janez89/SampleModel.php
Type cast for Laravel Eloquent ORM. Tested on Laravel 4.2 Requires PHP 5.4
View SampleModel.php
class SampleModel extends \Eloquent
{
use TypeCast;
protected $table = 'manufacturer';
protected $fillable = [];
protected $guarded = [
'id',
@jeremykenedy
jeremykenedy / List.md
Created Mar 31, 2017 — forked from msurguy/List.md
List of open source projects made with Laravel
View List.md

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):