Skip to content

Instantly share code, notes, and snippets.

View rginnow's full-sized avatar
Coffee ❤️

Ryan Ginnow rginnow

Coffee ❤️
View GitHub Profile
@jmertic
jmertic / gist:6294266
Created August 21, 2013 13:10
Silent install a package on an instance from the command line in SugarCRM with this script
#!/usr/bin/env php
<?php
function usage()
{
print("usage: -i /path/to/instance -p /path/to/expanded/module -z /path/to/zipfile\n");
exit(1);
}
$opts = getopt('i:p:z:');
@tobysteward
tobysteward / BlogController.php
Last active March 4, 2024 23:11
Laravel AJAX Pagination with JQuery
<?php
class BlogController extends Controller
{
/**
* Posts
*
* @return void
*/
public function showPosts()