This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"label":"Klausler","fingerStart":{"1":29,"2":30,"3":31,"4":32,"5":56,"6":56,"7":35,"8":36,"9":37,"10":38,"11":56},"keyboardType":"standard","keys":[{"primary":96,"shift":126,"finger":1,"id":0},{"primary":49,"shift":33,"finger":1,"id":1},{"primary":50,"shift":64,"finger":2,"id":2},{"primary":51,"shift":35,"finger":3,"id":3},{"primary":52,"shift":36,"finger":4,"id":4},{"primary":53,"shift":37,"finger":4,"id":5},{"primary":54,"shift":94,"finger":7,"id":6},{"primary":55,"shift":38,"finger":7,"id":7},{"primary":56,"shift":42,"finger":8,"id":8},{"primary":57,"shift":40,"finger":9,"id":9},{"primary":48,"shift":41,"finger":10,"id":10},{"primary":45,"shift":95,"finger":10,"id":11},{"primary":61,"shift":43,"finger":10,"id":12},{"primary":8,"finger":10,"id":13},{"primary":9,"finger":1,"id":14},{"primary":107,"shift":75,"finger":1,"id":15,"altGr":-1,"shiftAltGr":-1},{"primary":44,"shift":60,"finger":2,"id":16,"altGr":-1,"shiftAltGr":-1},{"primary":117,"shift":85,"finger":3,"id":17,"altGr":-1,"shiftAltGr":-1},{"primary": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"label":"Arensito","fingerStart":{"1":29,"2":30,"3":31,"4":32,"5":56,"6":56,"7":35,"8":36,"9":37,"10":38,"11":56},"keyboardType":"standard","keys":[{"primary":96,"shift":126,"finger":1,"id":0},{"primary":49,"shift":33,"finger":1,"id":1},{"primary":50,"shift":64,"finger":2,"id":2},{"primary":51,"shift":35,"finger":3,"id":3},{"primary":52,"shift":36,"finger":4,"id":4},{"primary":53,"shift":37,"finger":4,"id":5},{"primary":54,"shift":94,"finger":7,"id":6},{"primary":55,"shift":38,"finger":7,"id":7},{"primary":56,"shift":42,"finger":8,"id":8},{"primary":57,"shift":40,"finger":9,"id":9},{"primary":48,"shift":41,"finger":10,"id":10},{"primary":45,"shift":95,"finger":10,"id":11,"altGr":-1,"shiftAltGr":-1},{"primary":61,"shift":43,"finger":10,"id":12,"altGr":-1,"shiftAltGr":-1},{"primary":8,"finger":10,"id":13},{"primary":9,"finger":1,"id":14},{"primary":113,"shift":81,"finger":1,"id":15,"altGr":-1,"shiftAltGr":-1},{"primary":108,"shift":76,"finger":2,"id":16,"altGr":-1,"shiftAltGr":-1},{"primary":44,"shift":60,"fin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"label":"QGMLWY","fingerStart":{"1":29,"2":30,"3":31,"4":32,"5":56,"6":56,"7":35,"8":36,"9":37,"10":38,"11":56},"keyboardType":"standard","keys":[{"primary":96,"shift":126,"finger":1,"id":0},{"primary":49,"shift":33,"finger":1,"id":1},{"primary":50,"shift":64,"finger":2,"id":2},{"primary":51,"shift":35,"finger":3,"id":3},{"primary":52,"shift":36,"finger":4,"id":4},{"primary":53,"shift":37,"finger":4,"id":5},{"primary":54,"shift":94,"finger":7,"id":6},{"primary":55,"shift":38,"finger":7,"id":7},{"primary":56,"shift":42,"finger":8,"id":8},{"primary":57,"shift":40,"finger":9,"id":9},{"primary":48,"shift":41,"finger":10,"id":10},{"primary":45,"shift":95,"finger":10,"id":11},{"primary":61,"shift":43,"finger":10,"id":12},{"primary":8,"finger":10,"id":13},{"primary":9,"finger":1,"id":14},{"primary":113,"shift":81,"finger":1,"id":15},{"primary":119,"shift":87,"finger":2,"id":16},{"primary":102,"shift":70,"finger":3,"id":17,"altGr":-1,"shiftAltGr":-1},{"primary":112,"shift":80,"finger":4,"id":18,"altGr":-1,"shiftAltG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Proper function of this script on Mac requires: | |
# install tiff 3.6.1 or newer http://www.libtiff.org/ | |
# brew install ghostscript | |
# brew install imagemagick | |
timer() | |
{ | |
if [[ $# -eq 0 ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// find . -type f -exec cat {} > ../results.txt \; | |
$data = file_get_contents('/Users/davidnorman/Sites/lowescat.txt'); | |
$original = count(explode("\n", $data)); | |
print "Original lines: ". $original; | |
print "<br />\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49,78d48 | |
< * Returns the MySQL client flag based on the defined constant | |
< * | |
< * @return integer | |
< */ | |
< function db_get_client_flag($client_flags = 0) { | |
< $flags = array( | |
< 'CLIENT_LONG_PASSWORD' => 1, /* New more secure passwords */ | |
< 'CLIENT_FOUND_ROWS' => 2, /* Found instead of affected rows */ | |
< 'CLIENT_LONG_FLAG' => 4, /* Get all column flags */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Put this into your drupal root as uninstall.sh | |
# Make it executable with $ chmod +x uninstall.sh | |
# Add it to your .gitignore $ echo uninstall.sh >> .gitignore | |
# To disable sudo to demand a password for executing this script: | |
# execute $ visudo | |
# and add the following lines with the correct paths and your own username: | |
# Cmnd_Alias D8_UNINSTALL_SCRIPT = /var/www/drupal/uninstall.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deekayen-macbook Sites/drupal-blackbox » bin/behat -dl 255 ↵ | |
Given /^(?:|I )am on (?:|the )homepage$/ | |
When /^(?:|I )go to (?:|the )homepage$/ | |
Given /^(?:|I )am on "(?P<page>[^"]+)"$/ | |
When /^(?:|I )go to "(?P<page>[^"]+)"$/ | |
When /^(?:|I )reload the page$/ | |
When /^(?:|I )move backward one page$/ | |
When /^(?:|I )move forward one page$/ | |
When /^(?:|I )press "(?P<button>(?:[^"]|\\")*)"$/ | |
When /^(?:|I )follow "(?P<link>(?:[^"]|\\")*)"$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deekayen-macbook Sites/lowessigns-blackbox ‹master*› » bin/behat -dl | |
Given /^(?:that I|I) am at "(?P[^"]*)"$/ | |
When /^I visit "(?P[^"]*)"$/ | |
When /^I click "(?P<link>[^"]*)"$/ | |
Given /^for "(?P<field>[^"]*)" I enter "(?P<value>[^"]*)"$/ | |
Given /^I enter "(?P<value>[^"]*)" for "(?P<field>[^"]*)"$/ | |
When /^I press the "(?P<button>[^"]*)" button$/ | |
Then /^I should see the link "(?P<link>[^"]*)"$/ | |
Then /^I should not see the link "(?P<link>[^"]*)"$/ | |
Then /^I (?:|should )see the heading "(?P<heading>[^"]*)"$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo touch /var/db/useLS | |
reboot |