This file contains hidden or 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
table gdpr_countries { | |
"AT": "Austria", | |
"BE": "Belgium", | |
"BG": "Bulgaria", | |
"HR": "Croatia", | |
"CY": "Republic of Cyprus", | |
"CZ": "Czech Republic", | |
"DK": "Denmark", | |
"EE": "Estonia", | |
"FI": "Finland", |
This file contains hidden or 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 | |
if [[ `git log -1 --pretty=%B` == *"[hotfix]"* ]]; then | |
echo "HOTFIX!" | |
else | |
echo "NOT HOTFIX!" | |
fi |
This file contains hidden or 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
require "jekyll-import" | |
JekyllImport::Importers::WordpressDotCom.run({ | |
"source" => "wp-export.xml" | |
}) |
This file contains hidden or 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
# Call with rake app:db:reset | |
namespace :app do | |
namespace :db do | |
# Patches seed_migration issue #22 | |
desc "Reset database incl. seeding migration" | |
task :reset => :environment do | |
puts "Resetting database..." | |
begin |
This file contains hidden or 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
/(\}\.form-group>\.form-control\{)(.[^}]+)(?:font-family:([^,;}]+))/i |
This file contains hidden or 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
Array.prototype.compare = function(array) { | |
if (!array) { | |
return false; | |
} | |
if (this.length !== array.length) { | |
return false; | |
} | |
for (var i = 0, l = this.length; i < l; i++) { | |
if (this[i] instanceof Array && array[i] instanceof Array) { | |
if (!this[i].compare(array[i])) { |
This file contains hidden or 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 | |
KEPT_RELEASES=5 | |
CWD=/Users/ain/temp | |
# Check for Bash config | |
# On FreeBSD/OS X GNU ls is required for -v option | |
if [ -f ~/.bashrc ]; then | |
shopt -s expand_aliases | |
source ~/.bashrc |
This file contains hidden or 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
var emailRegex = /^([\wäöüÜÖÄß])+(([\.]{0,1}[\wäöüÜÖÄß])?)*(([\+]{0,1}[\wäöüÜÖÄß])?)*([\wäöüÜÖÄß-])*\@([\wäöüÜÖÄß-]+\.)+([\w]{2,})+$/; |
This file contains hidden or 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
<key>Roman-Accent-Q</key> | |
<dict> | |
<key>Direction</key> | |
<string>right</string> | |
<key>Keycaps</key> | |
<string>` ^ ° • ★ “ ”</string> | |
<key>Strings</key> | |
<string>` ^ ° • ★ “ ”</string> | |
</dict> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<pre><?php print_r($_REQUEST); ?></pre> | |
</body> | |
</html> |
NewerOlder