start new:
tmux
start new with session name:
tmux new -s myname
# Secure local IPs: | |
# | |
# 127.0.0.2 - www.example.dev | |
# | |
127.0.0.1 localhost | |
# example.com | |
127.0.0.2 www.example.dev |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<button onclick="javascript:window.print()">Print This Webpage</button> |
<?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 | |
*/ |
<?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( |
Press minus + shift + s
and return
to chop/fold long lines!
Install Package Control for easy package management.
Ctrl+`
using System; | |
using System.DirectoryServices; | |
class Auth | |
{ | |
public static void Main(){ | |
string path= "LDAP://DC=domain,DC=local"; | |
string strAccountId = "[username]"; | |
string strPassword = "[password]"; |
<!--[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]> |