Skip to content

Instantly share code, notes, and snippets.


Toby Steward tobysteward

View GitHub Profile
tobysteward /
Last active Jun 13, 2019
Keybase Verification

Keybase proof

I hereby claim:

  • I am tobysteward on github.
  • I am tobysteward ( on keybase.
  • I have a public key ASAmdAj_07x5Nef468PQp8WFSmNL243bkSQYFwb5PNsaqQo

To claim this, I am signing this object:

tobysteward / gist:7430973
Created Nov 12, 2013
Reset repo to latest commit
View gist:7430973
git fetch origin master
git reset --hard FETCH_HEAD
git clean -df
View gist:7430765
find /Volumes/Music -name "._*" -delete
tobysteward / gist:6765113
Created Sep 30, 2013
Look for duplicates
View gist:6765113
select columnName,count(columnName) from tableName
group by columnName having count(columnName) > 1
tobysteward / BlogController.php
Last active Dec 4, 2022
Laravel AJAX Pagination with JQuery
View BlogController.php
class BlogController extends Controller
* Posts
* @return void
public function showPosts()