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
yum update | |
yum install -y gcc-c++ make | |
curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash - | |
npm install --unsafe-perm -g node-sass | |
type node-sass | |
npm install -g less | |
type lessc |
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
RewriteCond %{REMOTE_ADDR} !^XX\.XX\.XX\.XX$ | |
RewriteCond %{REMOTE_ADDR} !^XX\.XX\.XX\.XX$ | |
RewriteCond %{HTTP_HOST} ^(private-domain) [NC] | |
RewriteRule ^(.*)$ http://fallback-domain$1 [R=301,L] |
TITLE | URL | PUBLISHED AT | LIKES | POSITIVE INTERESTINGNESS | TOTAL REACTION | GLOBAL BUZZ | VIEWS | DISLIKES | COMMENTS |
---|---|---|---|---|---|---|---|---|---|
Google Data Center 360° Tour | https://www.youtube.com/watch?v=zDAYZU4A3w0 | 2016-03-23 18:00:33 | 18291 | 0.0062 | 0.0074 | 2731343 | 2730879 | 1366 | 464 |
Google Cloud knows athletes | https://www.youtube.com/watch?v=1T9BFEIVhrI | 2018-03-09 08:30:15 | 5453 | 0.0008 |
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 | |
cat /var/log/apache2/access.log |grep SELECT | awk '{print $1}' | sort -n | uniq -c | sort -nr | head -20 | |
cat /var/log/apache2/access.log |grep SELECT | tail |
- https://www.scalingphpbook.com/best-zend-opcache-settings-tuning-config/
- https://www.scalingphpbook.com/blog/2014/02/14/best-zend-opcache-settings.html
- https://support.acquia.com/hc/en-us/articles/360005319294-Understanding-and-Resolving-PHP-OPcache-and-OPcache-Interned-Strings-buffer-errors
- https://superuser.com/questions/969386/php-5-6-what-does-opcache-interned-string-buffers-overflow-mean/1008158#1008158
- https://bugs.php.net/bug.php?id=71135
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
package main | |
func main() { | |
panic(nil) | |
} | |
// Run with: GOTRACEBACK=2 go run main.go |
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 | |
// Writer log configuration | |
$logFolder = '/path_to_log_folder/'; | |
$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'] = array( | |
\TYPO3\CMS\Core\Log\LogLevel::EMERGENCY => array( | |
'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => array( | |
'logFile' => $logFolder . 'php_0_emergencies.log' | |
) | |
), |
TITLE | URL | PUBLISHED AT | LIKES | POSITIVE INTERESTINGNESS | TOTAL REACTION | GLOBAL BUZZ | VIEWS | DISLIKES | COMMENTS |
---|---|---|---|---|---|---|---|---|---|
Tutorial - Site Packages - Part 1 | https://www.youtube.com/watch?v=HtBmim7pc0o | 2017-11-10 15:30:00 | 74 | 0.0090 | 0.0109 | 8263 | 8247 | 0 | 16 |
Feature Demo - New TYPO3 Admin Panel | https://www.youtube.com/watch?v=8I7hRZ4VyAE | 2018-08-17 14:30:01 | 54 | 0.0417 | 0.0471 | 1302 | 1295 | 0 | 7 |
Tech Tip - TYPO3 v9 Backend Change |
TITLE | URL | LIKES | POSITIVE INTERESTINGNESS | TOTAL REACTION | GLOBAL BUZZ | VIEWS | DISLIKES | COMMENTS |
---|---|---|---|---|---|---|---|---|
GopherCon EU 2018: Peter Bourgon - Best Practices for Industrial Programming | https://www.youtube.com/watch?v=PTE4VJIdHPg | 52 | 0.0284 | 0.0284 | 1831 | 1831 | 0 | 0 |
GopherCon EU 2018: Hunter Loftis - Painting With Light | https://www.youtube.com/watch?v=hWANIFgssWg | 48 | 0.0471 | 0.0500 | 1023 | 1020 | 0 | 3 |
GopherCon EU 2018: Alessandro Arzilli - Internal Architecture of Delve, a Debugger For |