- no chance
- static core doesn't work due to ssl errors (probably cipher mismatch)
- building works fine once Qt4 is installed
FROM redhat/ubi8 | |
RUN yum install -y --disableplugin=subscription-manager procps | |
CMD /bin/yes |
module Main where | |
-- using http://hackage.haskell.org/package/base-4.12.0.0/docs/System-Environment.html#v:lookupEnv | |
import System.Environment | |
main :: IO () | |
main = do | |
shell <- lookupEnv "SHELL" -- System.Environment.lookupEnv take a String | |
doesnotexist <- lookupEnv "DOESNOTEXIST" | |
print (checkEnvVars shell) |
! logitech g610 multimedia keys | |
keycode 170 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume | |
keycode 92 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume | |
keycode 189 = XF86AudioPrev NoSymbol XF86AudioPrev | |
keycode 190 = XF86AudioNext NoSymbol XF86AudioNext | |
keycode 184 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause | |
keycode 207 = XF86AudioMute NoSymbol XF86AudioMute | |
keycode 147 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject |
#include <cmath> | |
#include <fstream> | |
#include <iostream> | |
#include <sys/stat.h> | |
#include <vector> | |
int32_t ascii_to_int(std::string c) { | |
int32_t rv; | |
for (size_t i=0; i<c.size(); ++i) { | |
rv <<= 8; |
#!/bin/bash | |
verbose=0 | |
arg=$1 | |
if [ "$arg" = "-h" ]; then | |
echo "Usage: $0 [OPTIONS] [FILENAME]" | |
echo -e " -h\tShow this help" | |
echo -e " -v\tverbose - show more output" | |
echo |
package main | |
import "encoding/json" | |
import "strings" | |
import "fmt" | |
type Payload struct { | |
User string | |
} | |
func asdf() { |
# all highlights done in channel #a | |
# channel #p is just something that I make active in quassel for this test, regardless if focused or not | |
# focused/unfocused means: quassel is the active/inactive window | |
# toast = tray notification window | |
# fine | |
windows unfocused | channel active: #p | toast: yes | colored channel: yes | |
linux unfocused | channel active: #p | toast: yes | colored channel: yes |
# A _init.rb file contains Ruby code that will be executed when | |
# your application boots up. Use it to extend and modify other nodes! | |
# | |
# In this simple example, we're simply adding some convenience methods to | |
# all available blog posts for easier access to specific pieces of data. | |
extend_siblings do | |
def date | |
data.date | |
end |
#!/bin/bash | |
ERR=0 | |
for f in $(git diff --name-only HEAD HEAD~1); do | |
./build/check_puppet_syntax.sh $f | |
TMP=$? | |
if [ $TMP -ne 0 ]; then | |
ERR=$(($ERR + $TMP)) | |
fi | |
done | |
exit $ERR |