EMACS - TRAMP remote file access over SSH
TRAMP is the main reason that I left Eclipse and returned to EMACS. The Eclipse remote file access over SSH was clunky, (or possibly non-existent at the time). TRAMP is simple, (once I give you some...
View ArticleMercurial - abort: error: Name or service not known
This was much simpler than the Google search was indicating... My network connection on the virtual machine was disconnected. haha!
View Articlenvidia-settings freeze on activating TwinView
I was able to fix this problem by upgrading to the newest LINUX X64 (AMD64/EM64T) DISPLAY DRIVER 290.10 from http://www.nvidia.com/object/linux-display-amd64-290.10-driver.html I'm running Debian...
View Articleundefined reference to `libnet_name2addr4'
I was getting the following error on Debian Squeeze while compiling the MS Windows Malformed IP Options DoS Exploit (MS05-019): "> : undefined reference to `libnet_name2addr4' > : undefined...
View ArticleMigrating LDAP groupOfNames to groups table in Postgresql
I love LDAP! Well... I hate LDAP too... But, LDAP is not the directory service for my current position, so I am moving my groupOfNames to a Postgresql database. I usually do this with BASH, but thought...
View ArticleRoot your box, and mount LVM partitions
I was teaching a friend how to root a box by adding: init=/bin/bash to the kernel line in grub, and then wanted to show him how to install some apps from the command line. I had never done this with...
View ArticleDebian / Mailman - mailman hangs after killing add_members process
I have figured out how to revive mailman (1:2.1.11-11+lenny1), on Debian. THE ISSUE: When I kill my bin/createemail.sh, which creates a home directory, and adds the user to our global mailing list...
View ArticleDebian - issues upgrading openssh-server
I was having problems upgrading both openssh-client and openssh-server on Debian Squeeze, after finding that both packages had a status of 'ic'. I found that both /usr/bin/ssh and /usr/sbin/sshd had...
View ArticleFirefox - remove headers and footers when printing
Firefox 11: Suppress Headers & Footers Page Setup Margins/Headers&Footers In Headers&Footers section: set all values to '--blank--'
View ArticleVMware ESXi 5 enable SSH on ESXi host
I am learning VMware ESXi 5, and found that you could enable SSH on the ESXi host for management. Very cool! VMware ESXi 5 tab: Hit Login with the root username and password that you created during...
View ArticleGREP - only display matching text in line
I used the following file to grab all of the CVE numbers from a mixed-text penetration test report: grep -Ei 'CVE-[0-9]{4}-[0-9]{4}' pentest.csv | grep -oEi 'CVE-[0-9]{4}-[0-9]{4}' Here is sample...
View ArticleColdfusion - Problems displaying PDFs using CFCONTENT
If you are having issues displaying PDFs via the CFCONTENT tag, (similar to this article), don't forget to ' -- Enable binary large object retrieval (BLOB).' for the DSN in the Administrator!...
View ArticleEclipse - TNS:listener does not currently know of SID given in connect...
Many of the blog entries mention using the "Other" driver instead of the Oracle Thin Client, but I found that I simply needed to change the colon to a forward slash like this:...
View Articlemacports - mysql socket causing '#2002 Cannot log in to the MySQL server'
I was trying to setup phpmyadmin on my Mac 10.7.4 with MacPorts and kept getting: #2002 Cannot log in to the MySQL server Here is how I fixed it: 1. find the MacPorts mysql5-server socket (mysql needs...
View ArticleThis is a RAID status update from mpt-statusd. The mpt-status program reports...
I got tired of receiving these messages from my Debian 6 vm This is a RAID status update from mpt-statusd. The mpt-status program reports that one of the RAIDs changed state: I fixed it by running:...
View ArticleDrupal 7 - date_popup options
I'm pulling this from the source code so that I can reference it more easily: * #date_timezone * The local timezone to be used to create this date. * * #date_format * Unlike earlier versions of this...
View ArticleDrupal - using JQuery in custom functions
For anyone this is getting the following error: Uncaught TypeError: Property '$' of object [object Window] is not a function yet sees that jquery.js is being loaded before their custom javascript. You...
View ArticleUsing EMACS sql-oracle without a tnsnames.ora
I am an Oracle wimp, and so when I couldn't get EMACS sql-oracle to find the tnsnames.ora on my Mac, I brought the tnsnames.ora to EMACS :) M-x sql-oracle User: myusername Password: mypassword...
View ArticleCKEditor width issues in Drupal 7
I was having issues getting CKEditor to stay within the width of our theme, and found this code that helped "tame the beast": function oe_workshops_wysiwyg_editor_settings_alter(&$settings,...
View ArticleTimeline.js - [blocked] The page at ...
Here is a patch to allow timeline.js, (a really nice looking timeline solution), to work from a secure (https) page: --- storyjs-embed.js.old 2012-12-18 09:53:41.000000000 -0800 +++ storyjs-embed.js...
View Article
More Pages to Explore .....