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
# Automatically detach upon hangup, and not terminate processes | |
autodetach on | |
# make Detach and Re-attach without losing regions layout | |
layout save default | |
# To not see startup message | |
startup_message off | |
# Use bright colors for bold text |
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
curl -OJL "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" | |
sudo dpkg -i code_*.deb |
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
sudo apt remove docker docker-engine docker.io containerd runc -y | |
sudo apt update -y | |
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release -y | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg --yes | |
DEBIAN_VERSION="$(lsb_release -cs)" | |
if [ $? -ne 0 ]; then DEBIAN_VERSION=$(cat /etc/os-release | grep VERSION_CODENAME | cut -d"=" -f2 | tr -d '"'); fi | |
if [ "$DEBIAN_VERSION" = "kali-rolling" ]; then DEBIAN_VERSION="buster"; fi | |
RELEASE_ID=$(cat /etc/os-release | grep '^ID=' | cut -d'=' -f2) | |
if [ ! "$RELEASE_ID" = 'ubuntu' ]; then RELEASE_ID='debian'; fi | |
ARCHITECTURE=$(dpkg --print-architecture) |
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
@echo OFF | |
rem How to run a Python script in a given conda environment from a batch file. | |
rem It doesn't require: | |
rem - conda to be in the PATH | |
rem - cmd.exe to be initialized with conda init | |
rem Define here the path to your conda installation | |
set CONDAPATH=C:\ProgramData\Miniconda3 | |
rem Define here the name of the environment |
- Install Dev Tools, PHP, Nginx
sudo yum install nginx php php-fpm php-common gcc glibc glibc-common gd gd-devel make net-snmp unzip -y
sudo yum groupinstall 'Development Tools' -y
- Nginx – Nagios Configuration
cd /etc/nginx/conf.d
sudo vi nagios.conf
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
#!/bin/bash | |
## Netcat bruteforce script used in crypto100-master @ 3dsctf-2k16 | |
# @author intrd - http://dann.com.br/ | |
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
for letter in {A..Z} ; do | |
echo $letter | |
sleep 1 | |
(echo "yes" & sleep 1 & echo "$letter") | nc -i1 -w5 54.175.35.248 8002 | |
done |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
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
function JSON_to_URLEncoded(element,key,list){ | |
var list = list || []; | |
if(typeof(element)=='object'){ | |
for (var idx in element) | |
JSON_to_URLEncoded(element[idx],key?key+'['+idx+']':idx,list); | |
} else { | |
list.push(key+'='+encodeURIComponent(element)); | |
} | |
return list.join('&'); | |
} |
NewerOlder