Skip to content

Instantly share code, notes, and snippets.

View development.rb
# Podio
config.podio_client_id = ENV["PODIO_CLIENT_ID"]
config.podio_client_secret = ENV["PODIO_CLIENT_SECRET"]
config.podio_username = ENV["PODIO_USERNAME"]
config.podio_password = ENV["PODIO_PASSWORD"]
# HelpScout
config.helpscout_secret_key = ENV["HELPSCOUT_SECRET_KEY"]
# Only run if this flag is set. The flag is created by the yum-cron init
# script when the service is started -- this allows one to use chkconfig and
# the standard "service stop|start" commands to enable or disable yum-cron.
if [[ ! -f /var/lock/subsys/yum-cron ]]; then
exit 0
# Action!
View yum update
yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base:
* epel:
* extras:
* updates:
Resolving Dependencies
--> Running transaction check
---> Package GeoIP.x86_64 0:1.5.0-11.el7 will be updated
View gist:0472c3aafcbaacda3f2363f9af22ac8f
- name: restart named-chroot
name: named-chroot
daemon_reload: yes
state: restarted
- name: ensure named-chroot is started
name: named-chroot
enabled: true
xdpyinfo -ext XINERAMA | sed '/^ head #/!d;s///' |
while IFS=' :x@,' read i w h x y; do
import -window root -crop ${w}x$h+$x+$y $HOME/tmp/head_$i.png
View nginx.conf
server {
listen 443 http2;
index none;
location ~ /\. {
deny all;
server {
listen 80;
location /helpscout.podio {
proxy_pass http://localhost:3000/todo;
View error
INFO[0036] Translating "denied: requested access to the resource is denied" to "repository not found: does not exist or no pull access"
ERRO[0278] Handler for GET /v1.22/networks/riseapihub_default returned error: network riseapihub_default not found
ERRO[0278] Handler for GET /v1.22/images/synacy/rise-api-hub:latest/json returned error: No such image: synacy/rise-api-hub:latest
ERRO[0314] containerd: start container error=shim error: docker-runc not installed on system id=163dc88484bcbb1e1d91903d143d30211204c4c2aa4bd3539b16d5df51f6d933
ERRO[0314] containerd: deleting container error=exec: "docker-runc": executable file not found in $PATH: ""
View Gemfile
actioncable (5.2.3)
actionpack (= 5.2.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.3)
actionpack (= 5.2.3)
actionview (= 5.2.3)
View output
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/bundle/gems/openssl-2.1.2/ext/openssl
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.4.0 -r ./siteconf20190328-8-1cl37f1.rb extconf.rb
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for openssl/ssl.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
You can’t perform that action at this time.