John 14:6 Jesus saith unto him, I am the way, the truth, and the life:no man cometh unto the Father, but by me.

delete mac hidden files

This will delete those annoying mac files in the folder and everything below it:

del /s /q /f /a:h ._*

Thanks awesometoast.

Jeremiah 10:10-16

But the Lord is the true God;
He is the living God and the everlasting King.
At His wrath the earth will tremble,
And the nations will not be able to endure His indignation.
11 Thus you shall say to them: “The gods that have not made the heavens and the earth shall perish from the earth and from under these heavens.”

He has made the earth by His power,
He has established the world by His wisdom,
And has stretched out the heavens at His discretion.

When He utters His voice,
There is a multitude of waters in the heavens:
“And He causes the vapors to ascend from the ends of the earth.
He makes lightning for the rain,
He brings the wind out of His treasuries.”

Everyone is dull-hearted, without knowledge;
Every metalsmith is put to shame by an image;
For his molded image is falsehood,
And there is no breath in them.

They are futile, a work of errors;
In the time of their punishment they shall perish.

The Portion of Jacob is not like them,
For He is the Maker of all things,
And Israel is the tribe of His inheritance;
The Lord of hosts is His name.

Romans 13:14

But put on the Lord Jesus Christ, and make no provision for the flesh, to fulfill its lusts.

2 Corinthians 4:5

For we do not preach ourselves, but Christ Jesus the Lord, and ourselves your bondservants for Jesus’ sake.

Securing wordpress uploads folder

Problem:
In DirectAdmin, the uploads folder doesn’t work unless it’s set to 777!
Also I don’t have shell access.

Fix:
Temporarily set your wp-contents folder to 777 and upload/exe the script below. Once uploads folder is created set wp-contents back to 755.

Select Code
1
2
3
4
<?php
   $dir = "uploads";
   mkdir($dir, 0755);
?>

Thanks mobilefish.

windows AppData

type this into Run:

%APPDATA%

hardening wordpress

1. Install .htaccess to root and upload folders.

2.
/** diable editors **/

define('DISALLOW_FILE_EDIT', true);

installing wordpress localhost via terminal

INSTALL WORDPRESS on native AMP stack
Original process from coolestguyplanettech.

# make a sharing directory and move into it

mkdir ~/Sites/wordpress ; cd ~/Sites/wordpress

# get the latest WordPress

curl -O http://wordpress.org/latest.tar.gz

# expand it

tar -xvzf latest.tar.gz

# move all files into shared directory one level up

mv wordpress/* .

# remove empty directory and compressed archive

rmdir wordpress/ ; rm latest.tar.gz

# create a settings file

cp wp-config-sample.php wp-config.php

# remember to add this to the end of wp-config.php

/** diable editors **/
define('DISALLOW_FILE_EDIT', true);

# DATABASE SETUP

# create user
# login as user: root

mysql -u root -p

# create user: bill

CREATE USER bill@localhost IDENTIFIED BY 'password';
grant all privileges on *.* to bill@localhost with grant option;

# create DB and assign user (no space between -p and password)

mysql -u[username] -p[password] -e "create database [databasename];"

# WordPress Database Config

vim wp-config.php

# Edit hosts file

sudo nano /private/etc/hosts

# Open it up in your default browser

open http://localhost/~username/wordpress/wp-admin/install.php

# Restart apache

sudo apachectl graceful

#fix up those ownership and permissions?

sudo chown -R _www ~/Sites/wordpress ; sudo chmod -R g+w ~/Sites/wordpress

# if permalinks isn’t working add this to the top of your .htaccess

Options +FollowSymLinks

Your own wickedness will correct you

(Jeremiah 2:19) Your own wickedness will correct you,
And your backslidings will rebuke you.
Know therefore and see that it is an evil and bitter thing
That you have forsaken the Lord your God,
And the fear of Me is not in you,”
Says the Lord God of hosts.

Humble

Quote

I tell you, this man went down to his house justified rather than the other; for everyone who exalts himself will be humbled, and he who humbles himself will be exalted.” – Luke 18:14

Posted in GW