Arithmetic in Makfile
RESULT := $(shell echo 60*60*24*3 | bc)
result:
@echo $(RESULT)
Arithmetic in Makfile
RESULT := $(shell echo 60*60*24*3 | bc)
result:
@echo $(RESULT)
Useful top interactive command
zxc1
Redis wont startup, after some investigation we found some misconfiguration of the eviction policies.
old setting volatile-lru will only works if TTL is set from the client side
In our case client is the docker registry, therefore a better eviction policy is required for our redis
allkeys-lru would be a better candidate in this case.
useful information regarding to running your own gem server
sleep 1; open "spotify:track:7f0jXNMu2xjQUtmKMuWhGA#01:20"
This is something that I do all the time but I always get it wrong....
Navigate to ~/.ssh/
Run below command and follow the prompt
ssh-keygen -t rsa
The following links has a table which specify the valid configuration for each of the different configuration files in the splunk-forwarder, indexer and searchhead
https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F
In hiera, when encounter a percentage symbol, it will try to interpolate it. In order to stop it from happening, make sure you quote the value
TIME_FORMAT: '%d/%m/%Y %H:%M:%S'
Get all version for a particular package in yum
yum --showduplicates list <package name> | expand
object_name.methods
object_name.inspect