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
diff --git a/framework.css b/framework.1.css | |
index 169f3dd..13a6819 100755 | |
--- a/framework.css | |
+++ b/framework.1.css | |
@@ -1813,7 +1813,7 @@ input[type="range"]::-webkit-slider-thumb:after{ | |
.pricing-double-1{width:48%; float:left; margin-right:4%;} | |
.pricing-double-2{width:48%; float:left;} | |
.pricing-1{border:solid 1px rgba(0,0,0,0.08); padding:20px 0px 10px 0px; background}0px;} | |
.pricing-1 *{list-style:none;} |
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
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE > backup.sql | |
docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE | gzip > backup.sql.gz | |
docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE | bzip2 > backup.sql.bz2 | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE | |
gunzip < backup.sql.gz | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE | |
bunzip2 < backup.sql.bz2 | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE |
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
### Go-SIRIS Individual Contributor License Agreement | |
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Go-SIRIS or its affiliates (“Go-SIRIS”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Go-SIRIS in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected]. | |
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions. | |
**Copyright License.** You hereby grant, and agree to grant, to Go-SIRIS a non-exclusive, perp |
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
<?php | |
$results = []; | |
foreach (range('A', 'Z') as $character) { | |
$results[$character] = []; | |
foreach (range(1, 26) as $number) { | |
$results[$character][] = $character . $number; | |
} | |
} | |
foreach ($results as $result) { | |
echo implode(', ', $result) . PHP_EOL; |
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
'front' => array( | |
'noErrorHandler' => true, | |
'throwExceptions' => true, | |
), | |
// Template-Cache | |
'template' => array( | |
'forceCompile' => true, | |
), | |
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
# http://pecl.php.net/package/APCu | |
# http://pecl.php.net/package/ZendOpcache | |
# Install ZendOpcache | |
sudo pecl install ZendOpcache-beta | |
sudo -i | |
cat > /etc/php5/mods-available/opcache.ini << EOF | |
zend_extension=/usr/lib/php5/20100525/opcache.so | |
opcache.memory_consumption=128 | |
opcache.interned_strings_buffer=8 |
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
// Authentication against a MySQL server | |
var net_utils = require('./net_utils'); | |
var mysql = require('mysql'); | |
var crypto = require('crypto'); | |
exports.register = function() { | |
this.inherits('auth/auth_base'); | |
} | |
exports.hook_capabilities = function(next, connection) { |
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 fs = require('fs'); | |
var os = require('os'); | |
var tempDir = os.tmpdir(); | |
exports.hook_queue = function(next, connection) { | |
var i; | |
var done=0; | |
var ws = []; | |
var rcpts = transaction.rcpt_to.lenght; |
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
__merge_field | |
mf.text = text | |
File "lxml.etree.pyx", line 953, in lxml.etree._Element.text.__set__ (src/lxml/lxml.etree.c:44971) | |
File "apihelpers.pxi", line 685, in lxml.etree._setNodeText (src/lxml/lxml.etree.c:20341) | |
File "apihelpers.pxi", line 1393, in lxml.etree._utf8 (src/lxml/lxml.etree.c:26460) | |
TypeError: Argument must be bytes or unicode, got 'int' |
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
import json | |
data = json.loads('[{"p_product":"ECON 101","p_qty":101,"p_tax":"19%","p_eprice":"123,99 \u20ac","p_gprice":"12.522,99 \u20ac"},{"p_product":"ECON 101","p_qty":101,"p_tax":"19%","p_eprice":"123,99 \u20ac","p_gprice":"12.522,99 \u20ac"},{"p_product":"ECON 101","p_qty":101,"p_tax":"19%","p_eprice":"123,99 \u20ac","p_gprice":"12.522,99 \u20ac"},{"p_product":"ECON 101","p_qty":101,"p_tax":"19%","p_eprice":"123,99 \u20ac","p_gprice":"12.522,99 \u20ac"}]') | |
document.merge_rows('p_product',**data) | |
# results in: | |
# |