Quantcast
Channel: Secret Ham
Browsing index pages (28 articles)
↧

EMACS - .emacs config notes when installing Magit through ELPA

Don't forget to load git-rebase-mode and git-commit-mode, in addition to magit. Here's a quick example config for your .emacs: (add-to-list 'load-path "~/.emacs.d/elpa/git-rebase-mode-20140605.520/")...

View Article


Click doesn't give element focus in Chrome?

Click doesn't give element focus in #chrome? Seems to be this issue: https://bugs.webkit.org/show_bug.cgi?id=22261 . Here is a fix: // fix webkit bug #22261, which doesn't give // radio buttons focus...

View Article


Gmail: How to revert to old Gmail mailbox

If you find the tabbed Gmail interface cumbersome, you can revert to the old-school no-tab interface by clicking on:   Settings -> Configure inbox And, unchecking all of the boxes, except for Primary.

View Article

/usr/lib64/python2.6/site-packages/rhsm/certificate.py:123:...

This is fixed with the following changes to /usr/libexec/rhsmd: #if warning_range.hasNow(): if warning_range.has_now(): Reference:...

View Article

dyld: DYLD_ environment variables being ignored because main executable...

I just upgraded to Mountain Lion on Friday, and have been plagued by this error: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid The best fix...

View Article


EMACS 24 and Windows 7 - current-kill: Symbol's function definition is void:...

If you are getting the following error when setting up EMACS 24 on Windows 7: current-kill: Symbol's function definition is void: x-cut-buffer-or-selection-value Open your .emacs and change:...

View Article

jwerty keymapping

Just placing these here, as it is easier for me to access than the github source... I needed arrow keys, and if you look in the following code, you see a long text version for these, (ie. arrow-left,...

View Article

Add custom thumbnail instead of pagepeeker preview

(copied from my feature request on the timeline.js Google Group) Hi all, I am implementing timeline.js with a class interactive here at MY, and found that pagepeeker couldn't access our protected...

View Article


Timeline.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


CKEditor 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 Article

Using 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 Article

Drupal - 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 Article

Drupal 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 Article


This 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 Article

macports - 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 Article


Eclipse - 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 Article

Coldfusion - 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 Article


GREP - 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 Article

VMware 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 Article

Firefox - 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 Article
Browsing index pages (28 articles)


Latest Images