Skip to content

Instantly share code, notes, and snippets.

Avatar

Spencer Hill s3w47m88

View GitHub Profile
View gist:7847c99dc810a17ab8655c86a73962d9
[2020-01-27 00:34:47,753] [pool-3-thread-1] INFO s.s.Scheduler - last version 2.11.0 | current version 2.10.0
[2020-01-27 05:00:23,601] [pool-4-thread-1] DEBUG s.s.CronService - starting google task via cron
[2020-01-27 05:00:23,603] [Thread-151] INFO c.s.s.t.AbstractTask - task started for module GOOGLE of day 2020-01-27 (new task)
[2020-01-27 05:00:24,173] [Thread-151] DEBUG c.s.s.d.CaptchaSolverFactoryImpl - anticaptcha : remaining credit 4.89892
[2020-01-27 05:00:25,490] [Thread-151] DEBUG c.s.s.d.CaptchaSolverFactoryImpl - 2captcha : remaining credit 10.0
[2020-01-27 05:00:25,869] [Thread-151] INFO c.s.s.s.c.s.RandomCaptchaSolver - solvers : [2captcha,anticaptcha]
[2020-01-27 05:00:25,873] [Thread-151] INFO c.s.s.t.g.GoogleTask - 162 searches to do
[2020-01-27 05:00:25,884] [Thread-151] WARN c.s.s.t.g.GoogleTask - no proxy configured, using direct connection
[2020-01-27 05:00:25,884] [Thread-151] INFO c.s.s.t.g.GoogleTask - less proxy (1) than max thread (3), setting thread number to 3
[2020-01-27
View gist:115688a7ecd5a8c762bd3f98932756b2
Your mail message to the following address(es) could not be delivered.
This is a permanent error. Please verify the address(es) and try again.
<personIsentTo@gmail.com>:
74.125.142.26 failed after I sent the message.
Remote host said: 550-5.7.1 Unauthenticated email from mydomain.com is not accepted due
550-5.7.1 to domain's DMARC policy. Please contact the administrator of
550-5.7.1 mydomain.com domain if this was a legitimate mail. Please
550-5.7.1 visit
550-5.7.1 https://support.google.com/mail/answer/2451690 to learn about the
@s3w47m88
s3w47m88 / gist:9b62ceedad8fb97e041e768fef5c94f8
Last active Feb 6, 2019
Default MAMP NGinx Configuration file + WordPress (Not Working)
View gist:9b62ceedad8fb97e041e768fef5c94f8
#load_module "modules/ngx_http_image_filter_module.so";
#load_module "modules/ngx_http_perl_module.so";
#load_module "modules/ngx_http_xslt_filter_module.so";
#load_module "modules/ngx_mail_module.so";
#load_module "modules/ngx_stream_module.so";
user s3w47m88 staff;
worker_processes 2;
events {
@s3w47m88
s3w47m88 / gist:14ba451488b7c10003b108a50802717a
Created Feb 6, 2019
MAMP Configuration File + WordPress Pemalinks (Not Working)
View gist:14ba451488b7c10003b108a50802717a
#load_module "modules/ngx_http_image_filter_module.so";
#load_module "modules/ngx_http_perl_module.so";
#load_module "modules/ngx_http_xslt_filter_module.so";
#load_module "modules/ngx_mail_module.so";
#load_module "modules/ngx_stream_module.so";
user s3w47m88 staff;
worker_processes 2;
events {
@s3w47m88
s3w47m88 / gist:ccdd3341e5fce8d9a4b21a98ef925204
Created Feb 6, 2019
Default MAMP NGinx.conf file located at /Applications/MAMP/conf/nginx/nginx.cong
View gist:ccdd3341e5fce8d9a4b21a98ef925204
#load_module "modules/ngx_http_image_filter_module.so";
#load_module "modules/ngx_http_perl_module.so";
#load_module "modules/ngx_http_xslt_filter_module.so";
#load_module "modules/ngx_mail_module.so";
#load_module "modules/ngx_stream_module.so";
user s3w47m88 staff;
worker_processes 2;
events {
@s3w47m88
s3w47m88 / gist:e56431d58808180c9ff7e4ee962e03a6
Created Feb 2, 2019
Docker Composer with Laravel deploying Firefly Failing on DB Connection
View gist:e56431d58808180c9ff7e4ee962e03a6
root@firefly:~# docker-compose -f docker-compose.yml up -d
Creating network "root_firefly_iii_net" with driver "bridge"
Creating volume "root_firefly_iii_db" with default driver
Creating volume "root_firefly_iii_export" with default driver
Creating volume "root_firefly_iii_upload" with default driver
Pulling firefly_iii_db (postgres:10)...
10: Pulling from library/postgres
5e6ec7f28fb7: Pull complete
5e2aec55a5ab: Pull complete
966624e73f54: Pull complete
View gist:df55cc04b6e04181f66b2d9378cead7b
if( have_rows('tt_front_page_image_calls_to_action_right_column_images') ):
$count = 1;
if ( $count % 6 == 1 ) {
$value = "myClass";
} else if ( $count % 6 == 4 ) {
$value = "myClass";
} else {
$value = '';
}
View gist:f87deff38801f17e51be378f86482307
if( have_rows('tt_front_page_image_calls_to_action_right_column_images') ):
$count = 1;
if ( $count % 6 == 1 ) {
$value = "myClass";
} else if ( $count % 6 == 4 ) {
$value = "myClass";
} else {
$value = '';
}
View gist:e6ed1ec6838cdeeaa2ed97afbe11ea43
var gulp = require('gulp');
var pug = require('gulp-pug');
var less = require('gulp-less');
var minifyCSS = require('gulp-csso');
var concat = require('gulp-concat');
var sourcemaps = require('gulp-sourcemaps');
var gulp = require('gulp'),
watch = require('gulp-watch');
gulp.task('css', function(){
View gist:9cf25714a051c17758415fc390cc9ffd
➜ ~ python --version
Python 2.7.10
➜ ~ ansible --version
ansible 2.5.4
config file = None
configured module search path = [u'/Users/s3w47m88/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/2.5.4/libexec/lib/python2.7/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.15 (default, May 1 2018, 16:44:08) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
➜ ~ brew install python