Skip to content

Instantly share code, notes, and snippets.

View avongluck-r1soft's full-sized avatar

Alexander von Gluck IV - R1Soft Employee Account avongluck-r1soft

View GitHub Profile
diff --git a/headers/private/kernel/arch/generic/debug_uart_8250.h b/headers/private/kernel/arch/generic/debug_uart_8250.h
index e7f211f2a5..57b9557e55 100644
--- a/headers/private/kernel/arch/generic/debug_uart_8250.h
+++ b/headers/private/kernel/arch/generic/debug_uart_8250.h
@@ -33,7 +33,8 @@ public:
};
-extern DebugUART8250 *arch_get_uart_8250(addr_t base, int64 clock);
+extern DebugUART8250 *arch_get_uart_8250(addr_t base, int64 clock,
cat irqCleanup.sh
#!/bin/bash
INDEX="$1"
QUERY="message:affinity_hint"
echo -e "\n*** Enable Writes"
curl -XPUT "http://localhost:9200/$INDEX/_settings" -d '{"index" : { "blocks.write" : false } }' || exit 1
echo -e "\n*** Delete Data"
curl -XDELETE "http://localhost:9200/$INDEX/_query?q=$QUERY" || exit 1
#!/bin/bash
INDEX="$1"
QUERY="message:affinity_hint"
echo -e "\n*** Enable Writes"
curl -XPUT "http://localhost:9200/$INDEX/_settings" -d '{"index" : { "blocks.write" : true } }' || exit 1
echo -e "\n*** Delete Data"
curl -XDELETE "http://localhost:9200/$INDEX/_query?q=$QUERY" || exit 1
#curl -XGET "http://localhost:9200/$INDEX/_search?q=$QUERY" || exit 1
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module R1perf
class Application < Rails::Application
diff --git a/app/assets/javascripts/agents.coffee b/app/assets/javascripts/agents.coffee
index b5ca5cb..22c5059 100644
--- a/app/assets/javascripts/agents.coffee
+++ b/app/assets/javascripts/agents.coffee
@@ -2,7 +2,7 @@
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
-$(".agents.index").ready ->
+$(".agents.index").on 'ready page:load', ->