Friday, April 7, 2017

Find All Files Modified In Last Day Excluding Path

Recently had a situation where we were trying to track down which files had been modified in the last 24 hours but needed to exclude the cache directory since it builds files often and for a large site sifting through this is time consuming.

The following command will show all files, recursively, that have been modified in the last 24 hours and exclude the cache directory.

user@machine> find . -not \( -path ./wp-content/cache -prune \) -mtime -1 -ls

Sunday, May 1, 2016

Add YouTube Channel to Your Podcast Software

Go to http://podsync.net/ and past the channel URL.

If you're not sure of the channel URL perform the following:

1) Subscribe to the channel
2) Go to your channel listing in youtube.
3) Right click and select Copy link address
4) Paste into box on podsync.net and copy the link they provider to your podcast software, I use pocketcasts.com.

Thursday, February 11, 2016

Recursive Replace Text in Files

If you ever have a need to replace text in files (including subfolders) execute the following linux command.

In the below example we wanted to replace a copyright on a group of html and php pages.
2010 - 2015 became 2010 - 2016


user@machine> find . -type f -name "*" -exec sed -i'' -e 's/2010 - 2015/2010 - 2016/g' {} +

Sunday, May 17, 2015

Nokia 635 - Consumer Cellular MMS and Internet

Moved to Consumer Cellular a year or so ago using Apple and Android phones. A family member has a Lumia 635 running Microsoft Phone 8.1 and was unable to send/receive group SMS messages and picture text messages.

The below settings resolved the issue on the 635, see this point for the fix for a Lumia 520.

To edit/add the settings perform the following:

1) Go to System Settings > cellular+SIM > SIM settings
2) Click [Add/Edit] internet APN

APN: att.mvno
User name: [leave blank]
Password: [leave blank]
Proxy server (URL): 66.209.11.32
Proxy port: 80
 ...and click Disk icon to save

3) Click [Add/Edit] MMS APN
APN: att.mvno
User name: [leave blank]
Password: [leave blank]
WAP gateway (URL): proxy.mvno.ccmobileweb.com
WAP gateway port: 80
MMSC (URL): http://mmsc.cingular.com/
MMSC port: 80
Maximus MMS size: [leave blank] 
 ...and click Disk icon to save

Although it should work with other Windows Phone 8+ models it would be appreciated if you could post your model below and a go/no-go if it worked for you to benefit others on the web.

All the best!

Monday, April 27, 2015

Nokia 520 - Consumer Cellular MMS and Internet

Moved to Consumer Cellular a year or so ago using Apple and Android phones. Recently switched to a Lumia 520 running Microsoft Phone 8.1 and was unable to send/receive group SMS messages and picture text messages.

The below settings resolved the issue on my 520, see this point for the solution for a Lumia 635.

To edit/add the settings perform the following:

1) Go to System Settings > cellular+SIM > SIM settings
2) Click [Add/Edit] internet APN

APN: ccdata
User name: [leave blank]
Password: [leave blank]
Proxy server (URL): [leave blank]
Proxy port: [leave blank]
 ...and click Disk icon to save

3) Click [Add/Edit] MMS APN
APN: att.mvno
User name: [leave blank]
Password: [leave blank]
WAP gateway (URL): proxy.mvno.ccmobileweb.com
WAP gateway port: 80
MMSC (URL): http://mmsc.cingular.com/
MMSC port: 80
Maximus MMS size: [leave blank] 
 ...and click Disk icon to save

Although it should work with other Windows Phone 8+ models it would be appreciated if you could post your model below and a go/no-go if it worked for you to benefit others on the web.

All the best!

Tuesday, September 24, 2013

Create Archive of Website

If you have a website that you're retiring but would like to copy it from your current registrar without having to sFTP/FTP the following command will copy it in Linux.

wget --recursive --domain [domain] --no-parent --page-requisites [location]

Wednesday, September 18, 2013

Force Verizon Galaxy S3 to CDMA Only

There are quite a few people searching for an old app that would force the S3 to CDMA only or maybe they are wanting a way to turn off 4g on an Android phone. In my case it was necessary because I had invested big $$ in a signal booster however it only handles the 800 MHz and 1900 MHz frequencies. Well guess what 4G uses, if you're with Verizon not those two frequencies.

The old app was named Phone Info and was in the Google Play store but has been removed/retired. After some search stumbling across a comment for this post which indicated there is a post here that explains the issue but it requires registration. However after registering it turns out it just refers to a Google Play store app.

Short answer, install the Battery Monitor Widget. Once installed click the Tests button on the bottom right, click the Device Info menu and VoilĂ  scroll down and select under the 'Set preferred network type:' menu.