Install & Configure macOS Catalina

Create Installation Disk Download OS from AppStore and after that run below command in Terminal. sudo /Applications/Install\ macOS\ --volume /Volumes/Disk --nointeraction Reboot and Holding down OPTION(ALT). Installation Easy, next next next - Appearance to Dark, Your Languages, Install Updates. Install Apps, Utils, Libs ruby -e "$(curl -L" brew analytics off brew install libxslt ffmpeg ImageMagick python ansible wget git tig htop zsh npm sh -c "$(curl -L https://github.

Ghid Cumpărare Apartament

Utile:,,, Legi: Locuință, Calitate, Executare Lucrări. Încercați să folosiți doar text (SMS, Emails) deoarece este mult mai greu de mințit și manipulat. De aceea agenții de vânzări vor contact direct și telefon. Mers la câteva târguri de imobiliare pentru a vă obișnui cu agenții imobiliari și pentru a afla piața. Nu te baza pe promisiuni (se asfaltează în viitor, o să fie trotuar, o să fie parc șamd).

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.

Install & Configure macOS Mojave

Create Installation Disk Download OS from AppStore and after that run below command in Terminal. sudo /Applications/Install\ macOS\ --volume /Volumes/Disk --nointeraction Reboot and Holding down OPTION(ALT). Installation Easy, next next next - Appearance to Dark. Install Updates, if needed. Install Apps, Utils, Libs ruby -e "$(curl -L" brew analytics off sudo python -m ensurepip sudo pip install --upgrade pip docker-py virtualenv brew install libxslt ffmpeg ImageMagick python ansible wget git tig htop zsh npm dnscrypt-proxy sudo brew services start dnscrypt-proxy sh -c "$(curl -L https://github.

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' ) !

Install & Configure macOS High Sierra

Download OS from @AppStore. Reboot and Holding down OPTION(ALT). sudo /Applications/Install\ macOS\ High\ --volume /Volumes/Disk --applicationpath /Applications/Install\ macOS\ High\ --nointeraction # Cleanup&amp;Resize Dock. Tab Purchased &amp; Updates @AppStore. sudo xcode-select --install ruby -e "$(curl -L" brew analytics off sudo sh -c 'easy_install pip;pip install docker-py' brew install libxslt libxml2 ffmpeg ImageMagick python ansible dtrx wget git tig htop zsh npm brew cask install virtualbox vagrant vlc iterm2 atom google-chrome vagrant plugin install vagrant-hostsupdater # Atom: Settings, Packages, Tree, Hide Ignored Named.

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.

Visualize Logs with logstalgia

Install package logstalgia: brew install logstalgia Pipe your logs from the server in logstalgia with –sync ssh s01 "tail -f /X/X/logs/*/*-access.log | grep -v '==>' | grep -v '^$'" | logstalgia --sync # s01 is your hostname defined in ~/.ssh/config

Download YouTube Playlist

sudo apt-get install youtube-dl ffmpeg libavcodec-extra-53 # Save all music from a playlist as mp4 and mp3 with High Quality youtube-dl -i --write-info-json --keep-video -o "%(title)s(%(id)s).%(ext)s" --extract-audio --audio-format=mp3 --audio-quality=0 --max-quality=1080p You can put your playlist as Unlisted to not make them public.