Before installing a new hard drive, use the following steps to detect any IMF issues.
- Install badblocks tool.
brew install e2fsprogs
brew ln --force e2fsprogs
Before installing a new hard drive, use the following steps to detect any IMF issues.
brew install e2fsprogs
brew ln --force e2fsprogs
import sys | |
import click | |
MIN_DIGITS = 2 | |
MAX_DIGITS = 3 | |
@click.command() | |
@click.argument('version') |
if [ -n "${DISPLAY+x}" ]; then
xmodmap -e "keycode 62 = Up"
xmodmap -e "keycode 111 = Shift_R"
xmodmap -e "add shift = Shift_R"
xset r 62
xset -r 111
xmodmap -e "keycode 66 = Control_L"
xmodmap -e "clear Lock"
xmodmap -e "add Control = Control_L"
"The requested URL /mythweb/mythweb.pl/pl/stream/2199/1399343400 was not found on this server."
Requesting just /mythweb/mythweb.pl
would download the PERL script, indicating that CGI wasn't working. To get it working, I needed to make the following changes:
sudo ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/cgi.load
/etc/apache2/mods-available/mime.conf
, add:AddHandler cgi-script .cgi .pl
KeePass is a password management utility for Windows, Linux, and Mac.
The first section describes the steps needed to setup KeyPass2 in Linux and how to add FireFox and Chrome plugin integrations.
The (optional) second section documents a robust way to automatically synchronize the password DB across multiple devices.
I hereby claim:
To claim this, I am signing this object:
This is a working example of a Perforce submit-change trigger that can run checks on new files and new or modified lines of code.
Tested on Python2 in Linux and Windows. It does not require the P4Python API, which would probably be a little cleaner, but makes it less portable.
The install instructions are below in the Python file. Before using, the hard-coded P4 user value builds
must be created on your server, or changed to a valid user. To prevent having to set the user password in the script, the builds
user must be part of a group with the Timeout
field set to unlimited
to allow for the user to remain logged in on the server.
Use this Gradle plugin to directly access the DeploymentDescriptor class internal to the EAR plugin.
// custom Gradle task for creating EAR deployment descriptors (i.e. application.xml)
// author: [email protected]
import org.gradle.api.*
import org.gradle.api.file.*
import org.gradle.api.tasks.*