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
<h1>Don't Overthink It Grids <em>(while we wait for flexbox)</em></h1> | |
<div class="grid"> | |
<div class="col-2-3"> | |
<div class="module"> | |
<h3>2/3</h3> | |
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
</div> | |
</div> | |
<div class="col-1-3"> |
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 charset="UTF-8"> | |
<!-- IF PEN IS PRIVATE --> | |
<!-- <meta name="robots" content="noindex"> --> | |
<!-- END --> |
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="one-of-3">It was created in 1841 from Robertson | |
and Washington counties and named Navasota, then renamed in | |
1842 as Brazos for the Brazos River.</div> | |
<div class="two-of-3">It was created in 1841 from Robertson | |
and Washington counties and named Navasota, then renamed in | |
1842 as Brazos for the Brazos River.</div> | |
<div class="three-of-3">It was created in 1841 from Robertson | |
and Washington counties and named Navasota, then renamed in |
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="one-of-2">It was created in 1841 from Robertson | |
and Washington counties and named Navasota, then renamed in | |
1842 as Brazos for the Brazos River. It’s county seat is | |
Bryan. Other towns include College Station, Kurten, | |
Millican, Welborn and Wixon Valley.</div> | |
<div class="two-of-2">It was created in 1841 from Robertson | |
and Washington counties and named Navasota, then renamed in | |
1842 as Brazos for the Brazos River. It’s county seat is | |
Bryan. Other towns include College Station, Kurten, |
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
<input id="gwProxy" type="hidden" /> | |
<input id="jsProxy" onclick="if(typeof(jsCall)=='function'){jsCall();}else{setTimeout('jsCall()',500);}" type="hidden" /> |
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
include('/var/www/vhosts/domain.com/filename.php'); | |
/** WordPress likes the language defined here */ | |
define ('WPLANG', ''); | |
/** Absolute path to the WordPress directory. */ | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
/** Sets up WordPress vars and included files. */ | |
require_once(ABSPATH . 'wp-settings.php'); |
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
cd wp-content | |
mkdir upgrade | |
chown apache:apache upgrade | |
chown apache:ftp plugins -R |
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('FTP_SSL', true); |
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('FS_METHOD', 'direct'); | |
define('FS_CHMOD_DIR', 0777); | |
define('FS_CHMOD_FILE', 0777); | |
define('FTP_BASE', '/var/www/vhosts/domain.com/httpdocs'); | |
define('FTP_CONTENT_DIR', '/var/www/vhosts/domain.com/httpdocs/wp-content/'); | |
define('FTP_PLUGIN_DIR ', '/var/www/vhosts/domain.com/httpdocs/wp-content/plugins/'); | |
define('FTP_PUBKEY', '/home/wp-updater/.ssh/id_rsa.pub'); | |
define('FTP_PRIKEY', '/home/wp-updater/.ssh/id_rsa'); | |
define('FTP_USER', 'wp-updater'); | |
define('FTP_HOST', '255.255.255.255:22'); // your server's ip |
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
groupadd wp-updater | |
useradd -g wp-updater -d /home/wp-updater -m wp-updater | |
su wp-updater | |
ssh-keygen | |
cp /home/wp-updater/.ssh/id_rsa.pub /home/wp-updater/.ssh/authorized_keys | |
chmod 755 /home/wp-updater/.ssh | |
chmod 644 /home/wp-updater/.ssh/* |