This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (R) click Bookmarks Toolbar | |
// New Bookmark | |
// Copy / Paste into Location | |
// Click Add | |
// minified version | |
javascript:(function()%7Bwindow.open(document.getElementsByClassName('stumble-frame')%5B0%5D.src%2C%20'_blank')%7D)() | |
// pretty version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('CONCATENATE_SCRIPTS', false); | |
/* That's all, stop editing! Happy blogging. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; CTRL + ` - Compose Email | |
^`:: | |
Run mailto: | |
Return | |
; This is a simple and generic example of an AutoHotkey script to compose an | |
; email using default email program when you press a keyboard shortcut. WIN + R | |
; to run command and type shell:startup than paste .ahk into startup folder | |
; [1]: http://www.autohotkey.com/docs/Hotkeys.htm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"key":"selena gomez","type":"keyword"},{"key":"fergie","type":"keyword"},{"key":"beyonce","type":"keyword"},{"key":"black panther","type":"keyword"},{"key":"fortnite","type":"keyword"},{"key":"family guy","type":"keyword"},{"key":"prom dresses","type":"keyword"},{"key":"Leon Lush","type":"channel"},{"key":"LadyGagaVEVO","type":"channel"},{"key":"Vanity Fair","type":"channel"},{"key":"PinkVEVO","type":"channel"},{"key":"E! Live from the Red Carpet","type":"channel"},{"key":"Donald J. Trump Topic","type":"channel"},{"key":"Bad Lip Reading","type":"channel"},{"key":"TMZ","type":"channel"},{"key":"TheEllenShow","type":"channel"},{"key":"KatyPerryVEVO","type":"channel"},{"key":"TaylorSwiftVEVO","type":"channel"},{"key":"LastWeekTonight","type":"channel"},{"key":"CNN","type":"channel"},{"key":"Team Coco","type":"channel"},{"key":"The Young Turks","type":"channel"},{"key":"Last Week Tonight Season 4","type":"channel"},{"key":"Real Time with Bill Maher","type":"channel"},{"key":"Saturday Night Live","type":"channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default force to HTTPS for all traffic | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
# Force SSL / HTTPS Redirection v2 | |
Options +FollowSymLinks | |
Options -Indexes | |
Options -MultiViews | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="btn-group"> | |
<button class="btn btn-link" data-target="#modal-sample" data-toggle="modal" type="button">90 second video tutorial</button> | |
</div> | |
<div aria-hidden="true" aria-labelledby="modal-sample-label" class="modal theme-alt modal-center-vertical" id="modal-sample" role="dialog" tabindex="-1"> | |
<div class="modal-dialog modal-lg"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<h4 class="modal-title" id="modal-sample-label">Dialog title</h4> | |
</div> | |
<div class="modal-body"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function theme_name_scripts() { | |
wp_enqueue_script('embeds', get_stylesheet_directory_uri(). | |
'/js/embeds.js', array(), '1.0.0', true); | |
} | |
add_action('wp_enqueue_scripts', 'theme_name_scripts'); | |
// Force GitHub Gist Embed Links to Open in a New Tab | |
// https://stackoverflow.com/a/34870311 | |
// https://www.engagewp.com/force-github-gist-embeds-to-open-in-a-new-tab-or-window/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$('#modal-sample').on('shown.bs.modal', function() { | |
$('#video1')[0].play(); | |
}) | |
$('#modal-sample').on('hidden.bs.modal', function() { | |
$('#video1')[0].pause(); | |
}) | |
$(window).keypress(function(e) { | |
var video = document.getElementById("video1"); | |
if (e.which == 32) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<meta http-equiv="Cache-control" content="no-cache"> | |
<meta http-equiv="Pragma" content="no-cache"> | |
<meta http-equiv="Expires" content="0"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Account Suspended</title> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> |
NewerOlder