Sample screenrc config file

# Scrolling buff altscreen on caption always “%{= kG}%-Lw%{= kY} %n %t %{= kG}%+Lw%{= kc}” # Putty fix # term xterm termcapinfo xterm ti@:te@ defscrollback 100000 # Fancy vbell on vbell_msg “Wee~” hardstatus on hardstatus string ‘%{= kc}%H (%l) %-21=%{= .m}%D %d.%M.%Y %0c’ # Bind F11 and F12 (NOT F1 and F2) to previous and … Read more

How to disable IPv6 on CentOS / RHEL 7

Disable IPv6 in kernel module (requires reboot) 1. Edit /etc/default/grub and add ipv6.disable=1 in line GRUB_CMDLINE_LINUX, e.g.: # cat /etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT=”console” GRUB_CMDLINE_LINUX=”ipv6.disable=1 crashkernel=auto rhgb quiet” GRUB_DISABLE_RECOVERY=”true” 2. Regenerate a GRUB configuration file and overwrite existing one: # grub2-mkconfig -o /boot/grub2/grub.cfg 3. Restart system and verify no line “inet6” in “ip addr show” … Read more

Get the multi-row tab bar back in Firefox

github.com: MrOtherGuy/firefox-csshacks github.com: Aris-t2/CustomCSSforFx C:\Users\$user\AppData\Roaming\Comodo\IceDragon\Profiles\ $profile_name .default\chrome\userChrome.css C:\Users\$user\AppData\Roaming\Mozilla\Firefox\Profiles\$profile_name.default\chrome\ userChrome.css Sample userChrome.css for Firefox on Linux: sample userChrome.css for Firefox on Windows:

ipconfig tunneling adapter

Both Teredo and ISATAP are mechanisms for IPv6 connectivity on IPv4-only networks. Since Windows 7 comes with IPv6 enabled, I wouldn’t be surprised if they were always on, just didn’t appear in ipconfig for some strange reason. (On one of my test VMs, the ISATAP adapter shows up, but not Teredo. Also strange.) ISATAP is … Read more

/bin/rm: cannot execute [Argument list too long]

The reason this occurs is because bash actually expands the asterisk to every matching file, producing a very long command line. Try this: find . -name “*.pdf” -print0 | xargs -0 rm Warning: this is a recursive search and will find (and delete) files in subdirectories as well. Tack on -f to the rm command … Read more

Mailbox export requests in Exchange 2010

Get-MailboxExportRequest to see all the requests Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest to remove the completed. Get-MailboxExportRequest | Remove-MailboxExportRequest to remove all of them http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=115 $mailboxes = get-mailbox foreach ($mailbox in $mailboxes) { new-mailboxexportrequest -mailbox $mailbox -FilePath \\server\share\$mailbox.pst }

Exchange 2010 Litigation Hold

Understanding Litigation Hold http://technet.microsoft.com/en-us/library/ee861123.aspx When a reasonable expectation of litigation exists, organizations are required to preserve electronically stored information (including e-mail) that’s relevant to the case. This expectation can occur before the specifics of the case are known, and preservation is often broad. Organizations may preserve all e-mail related to a specific topic, or all … Read more

Integrating Mac OS X with Active Directory

http://www.google.ca/url?sa=t&rct=j&q=integrating%20mac%20os%20x%20with%20active%20directory&source=web&cd=1&sqi=2&ved=0CFMQFjAA&url=http%3A%2F%2Fwww.seminars.apple.com%2Fcontactme%2Fpdf%2FL334436B_ActiveDirect_WP.pdf&ei=yXHFT-JAwY7qAZKMoakG&usg=AFQjCNF6ltaL3K8PRoGjD7PJ3m3qp4SIOg&sig2=RU8qxRDyZNHQd_3KQtBX9g&cad=rja