Skip to content

Instantly share code, notes, and snippets.

View glinton's full-sized avatar

Greg glinton

View GitHub Profile
@glinton
glinton / 0.0.7
Last active May 5, 2016 15:05
DiscordCanary crashed with SIGSEGV in _XReply()
Title: DiscordCanary crashed with SIGSEGV in _XReply()
SegvAnalysis:
Segfault happened at: 0x7f73b6eb6b5d <clone+109>: mov %rax,%rdi
PC (0x7f73b6eb6b5d) ok
source "%rax" ok
destination "%rdi" ok
Stack memory exhausted (SP below stack segment)
SP (0x7f73aafb8cc0) ok
Reason could not be automatically determined.
@glinton
glinton / bundler1.7-err.md
Last active August 29, 2015 14:05
bundler 1.7 error on `bundle install --deployment`

Bundler 1.7 error

$ bundle install --deployment
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have added to the Gemfile:
* source: rubygems repository https://[email protected]/me/, https://rubygems.org/
@glinton
glinton / smart-pub.md
Last active November 20, 2024 13:32
SmartOS zone manipulation. Snapshot, image, rollback, and migrate.

SmartOS Zone Manipulation

Notes on snapshots, images, and migrations

Create Zone/KVM

# Create zone
vmadm create <<EOL
{
 "brand": "joyent",
 .

Ossec for Ubuntu

Server, agent, and web-ui

Install Ossec

# get build-essentials
apt-get install build-essential

# get server
wget http://www.ossec.net/files/ossec-hids-2.6.tar.gz
*
/ \
/ \
+_/ / / | \ \ \_+
||*|||*||
|+||*||+|
/ \
+_/ / / | \ \ \_+
||*|||*||
|+||*||+|