This weekend that just passed, I just moved this off a bloated reseller server and onto Digital Ocean, added SSL and Jetpack for CDN.
All the old posts are private. Mostly because they’re old, embarrassing and I really needed spellcheckers. I don’t know what I’d do without the help of robots.
I use this site to experiment with WordPress, tinker with (mostly) PHP code, optimize my server and other marketing-type things. I’m hosted on Digital Ocean because it’s cheap for a small site.
Here are some of the other marketing things I do on here:
- experiment with:
- traffic to this site (purchased or organic)
- test the user experience (a/b, mvt, and personalization)
- enhance various site attributes
You may be lucky to find something interesting here, but probably not. This is a totally selfish and self-serving site.
An error occurred while installing nokogiri (188.8.131.52), and Bundler cannot continue.
Make sure that `gem install nokogiri -v ‘184.108.40.206’` succeeds before bundling.
Well, this was a pain. I tried a lot of solutions such as;
rvm use system
rvm use 2.2.3 –default
Then a bunch of stack exchange solutions. But none of the solutions worked.
What did work
Simple… I got the idea from using the system’s installed version of ruby, but anyhow, since I wasn’t getting other weird El Capitan related errors, I did this, voila:
bundle config build.nokogiri –use-system-libraries
After returning from #Frosmox15 I decided to test hotjar, which claims to be “All-in-one Analytics and Feedback”.
I’ve set it up on my site and so far I’ve peeked at these features:
- heat mapping
So far it’s impressive given that it’s also free. Yet to try these features:
When setting up a webserver on a Raspberry Pi v.2, running Raspian OS, you can choose Apache or go for something a little lighter. If you follow the instructions from the Raspberry Pi website you will encounter a Cherokee installation error.
I haven’t found anything that is light and will work on Raspian except Cherokee.
I encountered a Cherokee installation error and I had a few other issues installing it. If you read the documentation on Raspberrypi.org you will find some “solutions” that just don’t work.
If you follow the instructions there, you will end up (at some point) getting this Cherokee installation error:
pi@raspberrypi ~ $ sudo apt-get install cherokee
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package cherokee is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package ‘cherokee’ has no installation candidate
How to fix the Cherokee installation error
The only way I found out how to do it is as follows, get “autoconf”, “automake” and “libtool”:
sudo apt-get install autoconf automake libtool
sudo apt-get install git
Check out Cherokee from Github:
git clone –recursive http://github.com/cherokee/webserver.git
The change directory to the webserver directory you just downloaded:
Run this script
If it tells you there is no file or directory (/usr/bin/env: python2: No such file or directory)
sudo ln -s /usr/bin/python2.7 /usr/bin/python2
Then run the autogen.sh script again. Then run “make” and “make install”.
Let me know how it goes.
I tried to make this title like snakes on a plane on ventrilo on a mac.
After 20 minutes of chatting while playing WOW I get the “ROBOT!!!” exclamation from everyone on vent, or, “Dude, just don’t talk”. Either way, here is a complete fix:
You need to replace the KEXT file AppleUSBAudio.kext with an older version. You do all this via “su” or logged in as root.
Here’s how to do it (re-written from here):
- Download the AppleUSBAudio.kext from 10.5.6 here.
- Unzip it.
- Open up terminal
- Make a backup of the existing driver by running the following in terminal
[cci lang=”bash”]cp -Rp /System/Library/Extensions/AppleUSBAudio.kext ~/Documents/AppleUSBAudio.kext-BACKUP[/cci]
- Exit any applications that are using a USB audio device and unplug all USB audio devices. In my opinion, print this page and restart your computer and ONLY open terminal. Unplug your headset please.
- Unload the existing AppleUSBAudio driver from the kernel by running the below command in terminal.
[cci lang=”bash”]sudo kextunload /System/Library/Extensions/AppleUSBAudio.kext[/cci]
If you get an error saying ” not found for unload request” your fine. If you get an error claiming it can’t be unloaded because its in use (don’t have the text in front of me) then stop and go back to step 5.
- Remove the existing driver by running the following in terminal.
[cci lang=”bash”]sudo rm -rf /System/Library/Extensions/AppleUSBAudio.kext[/cci]
- [cci lang=”bash”]sudo mv ~/Downloads/AppleUSBAudio.kext /System/Library/Extensions/AppleUSBAudio.kext[/cci]
- Remove quarantine (OSX Snow Leopard and Leopard):
[cci lang=”bash”]xattr -d com.apple.quarantine AppleUSBAudio.kext[/cci]
You can see if it was quarantined by running this:
[cci lang=”bash”]xattr -l AppleUSBAudio.kext[/cci]
- Load the new driver by running the following in terminal.
[cci lang=”bash”]sudo kextload /System/Library/Extensions/AppleUSBAudio.kext[/cci]Note: At this point if you get an error like this:check the system/kernel logs for errors or try kextutil(8)Do the following:[cc lang=”bash”]
chown root:wheel /System/Library/Extensions/AppleUSBAudio.kext
chown root:wheel /System/Library/Extensions/AppleUSBAudio.kext/*
chown root:wheel /System/Library/Extensions/AppleUSBAudio.kext/*/*
chown root:wheel /System/Library/Extensions/AppleUSBAudio.kext/*/*/*
chown root:wheel /System/Library/Extensions/AppleUSBAudio.kext/*/*/*/*[/cc]
- Confirm the new driver is loaded by running the following in terminal.
[cci lang=”bash”]kextstat | grep AppleUSBAudio[/cci]The output should look like the following (the 2.5.8b13 is the important bit, some of the other numbers might be slightly different):
sh-3.2# kextstat | grep AppleUSBAudio
129 0 0x92cdc000 0x28000 0x27000 com.apple.driver.AppleUSBAudio (2.5.8b13) <99 98 36 14 8 7 5 4 3 1>
I’ve been writing a few threads on an SEO forum over at SitePoint and other places recently and trying to dispel the myth that Page Rank is not as useful as most people think.
When I optimize a website and its pages for search terms it makes me feel all warm and fuzzy when I check the logs and see that I am getting a large percentage of my traffic from search engines and more importantly from the search terms that I have optimized my pages for.
I also like to see my site in the top 10 on a SERP for a phrase I am optimizing for.
Unfortunately, I don’t see Google apply a page rank to my sites and pages that reflect my top positioning for the core terms.
- If I have a site about “blue widgets”, let’s state the following assumptions:
- the site has the domain blue-widgets.com or bluewidgets.com.
- the site has a moderate volume of traffic, nothing to write home about.
- the site is on page one of Google for the term “blue widgets”
- the site is #1 for the term “blue widgets” since it is a niche site with no real competition
- 90% of my traffic is from search engines
- 80% of the traffic from search engines are from key terms and phrases that I have optimized for, including “blue widgets
I have optimized many sites for myself and for others that fit this framework. What I am finding is that the traffic may be low to moderate in volume but the product or information is being received well, users are clicking on related adverts and everything is looking good with regards to visitors coming to the site because they searched for the right phrases that my site provides information on.
Then Google applies its Page Rank. I get my first Page Rank allocation after a few months. My traffic is growing and the traffic is good and related to what I am discussing/advertising/selling/ranting about. I get a PR of 3, woohoo!!! The next 6 months I get upgraded to Page Rank 4, wow! All that hard work and now I have PR of 4! Then what? My site is making a lot of money from the targeted ads I am using and from Adsense. I am the #1 authority on “blue widgets” globally so I decide to make more localized results and pages for specific countries and hope that my PR grows!
After a year it is still a 4, maybe I’ll get lucky and hit a PR of 5. What next? I can go to advertisers and say, “hey I have a Page Rank of 5 and ummm, I am top of Google for “blue widgets” which is what you sell, oh, and my traffic is growing!” I wonder why they would care about Page Rank in that sentence? It is ultimately useless if you’re getting the targeted traffic from the terms you optimize for.
When you download a browser or when you get a new computer with Internet Exploder pre-installed on a Windows PC (or Safari on a Mac), the lil green bar that represents Page Rank, is it there? Or do you have to download the Google search bar?
I love seeing highly ranked pages based on PR that have garbage content. If you see any, please drop a comment in here.
A picture is worth a thousand words, or should that be four thousand?
Pretty simple find and replace:
update [table_name] set [field_name] = replace([field_name],'[string_to_find]’,'[string_to_replace]’);
OMG, I am glad I listened in the database classes all those years ago 🙂 I’m upgrading an older WordPress blog to the latest version and that lil query saved my life!