This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started POST "/analytics/shell" for 192.168.1.101 at Mon Jul 30 06:10:37 -0400 2012 | |
Processing by AnalyticsController#shell as */* | |
Parameters: {"cmd"=>"stream('50155c10bb705c5375000007').count()"} | |
Error while computing shell command: illegal ObjectId format/usr/lib64/ruby/gems/1.8/gems/bson-1.3.1/lib/../lib/bson/types/object_id.rb:129:in `from_string' | |
/usr/lib64/ruby/gems/1.8/gems/bson-1.3.1/lib/../lib/bson/types/object_id.rb:26:in `ObjectId' | |
/opt/graylog2-web-interface/app/models/stream.rb:39:in `find_by_id' | |
/opt/graylog2-web-interface/app/models/shell.rb:84:in `parse_stream_narrows' | |
/opt/graylog2-web-interface/app/models/shell.rb:78:in `each' | |
/opt/graylog2-web-interface/app/models/shell.rb:78:in `parse_stream_narrows' | |
/opt/graylog2-web-interface/app/models/shell.rb:57:in `parse' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: logstash | |
Version: 1.1.12 | |
Release: 1%{?dist} | |
Summary: logstash is a tool for managing events and logs | |
Group: System/Logging | |
License: ASL 2.0 | |
URL: http://logstash.net/ | |
Source0: http://semicomplete.com/files/logstash/logstash-%{version}-monolithic.jar | |
Source1: logstash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Composer wrapper script that checks whether composer is installed in the system. If not - install it to bin folder of this script | |
# Idea is taken from gradle and gradlew that I've been struggling with during this weekend | |
# author - Alex Vasilenko http://github.com/mente | |
# Exit on any failure | |
set -e | |
#http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in | |
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
defaultConfig { | |
versionName "actionbar" | |
} | |
signingConfigs { | |
release { | |
storeFile file("android.keystore") | |
... | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
defaultConfig { | |
versionName "actionbar" | |
} | |
signingConfigs { | |
release { | |
storeFile file("android.keystore") | |
... | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:+' | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
dxPath="/Applications/Android Studio.app/sdk/build-tools/android-4.4/dx" | |
jarDir=build/pre-dexed/debug | |
rm temp.dex | |
sum=0 | |
line='-----------------------------------------------------------------------------------------------------------------------' | |
for file in $jarDir/*.jar; do | |
"$dxPath" --dex --output=temp.dex $file |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: No Fortran optimization information was provided. You may want to consider | |
setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to | |
`brew install` if your compiler is compatible with GCC. | |
If you like the default optimization level of your compiler, ignore this | |
warning. | |
Warning: No Fortran optimization information was provided. You may want to consider | |
setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to | |
`brew install` if your compiler is compatible with GCC. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config({ | |
waitSeconds: 15, | |
baseUrl: '/js', | |
paths: { | |
templates: '../templates', | |
knockout: 'libs/knockout', | |
'jquery.ui.widget': 'libs/ui/widget', | |
'jquery.ui.sortable': 'libs/ui/sortable', | |
core: 'libs/ui/core', | |
mouse: 'libs/ui/mouse', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Table | |
CREATE TABLE `departments` ( | |
`in` int(11) unsigned NOT NULL, | |
`out` int(11) unsigned NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 | |
#Via JOIN | |
SELECT i.count + o.count as total, i.in | |
FROM | |
( |