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
# su -s /bin/bash - o1.ftp -c "rvm all do gem install --conservative ffi" | |
ERROR: Error installing ffi: | |
ERROR: Failed to build gem native extension. | |
current directory: /home/o1.ftp/.rvm/gems/ruby-2.6.0/gems/ffi-1.10.0/ext/ffi_c | |
/home/o1.ftp/.rvm/rubies/ruby-2.6.0/bin/ruby -I /home/o1.ftp/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0 -r ./siteconf20190226-7366-1mlc5gw.rb extconf.rb | |
checking for ffi_call() in -lffi... yes | |
checking for ffi_closure_alloc()... yes | |
checking for ffi_raw_call()... yes | |
checking for ffi_prep_raw_closure()... yes |
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
W: GPG error: http://repo.percona.com/apt stretch InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/repo.percona.com_apt_dists_stretch_InRelease | |
W: The repository 'http://repo.percona.com/apt stretch InRelease' is not signed. | |
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: GPG error: http://security.debian.org stretch/updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_InRelease | |
W: The repository 'http://security.debian.org stretch/updates InRelease' is not signed. | |
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. | |
N: See apt-secure(8) manpage for repository creation and user configuration details. | |
W: GPG error: http://ftp.osuosl.org/pub/mariadb/repo/10.1/debian stretch InRelease: Couldn't execute /usr/bin/apt-key |
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
####################################################### | |
### nginx Grav CMS basic configuration start | |
####################################################### | |
### | |
### Add recommended HTTP headers | |
### | |
add_header Access-Control-Allow-Origin *; | |
add_header X-Frame-Options SAMEORIGIN; | |
add_header X-Content-Type-Options nosniff; |
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
---start--- | |
find /var/www/grav-onepage -type d -exec chmod 0755 {} \; &> /dev/null | |
find /var/www/grav-onepage -type f -exec chmod 0644 {} \; &> /dev/null | |
chown -R www72:www-data /var/www/grav-onepage | |
find /var/www/grav-onepage/bin -type d -exec chmod 02755 {} \; &> /dev/null | |
find /var/www/grav-onepage/bin -type f -exec chmod 0755 {} \; &> /dev/null | |
find /var/www/grav-onepage/tmp -type d -exec chmod 02775 {} \; &> /dev/null |
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
http://example.com/admin/reports/status/run-cron?token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G&token=CRsXuGz9N6rBr9h3JzlyjQUOtra12EVmcH59HTPM02G |
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
from scrapy.spider import BaseSpider | |
from scrapy.conf import settings | |
from scrapy.http import Request | |
from random import choice | |
class DoubleIPSpider(BaseSpider): | |
name = "double_ip_test" | |
allowed_domains = ["httpbin.org"] |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<div id="revive-responsive-top" style="display: block; text-align: center;"> | |
<script type="text/javascript"> | |
adUnit = document.getElementById("revive-responsive-top"); | |
adWidth = adUnit.offsetWidth; | |
if ( adWidth >= 728 ) { | |
/* Leaderboard 728x90 */ | |
adUnit.innerHTML = '<ins data-revive-zoneid="3" data-revive-id="4689b54ec658f530f3250f4124e7f1ea"></ins>'; | |
} else { |
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 # local settings.php | |
error_reporting(E_ALL & ~E_NOTICE); | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); | |
ini_set('opcache.revalidate_freq', '1'); |
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
####################################################### | |
### nginx.conf site wp vhost include start | |
####################################################### | |
### | |
### deny crawlers without 403 response | |
### | |
if ($http_user_agent ~* (HTTrack|HTMLParser|libwww|wget) ) { | |
return 444; | |
} |
NewerOlder