Skip to content

Instantly share code, notes, and snippets.

Jorge webinfinita

Block or report user

Report or block webinfinita

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
adamwathan / belongs-to-many.sublime-snippet
Last active Jun 8, 2019
Eloquent Relationship snippets for Sublime Text
View belongs-to-many.sublime-snippet
public function ${1:relationship}()
return \$this->belongsToMany(${1/^(.+)$/(?1\u$1:)/g}::class, {$2:table});
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
pascalbaljet /
Last active Jun 4, 2019
Install Imagick 3.4.0 on PHP 7.0 server (Laravel Forge)
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
apt-get install pkg-config libmagickwand-dev -y
cd /tmp
tar xvzf imagick-3.4.0.tgz
abrudtkuhl / comments.php
Created Aug 8, 2012
WordPress comments.php for Responsive Facebook Comments
View comments.php
<div class="fb-comments"data-href="<?php the_permalink(); ?>" data-num-posts="2" mobile="false"></div>
necolas /
Last active Nov 25, 2019
Experimenting with component-based HTML/CSS naming and patterns

NOTE I now use the conventions detailed in the SUIT framework

Template Components

Used to provide structural templates.


You can’t perform that action at this time.