Skip to content

Instantly share code, notes, and snippets.

Avatar
🦄
Unicorns Rock

Jeremy Kenedy jeremykenedy

🦄
Unicorns Rock
View GitHub Profile
@jeremykenedy
jeremykenedy / fa-bounce.css
Created Jan 29, 2020 — forked from gubi/fa-bounce.css
Pulse animation for FontAwesome icons
View fa-bounce.css
.fa-bounce {
display: inline-block;
position: relative;
-moz-animation: bounce 1s infinite linear;
-o-animation: bounce 1s infinite linear;
-webkit-animation: bounce 1s infinite linear;
animation: bounce 1s infinite linear;
}
@-webkit-keyframes bounce {
View cornify.js
var cornify_count = 0;
var cornify_add = function() {
cornify_count += 1;
var cornify_url = 'http://www.cornify.com/';
var div = document.createElement('div');
div.style.position = 'fixed';
var numType = 'px';
var heightRandom = Math.random()*.75;
var windowHeight = 768;
@jeremykenedy
jeremykenedy / gist:495b9d720312265ba35b689540f163d9
Created Apr 26, 2018 — forked from belsrc/gist:672b75d1f89a9a5c192c
Simple Vue.js filters that I usually need
View gist:495b9d720312265ba35b689540f163d9
/**
* Changes value to past tense.
* Simple filter does not support irregular verbs such as eat-ate, fly-flew, etc.
* http://jsfiddle.net/bryan_k/0xczme2r/
*
* @param {String} value The value string.
*/
Vue.filter('past-tense', function(value) {
// Slightly follows http://www.oxforddictionaries.com/us/words/verb-tenses-adding-ed-and-ing
var vowels = ['a', 'e', 'i', 'o', 'u'];
@jeremykenedy
jeremykenedy / auto-deploying.md
Created Dec 8, 2017 — forked from nickbclifford/auto-deploying.md
How to automatically deploy code to a server using Travis CI
View auto-deploying.md

Auto-Deploying via Travis CI

Because Travis CI can automatically execute scripts after successfully (or unsuccessfully!) executing tests, it is an obvious choice for a deployment tool. In order to deploy to a Git repository on a remote server, the process generally is as follows:

  • Set up SSH keys
  • Add the server's copy of the repository as a Git remote
  • Push to the remote
  • SSH into the server and execute any installation/compilation/miscellaneous commands

Before even touching .travis.yml...

Users

@jeremykenedy
jeremykenedy / README.md
Created Aug 7, 2017 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications
View README.md


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@jeremykenedy
jeremykenedy / jquery.alterclass.js
Created Apr 14, 2017 — forked from peteboere/jquery.alterclass.js
jQuery alterClass plugin: Remove element classes with wildcard matching. Optionally add classes.
View jquery.alterclass.js
/**
* jQuery alterClass plugin
*
* Remove element classes with wildcard matching. Optionally add classes:
* $( '#foo' ).alterClass( 'foo-* bar-*', 'foobar' )
*
* Copyright (c) 2011 Pete Boere (the-echoplex.net)
* Free under terms of the MIT license: http://www.opensource.org/licenses/mit-license.php
*
*/
@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):

@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 / homestead_sqlsrv_driver_installer.sh
Created Jan 17, 2017 — forked from andysnell/homestead_sqlsrv_driver_installer.sh
SQL Server Driver Installer for Laravel Homestead
View homestead_sqlsrv_driver_installer.sh
#!/bin/bash
# SQL Server Driver Installer for Laravel Homestead
#
# This script downloads, compiles, and installs the PHP 7 extension
# files for both the native sqlsrv and the PDO pdo_sqlsrv drivers.
# Get the Microsoft Driver Source Code from Github
cd ~
git clone https://github.com/Microsoft/msphpsql.git
cd msphpsql
@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`.