docker ps -aq | foreach {docker rm $_}
#!/bin/bash | |
if [ $# -eq 0 ] | |
then | |
echo "No arguments supplied!" | |
echo "Usage:" | |
echo "./nmap_to_html <IP Range>" | |
exit 1 | |
fi |
Weeks of programming can save you hours of planning.
Indeed, the ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code. ...[Therefore,] making it easy to read makes it easier to write.
Clean code is not written by following a set of rules. You don’t become a software craftsman by learning a list of heuristics. Professionalism and craftsmanship come from values that drive disciplines.
And last but not least sometimes i am reading my old code and get the feeling my past-self hates my future-self.
1.1 Explore Visible Content
#!/bin/bash | |
echo "Start Installation" | |
sudo true | |
sudo apt update | |
if [ $? -eq 0 ]; then | |
echo "Updated sucessfully" | |
else | |
echo "Failed" | |
exit 1 |
import os
from datetime import datetime
import pandas as pd
from xlsxwriter.workbook import Workbook
import csv
Query 13.11.19 - 86 Results
inurl:/elfinder/elfinder.html+intitle:"elFinder 2.0"
Only one client in the network had a bad internet speed. Searched a lot. A hope this helps someone.
Open Powershell as administrator
Input: netsh int tcp show global
version: '3' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1 | |
container_name: elastic_search | |
environment: | |
- node.name=es01 | |
- discovery.type=single-node | |
- http.cors.enabled=true | |
- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358 |