Skip to content

Instantly share code, notes, and snippets.

View amdprophet's full-sized avatar
🏠
Working from home

Justin Kolberg amdprophet

🏠
Working from home
View GitHub Profile
List all services
-bash-4.2# lssrc -a
Subsystem         Group            PID          Status
 syslogd          ras              2687062      active
 sendmail         mail             3080290      active
 portmap          portmap          1310806      active
@amdprophet
amdprophet / frontendDevlopmentBookmarks.md
Created August 18, 2016 03:09 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@amdprophet
amdprophet / fast.md
Created June 21, 2016 05:08 — forked from mfikes/fast.md
Fast Clojure REPL

An experimental change for fast Clojure REPL startup:

  1. Download the JAR: clojure-1.8.0-fast.jar
  2. Launch it via java -jar clojure-1.8.0-fast.jar

The code used to create this JAR is on GitHub.

What's it doing?

It is:

-bash-4.2# installp -ld sensu-0.22.2+20160331162454-1.powerpc.bff
Fileset Name Level I/U Q Content
====================================================================
sensu 0.22.2.1 I N usr,root
# The full stack of sensu
--- ruby-2.1.5/ext/socket/raddrinfo.c.orig Fri Mar 20 13:53:18 2015
+++ ruby-2.1.5/ext/socket/raddrinfo.c Fri Mar 20 13:53:34 2015
@@ -8,6 +8,39 @@
************************************************/
+/* Linux kernel socket model compat defs.
+ AIX/Solaris/HP-UX all use an alternate
+ interface called DLPI. See the below and
+ libpcap's pcap-dlpi.c for more info:
Bindable_t::Bindable_t()
{
rb_eval_string("$stdout.write(\"Bindleable_t()\n\")");
Binding = Bindable_t::CreateBinding();
rb_eval_string("$stdout.write(\"After CreateBinding()\n\")");
BindingBag[Binding] = this;
//BindingBag.insert ( std::pair<uintptr_t, Bindable_t*>(Binding, this) );
rb_eval_string("$stdout.write(\"After BindingBag\n\")");
}
compiling ripper.c
parse.c: In function `yy_reduce_print':
parse.c:4597: error: `parser' undeclared (first use in this function)
parse.c:4597: error: (Each undeclared identifier is reported only once
parse.c:4597: error: for each function it appears in.)
parse.c: In function `yysymprint':
parse.c:4723: error: `parser' undeclared (first use in this function)
*** Error code 1
The following command caused the error:
gcc -I. -I../../.ext/include/sparc-solaris2.10 -I../.././include -I../.././ext/ripper -I../.. -I../../. -DRUBY_EXTCONF_H=\"extconf.h\" -std=iso9899:1999 -D_XOPEN_SOURCE=60
--- ruby-2.3.0/configure.orig 2016-03-09 13:54:46.837241733 -0800
+++ ruby-2.3.0/configure 2016-03-09 13:56:14.837243314 -0800
@@ -7419,6 +7419,8 @@
test $ac_cv_safe_to_define___extensions__ = yes &&
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
+ $as_echo "#undef _ALL_SOURCE" >>confdefs.h
+
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: postgresql
pool: 5
timeout: 5000
diff --git public/js/controllers.js public/js/controllers.js
index 7e6979d..0f27189 100644
--- public/js/controllers.js
+++ public/js/controllers.js
@@ -200,6 +200,15 @@ controllerModule.controller('events', ['$scope', '$routeParams','routingService'
$scope.pageHeaderText = 'Events';
$scope.predicate = '-check.status';
+ // Helpers
+ $scope.trackName = function(event) {