Skip to content

Instantly share code, notes, and snippets.

<style>
div.gallery {
display: flex;
flex-wrap: wrap;
}
div.gallery a {
flex-grow: 1;
object-fit: cover;
margin: 2px;
display: flex;
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.css" />
[root@localhost s3-adf]# sls function deploy --debug
serverless:lib.node_modules.serverless.lib.utils.index Reading file: /root/aws-lead-import/s-project.json... +0ms
serverless:lib.node_modules.serverless.lib.Serverless Attempting to load plugin from /usr/lib/node_modules/serverless/lib/actions/ProjectCreate.js +201ms
serverless:lib.node_modules.serverless.lib.Serverless serverless.core.ProjectCreate plugin loaded +2ms
serverless:lib.node_modules.serverless.lib.Serverless Attempting to load plugin from /usr/lib/node_modules/serverless/lib/actions/ProjectInstall.js +2ms
serverless:lib.node_modules.serverless.lib.Serverless serverless.core.ProjectInstall plugin loaded +5ms
serverless:lib.node_modules.serverless.lib.Serverless Attempting to load plugin from /usr/lib/node_modules/serverless/lib/actions/ProjectInit.js +0ms
serverless:lib.node_modules.serverless.lib.Serverless serverless.core.ProjectInit plugin loaded +4ms
serverless:lib.node_modules.serverless.lib.Serverless Attempting to load plu
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/
gpgcheck=0
enabled=1
root at vagrant in ~
$ openssl s_client -showcerts -connect centos7.iuscommunity.org:443 </dev/null
CONNECTED(00000003)
depth=0 C = US, ST = Texas, L = San Antonio, O = "Rackspace US, Inc.", OU = RPM Development, CN = *.iuscommunity.org
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = US, ST = Texas, L = San Antonio, O = "Rackspace US, Inc.", OU = RPM Development, CN = *.iuscommunity.org
verify error:num=27:certificate not trusted
verify return:1
depth=0 C = US, ST = Texas, L = San Antonio, O = "Rackspace US, Inc.", OU = RPM Development, CN = *.iuscommunity.org
@marksteele
marksteele / -
Created January 29, 2016 03:46
4.5.0 vmware vm kernel config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.5.0-rc1 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
21:03:34.415 [error] CRASH REPORT Process <0.114.0> with 0 neighbours exited with reason: call to undefined function cuttlefish_variable:format(["transfer_limit"]) in application_master:init/4 line 133
21:03:34.416 [info] Application riak_core exited with reason: call to undefined function cuttlefish_variable:format(["transfer_limit"])
{"Kernel pid terminated",application_controller,"{application_start_failure,riak_core,{bad_return,{{riak_core_app,start,[normal,[]]},{'EXIT',{undef,[{cuttlefish_variable,format,[[\"transfer_limit\"]],[]},{clique_config,'-valid_mappings/2-fun-0-',3,[{file,\"src/clique_config.erl\"},{line,368}]},{lists,foldl,3,[{file,\"lists.erl\"},{line,1261}]},{clique_config,get_valid_mappings,1,[{file,\"src/clique_config.erl\"},{line,351}]},{clique_config,whitelist,1,[{file,\"src/clique_config.erl\"},{line,131}]},{riak_core_handoff_cli,register_config_whitelist,0,[{file,\"src/r
@marksteele
marksteele / gist:c65fe9797e2a42dcb1a0
Created March 19, 2015 19:52
tinc startup script mac osx
laptop1333:~ root# cat start_tinc.sh
#!/bin/bash
TITLE="TINC PASS PROMPT";
TEXT="Tinc private key password:";
IFS=$(printf "\n");
CODE=("on GetCurrentApp()");
CODE=(${CODE[*]} "tell application \"System Events\" to get short name of first process whose frontmost is true");
CODE=(${CODE[*]} "end GetCurrentApp");
CODE=(${CODE[*]} "tell application GetCurrentApp()");
@marksteele
marksteele / gist:c2002b44b005ea1fda63
Created March 13, 2015 18:29
Another riak crash
curl -v http://10.19.10.23:8098/buckets/lead_duplicate_email/keys?keys=true
* About to connect() to 10.19.10.23 port 8098 (#0)
* Trying 10.19.10.23... connected
> GET /buckets/lead_duplicate_email/keys?keys=true HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 10.19.10.23:8098
> Accept: */*
>
2015-03-13 18:27:53.455 UTC [error] <0.29303.789> gen_fsm <0.29303.789> in state initialize terminated with reason: bad arithmetic expression in riak_core_coverage_plan:create_plan/5 line 59
2015-03-13 18:27:53.455 UTC [error] <0.29303.789> CRASH REPORT Process <0.29303.789> with 0 neighbours exited with reason: bad arithmetic expression in riak_core_coverage_plan:create_plan/5 line 59 in gen_fsm:terminate/7 line 611
@marksteele
marksteele / crash.log
Created February 2, 2015 22:04
riak crash log on 1.4.2 (again)
2015-02-02 19:59:02 UTC =ERROR REPORT====
** Generic server <0.2019.0> terminating
** Last message in was {'$gen_cast',{insert_object,{<<"midway_counter">>,<<"qrwu1">>},<<131,104,7,100,0,8,114,95,111,98,106,101,99,116,109,0,0,0,14,109,105,100,119,97,121,95,99,111,117,110,116,101,114,109,0,0,0,5,113,114,119,117,49,108,0,0,0,1,104,3,100,0,9,114,95,99,111,110,116,101,110,116,104,9,100,0,4,100,105,99,116,97,4,97,16,97,16,97,8,97,80,97,48,104,16,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,106,104,1,104,16,106,106,106,106,106,106,106,106,106,106,108,0,0,0,2,108,0,0,0,27,109,0,0,0,12,99,111,110,116,101,110,116,45,116,121,112,101,97,97,97,112,97,112,97,108,97,105,97,99,97,97,97,116,97,105,97,111,97,110,97,47,97,114,97,105,97,97,97,107,97,95,97,112,97,110,97,99,97,111,97,117,97,110,97,116,97,101,97,114,106,108,0,0,0,22,109,0,0,0,11,88,45,82,105,97,107,45,86,84,97,103,97,57,97,55,97,98,97,48,97,97,97,77,97,111,97,97,97,120,97,101,97,112,97,113,97,50,97,51,97,110,97,57,97,121,97,52,97,80,97,84,97,103,10