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
FROM cyberduck/php-fpm-laravel:latest | |
# Arguments defined in docker-compose.yml | |
ARG user | |
ARG uid | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
git \ | |
curl \ |
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
#for logging useful message during script execution | |
log() { | |
echo "[+] $1" | |
} | |
install() { | |
log "Installing Suricata 5 for Linux..." | |
sudo apt-get update -y | |
#to download suricata source | |
sudo apt-get install -y wget |
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
import datetime | |
print('This program will tell you the year where you will be 100 years old.') | |
name = input("Enter your name: ") | |
age = int(input("Enter your age: ")) | |
now = datetime.datetime.now() | |
year = str((now.year - age) + 100) | |
rand_num = int(input("Please enter any number: ")) | |
print(str(rand_num * name), "\n", "will be 100 years old in {}".format(year)) |
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
import javax.swing.JFrame; | |
public class MainActivity { | |
public static void main(String[] args) throws Exception { | |
JFrame welcomeFrame = new Welcome(); | |
} |