Install Package Control for easy package management.
- Open the console with
Ctrl+`
- Paste in the following:
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
# Save branch history and revert easily | |
git merge --no-ff | |
git revert -m 1 <hash> | |
# Show n lines of context around diff lines instead of the usual +/- 3 | |
git diff -U<n> | |
# Check which branches are merged | |
git branch --merged |
<!--[if (gte mso 9)|(IE)]> | |
<center> | |
<table> | |
<tr> | |
<td width="600"> | |
<![endif]--> | |
<div style="max-width: 600px; margin: 0 auto;"> | |
<p>This text will be centered and constrained to 600 pixels even on Outlook which does not support max-width CSS</p> | |
</div> | |
<!--[if mso]> |
using System; | |
using System.DirectoryServices; | |
class Auth | |
{ | |
public static void Main(){ | |
string path= "LDAP://DC=domain,DC=local"; | |
string strAccountId = "[username]"; | |
string strPassword = "[password]"; |
Install Package Control for easy package management.
Ctrl+`
Press minus + shift + s
and return
to chop/fold long lines!
<?php | |
// | |
add_action('tribe_events_before_view','tribe_recurrence_schedule_meta'); | |
function tribe_recurrence_schedule_meta(){ | |
global $post; | |
// force this to run only on single event views | |
if( is_single() && tribe_is_event( $post->ID ) ){ | |
if( tribe_is_recurring_event( tribe_is_recurring_event( $post->ID ) ) ) { | |
tribe_register_meta( 'tribe_recurrence_schedule', array( |
<?php | |
/** | |
* get the proper Facebook link for events, venue and organizers. if the id is an event | |
* it will build the event by the meta id, however the second param gives the option to | |
* prettify the link but will require a request to Facebook's API which could slow response | |
* @param int $post_id | |
* @param boolean $lookup | |
* @return string | |
*/ |
<button onclick="javascript:window.print()">Print This Webpage</button> |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.