Skip to content

Instantly share code, notes, and snippets.

@amylaneio
amylaneio / gist:6919f21387af0c1e3664881c8732ffa2
Created September 4, 2017 19:35
linda javascript: var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
javascript: var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
@amylaneio
amylaneio / gist:b9a977e1ab666d6c27f4b1bdb2f655f1
Created September 4, 2017 19:36
javascript:var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
https://gist.github.com/6919f21387af0c1e3664881c8732ffa2
@amylaneio
amylaneio / gist:6365bd00c3c545c34ea8fc45e4fcfed7
Created September 4, 2017 19:36
javascript: var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
javascript: var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
@amylaneio
amylaneio / gist:ffb71e141b9129d92779db24a1cd9628
Created September 4, 2017 19:39
javascript: var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
javascript: var host = 'lindaschaubblog.net'; document.location = 'https://www.google.com/search?hl=en&q=' + prompt('Search term') + '+site:' + host;
/* Turn page/post titles blue on hover */
.entry-header a:hover h1 {
color: #0b4779;
}
/* Turn main menu links blue */
#site-navigation li a:hover {
color: #fff;
}
/* Make secondary menu blue */
.secondary-navigation-container {
background: #0b4779;
}
function plugins( $search ) {
$num = 10;
$order = 'ASC';
$orderby = 'name';
$fields = 'URL,title';
$url = htmlentities('https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&request[search]=').urlencode( $search );
$ch = curl_init();
function plugins( $search ) {
$num = 10;
$order = 'ASC';
$orderby = 'name';
$fields = 'URL,title';
$url = htmlentities('https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&request[search]=').urlencode( $search );
$ch = curl_init();
/* the following only applies to larger screens */
@media only screen and (min-width: 780px) {
/* Re-size header image */
a.header-image {
width: 75% !important;
margin: 0 auto;;
}
/* Add spacing to menu items */
.menu-primary #nav li {