Skip to content

Instantly share code, notes, and snippets.

John Nelson ceesco53

Block or report user

Report or block ceesco53

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ceesco53 /
Last active Nov 8, 2019 — forked from zmb3/
Backup/Restore Concourse DB
# from Concourse DB VM:
# /var/vcap/packages/postgres-9.6.8/bin/psql -U vcap -d atc
# \l
# backup
cd /var/vcap/packages/postgres-9.6.8/bin
./pg_dump -U vcap -d atc --format=c --schema-only --file=concourse-schema.sql
./pg_dump -U vcap -d atc --format=c --data-only --file=concourse-data.sql
# restore
View gist:28c060e68824d0275e57095f783b722e
"client_id": "sso-temp-cf-client",
"client_secret": "'${CF_CLI_CLIENT_SECRET}'",
"authorized_grant_types": ["client_credentials"],
"authorities": ["cloud_controller.admin"],
"access_token_validity": 1209600,
"refresh_token_validity": 1209600

View bloat sql
WITH constants AS (
SELECT current_setting('block_size')::numeric AS bs, 23 AS hdr, 4 AS ma
), bloat_info AS (
(datawidth+(hdr+ma-(case when hdr%ma=0 THEN ma ELSE hdr%ma END)))::numeric AS datahdr,
(maxfracsum*(nullhdr+ma-(case when nullhdr%ma=0 THEN ma ELSE nullhdr%ma END))) AS nullhdr2
schemaname, tablename, hdr, ma, bs,
View jmeter-tornado-mode.yml
name: jmeter-tornado
- name: jmeter-tornado
version: 2.1.1
url: git+
- alias: default
View error
Hash: 347cee980a7f9c95a72a
Version: webpack 2.2.1
Time: 3977ms
Asset Size Chunks Chunk Names
bundle.js 1.62 MB 0 [emitted] [big] main 2.05 MB 0 [emitted] main
assets/icons.svg 3.34 kB [emitted]
[5] ./~/react/react.js 56 bytes {0} [built]
[6] ./lib/utils/plugins.js 9.34 kB {0} [built]
[18] ./lib/rpc.js 57 bytes {0} [built]
View moonlight.conf
arm_freq=900 sdram_freq=450 over_voltage_avs=0x1b774 hdmi_drive=2 hdmi_force_hotplug=1 disable_overscan=1 framebuffer_width=1920 framebuffer_height=1080 framebuffer_depth=16 disable_l2cache=1 program_serial_random=1 config_hdmi_boost=4 disable_commandline_tags=2 emmc_pll_core=1 hdmi_ignore_edid=0xa5000080 hdmi_force_cec_address=65535 ignore_lcd=1 framebuffer_ignore_alpha=1 framebuffer_swap=1 disable_splash=1 arm_control=0xa5800010 temp_limit=85 force_pwm_open=1 pause_burst_frames=1 second_boot=1 avoid_fix_ts=1
sudo apt-get install libasound2-dev libopus-dev cec-utils libevdev-tools libevdev-dev libudev-dev libcurl4-openssl-dev libssl-dev libavahi-client-dev build-essential libcec3 libcec-dev libcec-platform1v5
git clone
cd moonlight-embedded
git submodule init && git submodule update
mkdir build
cd build
cmake ../
sudo make install
sudo echo '/usr/local/lib' > /etc/
# Copyright 2013 Ilia Mirkin.
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
View install oh my zsh in homestead
sudo apt-get install zsh -y
git clone git:// /home/vagrant/.oh-my-zsh
cp /home/vagrant/.oh-my-zsh/templates/zshrc.zsh-template /home/vagrant/.zshrc
sudo chsh -s /usr/bin/zsh vagrant
sed -i 's/robbyrussell/agnoster/g' /home/vagrant/.zshrc
ceesco53 /
Created Sep 1, 2015 — forked from JeffreyWay/
Super-fast LAMP + 5.5 install script.
sudo apt-get update
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
sudo apt-get install -y vim curl python-software-properties
sudo add-apt-repository -y ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt php5-readline mysql-server-5.5 php5-mysql git-core php5-xdebug
You can’t perform that action at this time.