This file contains 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
# these are default and only there for reference | |
stages: | |
- build | |
- test | |
- deploy | |
build-my-stuff: | |
stage: build | |
script: |
This file contains 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 ruby | |
require 'date' | |
require 'sensu-plugin/check/cli' | |
class CheckValidity < Sensu::Plugin::Check::CLI | |
option :path, | |
description: 'Path to the "bsadmin" binary', | |
short: '-p /PATH/TO/BINARY', | |
long: '--path /PATH/TO/BINARY', |
This file contains 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
{ | |
"checks": { | |
"check_disk_usage": { | |
"command": "check-disk-usage.rb -p '(\\/*debug(fs)?\\/tracing)|(.*gvfs)'", | |
"handlers": [ | |
"default" | |
], | |
"interval": 60, | |
"subscribers": [ | |
"core" |
This file contains 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
# allow using only the binary name instead of the full path in check definitions | |
Defaults:sensu secure_path="/opt/sensu/embedded/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
# blindly allow all sensu-install provided checks and metrics which follow the proper naming convention | |
sensu ALL=(ALL) NOPASSWD: /opt/sensu/embedded/bin/check*.rb * | |
sensu ALL=(ALL) NOPASSWD: /opt/sensu/embedded/bin/metrics*.rb * |
This file contains 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
ghostlyrics@sweb:~/build$ make x86_64 | |
Scanning dependencies of target x86_64 | |
rm -fR /home/ghostlyrics/build/*: remove all arguments recursively [Y/n]? | |
-- Target architecture: x86/64 | |
-- The ASM compiler identification is GNU | |
-- Found assembler: /usr/bin/cc | |
-- The C compiler identification is GNU 4.9.2 | |
-- The CXX compiler identification is GNU 4.9.2 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works |
This file contains 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
fpm \ | |
-t deb \ | |
-s dir \ | |
--name "vrvu-equalizer" \ | |
--version "1.0.1" \ | |
--license "LGPL" \ | |
--vendor "ICG TU Graz" \ | |
--category "devel" \ | |
--architecture "amd64" \ | |
--maintainer "Alexander Skiba <skiba@icg.tugraz.at>" \ |
This file contains 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
void Stabs2DebugInfo::initialiseSymbolTable() | |
{ | |
function_symbols_.reserve(256); | |
// debug output for userspace symols | |
for (StabEntry const *current_stab = stab_start_; current_stab < stab_end_; ++current_stab) | |
{ | |
kprintfd("Current stab: %x\n", current_stab); | |
kprintfd("Current stab->n_value: %d\n", current_stab->n_value); |
This file contains 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
void Stabs2DebugInfo::initialiseSymbolTable() | |
{ | |
function_symbols_.reserve(256); | |
// debug output for userspace symols | |
for (StabEntry const *current_stab = stab_start_; current_stab < stab_end_; ++current_stab) | |
{ | |
kprintfd("Current stab: %x\n", current_stab); | |
if (current_stab->n_type == N_FUN || current_stab->n_type == N_FNAME) |
This file contains 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
# This is the CMakeCache file. | |
# For build in directory: /Users/ghostlyrics/tmp/build | |
# It was generated by CMake: /usr/local/Cellar/cmake/3.1.2/bin/cmake | |
# You can edit this file to change values found and used by cmake. | |
# If you do not want to change any of the values, simply exit the editor. | |
# If you do want to change a value, simply edit, save, and exit the editor. | |
# The syntax for the file is as follows: | |
# KEY:TYPE=VALUE | |
# KEY is the name of a variable in the cache. | |
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. |
This file contains 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
=> make VERBOSE=1 | |
/usr/local/Cellar/cmake/3.1.2/bin/cmake -H/Users/ghostlyrics/tmp/sweb -B/Users/ghostlyrics/tmp/build --check-build-system CMakeFiles/Makefile.cmake 0 | |
/usr/local/Cellar/cmake/3.1.2/bin/cmake -E cmake_progress_start /Users/ghostlyrics/tmp/build/CMakeFiles /Users/ghostlyrics/tmp/build/CMakeFiles/progress.marks | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/exe2minixfs/CMakeFiles/exe2minixfs.dir/build.make utils/exe2minixfs/CMakeFiles/exe2minixfs.dir/depend | |
cd /Users/ghostlyrics/tmp/build && /usr/local/Cellar/cmake/3.1.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/ghostlyrics/tmp/sweb /Users/ghostlyrics/tmp/sweb/utils/exe2minixfs /Users/ghostlyrics/tmp/build /Users/ghostlyrics/tmp/build/utils/exe2minixfs /Users/ghostlyrics/tmp/build/utils/exe2minixfs/CMakeFiles/exe2minixfs.dir/DependInfo.cmake --color= | |
Dependee "/Users/ghostlyrics/tmp/build/utils/exe2minixfs/CMakeFiles/exe2minixfs.dir/Dep |
NewerOlder