Install & Configure macOS Monterey

Create Installation Disk In AppStore, download “Monterey”. sudo /Applications/Install\ macOS\ --volume /Volumes/Disk --nointeraction Reboot and Holding down OPTION(ALT). More Details. Installation Easy, Next, Next, Next - Appearance to Dark, Your Languages, Install Updates. Install Apps, Utils, Libs [ ! -e /usr/local/bin/brew ] && sh -c "$(curl -fsSL" && brew analytics off brew install python ansible git tig htop zsh npm # Optional: ffmpeg ImageMagick [ !

Ghid Cumparare Imobiliare - Casa / Apartament

Cuvant Inainte: Legi: Locuinta, Calitate, Executare Lucrari, Cauta ajutor platit pentru cele la care te-ai hotarat ca le-ai cumpara - mai bine sa platesti la inceput decât timp de 30 ani. Atentie la pret, ca multe verificari costa, dar nu este un echilibru intre beneficii si pret, iar seriozitate si disponibilitatea exista doar inainte de a face plata. Alte linkuri utile:,,,,, https://opensource.

Install & Configure macOS Big Sur

Create Installation Disk In AppStore, download “Big Sur”. sudo /Applications/Install\ macOS\ Big\ --volume /Volumes/Disk --nointeraction Reboot and Holding down OPTION(ALT). More Details. Installation Easy, next next next - Appearance to Dark, Your Languages, Install Updates. Install Apps, Utils, Libs [ ! -e /usr/local/bin/brew ] && /bin/bash -c "$(curl -fsSL" brew analytics off brew install ffmpeg ImageMagick python ansible git tig htop zsh npm [ !

Job Description: Security Engineer - Automation & DevSecOps?

In my opinion there is no such things as very delimited areas in Security, but rather only Security Engineering. It’s like software development, where people are trying to map their areas to frontend / backend or whatever, but in the end what actually matters is having good programmers - code is always the best. (code is king) Below, you can see my version of a “real” Security Engineering job description, that falls in to the realm of DevSecOps & Automation.

Simple Firewall, Port Knocking and DDoS Testing

Please do not run this if you don’t understand it. I don’t take any responsibility for losing access to your servers because of a too tight firewall rules. iptables with bash #!/bin/bash ### BEGIN INIT INFO # Provides: Simple Firewall for iptables # Required-Start: $local_fs $remote_fs $network # Required-Stop: $local_fs $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: start/stop/restart/status iptables-firewall ### END INIT INFO # Modified by: https://cojo.

Fix Mixed Content on HTTPS in WordPress

This can be used to fix CloudFlare Flexible SSL as well. When this plugin was written “Always HTTPS” or “Rewrite to HTTPS” features from Cloudflare weren’t available. <?php /* * Plugin Name: Fix Mixed Content on HTTPS in WordPress * Plugin URI: * Description: Fix CloudFlare Flexible SSL for all resources. * Version: 0.1 * Author: Teo * Author URI: */ // Fix redirect loop if ( isset( $_SERVER['HTTP_CF_VISITOR'] ) && strpos( $_SERVER['HTTP_CF_VISITOR'], 'https' ) !

CoreOS with PF_RING

static IP for CoreOS networkd: units: - name: contents: | [Match] Name=ens* [Network] Address=EXTERNAL_IP/32 Gateway=EXTERNAL_IP DNS= [Route] Destination=EXTERNAL_IP/32 Scope=link [Route] Gateway=EXTERNAL_IP #route add -net EXTERNAL_IP/32 netmask dev ens18 #route add default gw EXTERNAL_IP # # # # # # CoreOS Development Container . /usr/share/coreos/release . /usr/share/coreos/update.conf url="http://${GROUP:-stable}$COREOS_RELEASE_BOARD/$COREOS_RELEASE_VERSION/coreos_developer_container.bin.bz2" curl -L "$url" | tee >(bzip2 -d > coreos_developer_container.bin) sudo systemd-nspawn --bind=/lib/modules --image=coreos_developer_container.bin emerge-gitclone emerge -gKv coreos-sources gzip -cd /proc/config.

Simple Menu in Bash

#!/bin/bash pause() { read -p "[INFO] Press [Enter] key for continue..." clear return 0 } display_menu() { echo "--------------------------" echo "- WordPress Stack for CT -" echo "--------------------------" echo "1. Compile and Setup nginx" echo "2. Setup php5-fpm (chroot enabled)" echo "--------------------------" echo "4. New WordPress Host" echo "5. Remove Host" echo "9. (cache) Update WP, Plugins and binaries" echo "--------------------------" echo "0. EXIT" echo "--------------------------" return 0 } read_options() { while read -n1 -p "Enter your choice: " CHOICE do if [[ "${CHOICE}" =~ ^[0-9]+$ ]]; then break else echo -e " [ERROR] Only numbers!

Mediacenter with OpenELEC

note: this article was written in 2016. First of all I will make a list with what I used for myself, but this is not something mandatory for you. If you want to see my terminal and how I did it check my asciinema video. Hardware used Macbook Pro Raspberry 3 SDD Card 8GB Samsung (Class 10, 70MB/s). Low-cost Keyboard. (You will need it in some situations).

VirtualBox VMs without GUI (headless)

Useful commands for VirtualBox. Note: Please check if kernel updates is available from /etc/yum.conf. After install all packages you can disable kernel updates. Steps for installing VirtualBox on CentOS without GUI. sudo yum install wget dkms kernel-devel-$(uname -r) kernel-headers-$(uname -r) # Repo (for Debian please look here ) cd /etc/yum.repos.d wget # VirtualBox sudo yum install VirtualBox-4.3.x86_64 # VirtualBox: Setup sudo /etc/init.d/vboxdrv setup wget sudo VBoxManage extpack install .

View open ports without netstat or other tool

There was a requirement to not install anything else on a CentOS machine, but to discover what ports are open from the terminal. So without having netstat or any other tools I tried to find a workaround, which I will put it here for future references: # Get all open ports in hex format declare -a open_ports=($(cat /proc/net/tcp | grep -v "local_address" | awk '{ print $2 }' | cut -d':' -f2)) # Show all open ports and decode hex to dec for port in ${open_ports[*]}; do echo $((0x${port})); done

Listen YouTube in CLI / Terminal

# Install mps-youtube. sudo pip install mps-youtube # Install mpv ( brew install mpv # Put this line in your ".zshrc" or ".bashrc". alias youtube="mpsyt" # On the first run set mpv as default player. set player mpv Example of search for “mozart” keyword: /mozart Now you can listen to YouTube from terminal and you will consume less bandwidth as well.