sudo defaults write com.apple.MultitouchSupport ForceAutoOrientation YES
Then do a five finger spread action on the trackpad (as if you’re invoking view desktop).
sudo defaults write com.apple.MultitouchSupport ForceAutoOrientation YES
Then do a five finger spread action on the trackpad (as if you’re invoking view desktop).
Enter ~ . |
@include keyframes(floatIn) { | |
from { | |
margin-top: 15px; | |
} | |
to { | |
margin-top: 0; | |
} | |
} | |
@include keyframes(fadeIn) { |
var matches = document.querySelector("div.js-nav"); | |
for (var i = 0; i < matches.classList.length; i++) { | |
matches.classList.add('TEST'); | |
} |
DELETE | |
FROM wp_posts | |
WHERE post_type = 'revision'; | |
DELETE FROM wp_postmeta | |
WHERE post_id NOT IN (SELECT ID FROM wp_posts); |
/** | |
* Remove the admin notice suggesting you to install WooThemes Helper | |
*/ | |
function remove_wc_helper_notice() { | |
remove_action('admin_notices', 'woothemes_updater_notice'); | |
} | |
add_action('init', 'remove_wc_helper_notice'); |
function body_class_adder($classes) | |
{ | |
global $post; | |
if (isset($post)) { | |
$classes[] = $post->post_type . '-' . $post->post_name; | |
} | |
return $classes; | |
} |
function getTimeStationString() { | |
var today = new Date(); | |
var d = new Date(); | |
var day = d.getDay(), | |
diff = d.getDate() - day + (day == 0 ? -6:1); // adjust when day is sunday | |
var mon = new Date(d.setDate(diff)); | |
return 'https://www.mytimestation.com/User_Reports.asp?ReportID=20&Report_StartDate=' + formatDate(mon) + '&Report_EndDate=' + formatDate(today) + '&Report_DepartmentID=-1&ReportName=Department+Summary&ID=20&Submit=Run+Report'; |
find . -name \.AppleDouble -exec rm -rf {} \; |