Skip to content →

Tag: github

Laravel Validation Rules

I’ve noticed over the past few months my usage of the Laravel validation engine has increased a lot. I’ve even used it in some non-Laravel applications just because I’m a fan of the interface. I had the idea of sharing some of the validation rules with the community but there wasn’t too many people doing the same. I created a…

Github – Hide Files from Commit Diffs

This is a really nice tip for tidying up git diff‘s on Github (I think it’ll work for Gitlab etc too), you can add the following line to .gitattributes file:

and this will hide all files in the dist/ directory from the commit diff.

Embed Github files Gist Style

If you’ve ever wanted to embed a Github file into your site, in the same style that Gist does, there’s a decent app over at http://gist-it.appspot.com that will do just that.

Chrome Casting Audio from Mac OSX

If you’re a Mac OSX user and would like to send your audio over to a Chromecast device (ie, playing iTunes or Spotify) then there’s a fantastic project called soundcast which will allow you to do just that. You can find the project over on Github at https://github.com/andresgottlieb/soundcast.