info: will only work for systems that use apache2 like most linux ones (path to httpd.conf may vary depending on OS)
check if httpd.conf
exists
ls /etc/apache2/httpd.conf
open it and scroll to bottom of file:
info: will only work for systems that use apache2 like most linux ones (path to httpd.conf may vary depending on OS)
check if httpd.conf
exists
ls /etc/apache2/httpd.conf
open it and scroll to bottom of file:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Use this script to test if a given TCP host/port is available | |
WAITFORIT_cmdname=${0##*/} | |
echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi } | |
usage() | |
{ | |
cat << USAGE >&2 |
class Fibonacci(number: Int = 100) { | |
val sequence = mutableListOf(0, 1, 1) | |
val isPartOfSequence by lazy { sequence.contains(number) } | |
init { | |
require(number <= 0) { "Only positive integers allowed in Fibonacci sequence." } | |
if (number > 1) { | |
var old = 1; var current = 1; var next: Int | |
while (current + (current / 2) <= number) { |
# A shell alias is a shortcut to reference a command. | |
# It can be used to avoid typing long commands or as a means to correct incorrect input. | |
# Personally i really like to use the z-shell (ZSH), you can find plugins that provide | |
# aliases for certain tools. | |
# This Gist is a collection of aliases i wrote over the time and found them handy |