Skip to content

Instantly share code, notes, and snippets.

View SethCalkins's full-sized avatar

Seth Calkins SethCalkins

View GitHub Profile

So Server, tell me about yourself. An introduction to facter, osquery and sysdig

Introduction

Linux and Unix have always had powerful, low level tools capable of telling you exactly what your computer system is doing (strace, DTrace, systemtap, top, ps). But these tools often have complex user interfaces, and platform differences, that mean not everyone has the time to master them. This article is all about several new tools that aim to not just be powerful debugging tools, but to provide a pleasant user interface too.

Facter is a simple inventory application providing a single, cross-platform interface to a range of structured data about your system. Everything; from network interfaces to available hardware and operating system version is available.

osquery is a new open source tool from Facebook that exposes low level details of your system via a familiar SQL interface. Want to query for processes listening on a given network interface? Or for

@TreyCai
TreyCai / Recommanded_mac_apps.md
Last active April 19, 2024 16:10
Recommanded Mac OS X Apps
TODO: Add price informations
TODO: Add App Store Addresses

System Tools


###Chrome

One browser for your computer, phone and tablet

@vertexclique
vertexclique / cracking.md
Last active February 22, 2025 13:20
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

@varemenos
varemenos / oh-my-zsh-applications.zsh
Last active July 11, 2016 17:05
oh-my-zsh Application Aliases
alias ls='ls -X -h --group-directories-first --color'
alias grep='grep --color=auto'
alias gedit='subl'
alias g='git'
@mlawrie
mlawrie / ssl_setup_example.sh
Last active October 18, 2018 12:49
Create an SSL Certificate Signing Request on OSX with wildcard and alternate names
# First, generate the key. You will be prompted to enter a password, but we will strip it out in the next step:
openssl genrsa -des3 -out server.orig.key 2048
# Then, stip out the password:
openssl rsa -in server.orig.key -out server.key
# Edit the OSX openssl config file to include your alternate names.
# Edit the 'subjectAltName' field. E.g.:
@jebaird
jebaird / hosts to ip host
Last active June 3, 2024 14:18
generate ip host config list form the host file at http://someonewhocares.org/hosts/ . Useful for blocking adds, spyware and shocks sites for whole networks
<?php
/*
* Hosts to ip host
*
* @author Jesse Baird <[email protected]>
* @date 12/21/2012
*
* Licensed under The MIT License
* http://opensource.org/licenses/MIT
*
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active April 14, 2025 11:07
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh