Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
tommymarshall / custom_user_bindings.sublime-keymap
Last active Apr 26, 2020
Custom User Bindings for using AlignTab with ='s, =>'s, and :'s in Sublime Text
View custom_user_bindings.sublime-keymap
"keys": ["control+alt+;"], "command": "align_tab",
"args" : {
"user_input" : ":/f"
"keys": ["control+alt+="], "command": "align_tab",
"args" : {
tinabeans / template.html
Last active Jan 14, 2022
A super-barebones single-column responsive email template, assuming a max-width of 540px. Read about it on the Fog Creek blog.
View template.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Single-Column Responsive Email Template</title>
@media only screen and (min-device-width: 541px) {
.content {
barryvdh / _ide_helper.php
Last active May 9, 2022
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using
View _ide_helper.php
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
* @author Barry vd. Heuvel <>
* @see
namespace {
exit("This file should not be included, only analyzed by your IDE");
JeffreyWay / laravel.js
Last active Nov 27, 2021
Want to send a DELETE request when outside of a form? This will handle the form-creation bits for you dynamically, similar to the Rails implementation. (Requires jQuery, but doesn't have to.) To use, import script, and create a link with the `data-method="DELETE"` attribute.
View laravel.js
<a href="posts/2" data-method="delete"> <---- We want to send an HTTP DELETE request
- Or, request confirmation in the process -
<a href="posts/2" data-method="delete" data-confirm="Are you sure?">
(function() {
kevinSuttle /
Last active May 11, 2022 — forked from lancejpollard/
List of Usable HTML Meta and Link Tags
jakebellacera / ICS.php
Last active May 18, 2022
A convenient script to generate iCalendar (.ics) files on the fly in PHP.
View ICS.php
* This is free and unencumbered software released into the public domain.
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.