Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
To clear 307 HSTS redirects in Google Chrome (if you experimenting with SSL -- you probably wouldn't want to do this for a site that you do not opperate, since it is there to protect you), go to the following URL and delete the site.
chrome://net-internals/#hsts
<staticContent lockAttributes="isDocFooterFileName"> | |
<mimeMap fileExtension=".323" mimeType="text/h323" /> | |
<mimeMap fileExtension=".aaf" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".aca" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".accdb" mimeType="application/msaccess" /> | |
<mimeMap fileExtension=".accde" mimeType="application/msaccess" /> | |
<mimeMap fileExtension=".accdt" mimeType="application/msaccess" /> | |
<mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" /> | |
<mimeMap fileExtension=".afm" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".ai" mimeType="application/postscript" /> |
# Created by https://www.gitignore.io/api/node,bower,osx,linux,windows,dropbox,sass,less,grunt,sublimetext,code | |
### Node ### | |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data |
<?php | |
add_action('admin_init', function () { | |
// Redirect any user trying to access comments page | |
global $pagenow; | |
if ($pagenow === 'edit-comments.php') { | |
wp_redirect(admin_url()); | |
exit; | |
} |
<?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( |
having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html
, .js
etc.) in a browser via http://
.
if you're not sure whether or not you have a web server running, no problem! its easy to confirm.