Skip to content

Instantly share code, notes, and snippets.

/* Install the Jetpack Custom CSS module, then go Appearance→Edit CSS and add this: */
.sml_emailinput {
width: 80%;
}
/* If that doesn't work, try adding !important like this: */
.sml_emailinput {
width: 80% !important;
}
<?php /* Only show excerpts for Standard post format OR Chat format,
when this is not both the very first standard post and also a Sticky post AND
when excerpts enabled or One-Sentence Excerpts enabled AND
this is not the very first standard post when Show Full Content First Post enabled */
?>
<?php if ( ( ! get_post_format() || 'chat' === get_post_format() ) &&
( ! ( independent_publisher_is_very_first_standard_post() && is_sticky() ) ) &&
( independent_publisher_use_post_excerpts() || independent_publisher_generate_one_sentence_excerpts() ) &&
( ! ( independent_publisher_show_full_content_first_post() && independent_publisher_is_very_first_standard_post() && is_home() ) )
) :
pushd()
{
if [ $# -eq 0 ]; then
DIR="${HOME}"
else
DIR="$1"
fi
builtin pushd "${DIR}" > /dev/null
ls -al
cd_pwd()
{
if [ $# -eq 0 ]; then
DIR="${HOME}"
else
DIR="$1"
fi
cd "${DIR}"
pwd
@raamdev
raamdev / gist:33d257520050189aa421
Created May 28, 2014 21:24
fix social button alignment for sgclark.com
#menu-social ul li {
float: right;
}
@media only screen and (max-width: 1200px) {
#menu-social ul li {
float: none;
}
}
@raamdev
raamdev / gist:45e8fca98365269f0cee
Created June 5, 2014 23:51
Custom Stylesheet for Link Library running on raamdev.com/resources/
.linktable {margin-top: 15px;}
.linktable a {text-decoration:none}
table.linklisttable {
width:100%;
border-width: 0px 0px 0px 0px;
border-spacing: 5px;
/* border-style: outset outset outset outset;
border-color: gray gray gray gray; */
" Settings
" https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh?hl=en
" Mappings
unmap r "Unmaps the 'r' key for Refresh, since that's used for other things, like GitHub R reply shortcut
@raamdev
raamdev / test-ws-connection.php
Created July 12, 2014 22:33
Test connection to WebSharks-Inc.com Pro Plugin Updater; result of running this file should be "{"error":"Missing `data`."}"
<?php
error_reporting(-1);
ini_set('display_errors', TRUE);
function curl_download($Url){
// is cURL installed yet?
if (!function_exists('curl_init')){
die('Sorry cURL is not installed!');
}
Verifying myself: My Bitcoin username is +raamdev. https://onename.io/raamdev