Pinstripe

Faded paisley background with pinstripe menu bar. Nivo slider wit two feature sections.

More

Diamonds

Diamond texture background with black gradient top menu. Two feature sections and social icons.

More

Outdoor Brick

Rustic feel with brown header and green, curved menu. Nivo slider and two feature sections with social icons.

More

Simply Blue

Clean and simple in blue monochrome. Nivo Slider with two feature sections, social icons and home blurb.

More

Welcome

Here is a list of some things I don't want to have to look up twice.

Also, I have started creating WordPress themes and I would like to share those as well.  As of now, all of my WordPress themes and plugins are free for download.

All information here is use at your own risk.  I am not responsible for any of your disasters - at all.  So, take a look around and try out some of my themes.  If you have any thoughts or suggestions, please contact me using the contact form or email me at cory@coryclough.info


Recent Posts

MDADM RAID 5 Ubuntu

by admin

http://ubuntuforums.org/showthread.php?t=408461 apt-get update apt-get install mdadm fdisk /dev/sdb fdisk /dev/sdc fdisk /dev/sdd mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1 mkfs.ext3 /dev/md0 mkdir /backup mount /dev/md0 /backup Auto Mount sudo blkid #get UID UUID=fa1089a0-a243-41d3-9f37-dfae5f24f05d /backup ext3 defaults # add to /etc/fstab

Read More

Mount Amazon AWS S3 Bucket to Linux

by admin

 1. Create a bucket named mybucked. 2. Create IAM user and add permissions. 3. Install s3fs cd /tmp/ apt-get install build-essential libfuse-dev fuse-utils libcurl4-openssl-dev libxml2-dev mime-support wget https://s3fs.googlecode.com/files/s3fs-1.66.tar.gz tar xvzf s3fs-1.65.tar.gz cd s3fs-1.65/ ./configure make make install 4. Configure credentials Create a file /etc/passwd-s3fs add the cre

Read More

Setup Terminal Server Windows 2008R2 – FOR WORKGROUP

by admin

Install Remote Desktop Services Role Open Server Manager Right-click Roles -> Add Roles Select Remote Desktop Services Select Role Services: Remote Desktop Session Host & Remote Desktop Licensing Authentication Method: “Do not require Network Level Authentication” Licensing Mode: Per User User Groups: Default (Administrators) Client Experience: defaults RD Licensing Configuration: Check

Read More

VMware VMDK to AWS EC2

by admin

Download OVF tools from VMware website Example: VMware-ovftool-3.0.1-801290-lin.x86_64.bundle Install OVF tools - press space bar to get to bottom of terms $ sudo /bin/sh VMware-ovftool-3.0.1-801290-lin.x86_64.bundle Download and convert VMDK to OVF from VMware server $ ovftool vi://root:mypasswd@10.1.1.100/myvmdir ~/ovf Setup EC2 CLI tools http://docs.aws.amazon.com/AWSEC2/latest/Comman

Read More

VBScript Date Format YYYMMDD

by admin

 strDate = Year(Date) & Month(Date) & Day(Date) strDate = DatePart("yyyy",Date) _ & Right("0" & DatePart("m",Date), 2) _ & Right("0" & DatePart("d",Date), 2) Wscript.Echo "Description: " & strDate

Read More

Windows Batch Date Format YYYYMMDD

by admin

 @echo off setlocal EnableDelayedExpansion FOR /F "skip=1 tokens=1-6" %%A IN ('WMIC Path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:table') DO ( if "%%B" NEQ "" ( SET /A FDATE=%%F*10000+%%D*100+%%A SET /A FTIME=%%B*10000+%%C*100+%%E ) ) ECHO !FDATE! - !FTIME!

Read More

Add Printer from Command Line

by admin

Add printer rundll32 printui.dll,PrintUIEntry /in /n\\COMPUTER\PRINTER Set printer as default rundll32 printui.dll,PrintUIEntry /y /n\\COMPUTER\PRINTER

Read More

Remotely enable Powershell Remoting with PSExec

by admin

 Add firewall rules in Group Policy for PSExec Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Windows Firewall with Advanced Security -> Inbound Rules -> Open ports 445 & 139 C:\PSTools> psexec \\computername -i -u domain\username -p mypasswd PowerShell "Enable-PSRemoting -force"

Read More

Configure SAMBA with Active Directory

by admin

Disable SeLinux # vi /etc/selinux/config #must be rebooted to update Install Samba packages # yum install samba-* -y Edit /etc/samba/smb.conf [global] workgroup = skynet realm = SKYNET.LOCAL security = ads idmap uid = 100000-200000 idmap gid = 100000-200000 template homedir = /home/%U template shell = /bin/bash winbind use default domain = yes winbind offline logon […]

Read More

Linux File ACL

by admin

getfacl myfile.txt #view ACL setfacl -Rdm u:username:rwx dirname #default ACL setfacl -Rd u:username:rwx dirname #apply to current directory objects SUSE setfacl -d -m group:name:rwx /path/to/your/dir

Read More
©2017 Cory Clough