Skip to content

Instantly share code, notes, and snippets.

jeweltheme /
Created Dec 30, 2017 — forked from shark0der/
Mailcatcher installation script for Ubuntu 16.04 (14.04 commands commented out)
# Install dependencies
# older ubuntus
#apt-get install build-essential libsqlite3-dev ruby1.9.1-dev
# xenial
apt install build-essential libsqlite3-dev ruby-dev
# Install the gem
gem install mailcatcher
jeweltheme /
Created Nov 14, 2017 — forked from Chaser324/
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

View Javascript OO Cheat Sheet
* Native Object
* Object Literal
* Basic Object
* Psuedo-Class
* Self Executing/Invoking Structure
* Lazy Function
* Module Pattern
jeweltheme / mobileUA.php
Created Oct 30, 2017 — forked from dcondrey/mobileUA.php
Detect User Agent with PHP
View mobileUA.php
class Mobile_Detect {
protected $accept;
protected $userAgent;
protected $isMobile = false;
protected $isAndroid = null;
protected $isBlackberry = null;
jeweltheme / index.html
Created Oct 7, 2017 — forked from tbpgr/index.html
Chart.js LineChart Sample
View index.html
<!doctype html>
<html lang="ja">
<meta charset="UTF-8">
<title>Line Chart Test</title>
<script src=""></script>
<script language="JavaScript"><!--
function displayLineChart() {
var data = {
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
jeweltheme / gist:abb955a10d7ec280d115bd5bd7c8053d
Created Oct 4, 2017 — forked from belsrc/gist:672b75d1f89a9a5c192c
Simple Vue.js filters that I usually need
View gist:abb955a10d7ec280d115bd5bd7c8053d
* Changes value to past tense.
* Simple filter does not support irregular verbs such as eat-ate, fly-flew, etc.
* @param {String} value The value string.
Vue.filter('past-tense', function(value) {
// Slightly follows
var vowels = ['a', 'e', 'i', 'o', 'u'];
jeweltheme / remove-wp-admin-header.php
Created Oct 2, 2017 — forked from kjantzer/remove-wp-admin-header.php
Globally remove default WordPress Admin Header. Courtesy of David Walsh (
View remove-wp-admin-header.php
add_action('get_header', 'remove_admin_login_header');
function remove_admin_login_header() {
remove_action('wp_head', '_admin_bar_bump_cb');
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
Michael Barnes
Single User License
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
Created Sep 15, 2017 — forked from RoseySoft/LICENCE SUBLIME TEXT
Sublime Text 3 Serial key build is 3103
Michael Barnes
Single User License
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
View Paginate.css
/* =Blog-Navigation - Pagination
----------------------------------------------- */
nav.pagination {
position: relative;
display: block;
.nav-links {
position: relative;
You can’t perform that action at this time.