# RVM notes | |
# when updating OS versions of Xcode (or any of the C/C++ underbits) | |
# | |
# if OSx dev is ahead of HomeBrew you may need xcode beta crap from apple's | |
# download dev site. | |
# | |
# you need to rebuild rvm | |
# https://stackoverflow.com/questions/9663005/how-do-i-recompile-a-ruby-with-rvm | |
# | |
# rvm reinstall [RUBY] |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
" enable syntax highlighting | |
syntax on | |
" show line numbers | |
set number | |
" set tabs to have 4 spaces | |
"set ts=4 | |
set tabstop=4 |
These commands were taking from the talk Introduction to Advanced Bash Usage by James Pannacciulli
Updated 21 Jan 2017 06:54:53
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
#!/bin/sh | |
set -e | |
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev | |
sudo mkdir -p /usr/include/lua5.1/include | |
sudo ln -s /usr/include/luajit-2.0 /usr/include/lua5.1/include |
These are the steps our team used to get Xcode 8's Automatic Signing working for our iOS app. We felt it would be valuable to share this with the community (particularly given the effort it required us to get it working). While our research yielded some valuable information from others, it wasn't as simple as it sounded. We figured that we're not alone. 😄
For reference, these were some of the resources that proved valuable to us:
- Brief, high-level summary: Code Signing in Xcode 8 by Jay Graves
- Likely the most useful, in-depth explanation: Migrating Code Signing Configurations to Xcode 8 by Samantha Marshall
These steps presume that you have some understanding of iOS code signing and familiarity w
#!/bin/bash | |
# Install Splunk 6.2 on CentOS 7 as a non-root user service that runs on boot with | |
# systemd. This script also opens the firewall to allow syslog on UDP port 514. Since | |
# we're running Splunk as non-root, this port is then forwarded to 5514. Configuring a | |
# syslog input in slunk on UDP 514 will gather this data. Must be run as root | |
# Create Account | |
useradd splunk | |
groupadd splunk |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm