Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Andrei rdbox

🎯
Focusing
Block or report user

Report or block rdbox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rdbox
rdbox / autoinstall-CentOS.sh
Last active Jan 8, 2019
VPN Proxy WebPanel IPTABLES
View autoinstall-CentOS.sh
#!/bin/bash
#Автоматический скрипт установки разного софта
#Может устанавливать VPN PROXY так же может настроить WebPanel для хостинга
#Прописать нужные правила для работы с VPN удалить(полное удаление и очищение от зависимостей )
ver="v1.8.1"
title="Breeze Easy Shell"
title_full="$title $ver"
#-----------------
@rdbox
rdbox / passRest.php
Created May 30, 2017
Reset password Admin (Bitrix)
View passRest.php
<?define("NOT_CHECK_PERMISSIONS", true);?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?>
<?
if(defined('BX_UTF') && BX_UTF == TRUE){
$msg = array(
'charset' => 'UTF-8',
'userChngScs' => 'Пользователь успешно изменён.',
'userAddScs' => 'Пользователь успешно добавлен.',
'delScript' => 'Удалить скрипт',
@rdbox
rdbox / gist:4207110aff53220469480bd60756b96f
Created Nov 18, 2018 — forked from conormm/r-to-python-data-wrangling-basics.md
R to Python: Data wrangling with dplyr and pandas
View gist:4207110aff53220469480bd60756b96f
R to python useful data wrangling snippets
The dplyr package in R makes data wrangling significantly easier.
The beauty of dplyr is that, by design, the options available are limited.
Specifically, a set of key verbs form the core of the package.
Using these verbs you can solve a wide range of data problems effectively in a shorter timeframe.
Whilse transitioning to Python I have greatly missed the ease with which I can think through and solve problems using dplyr in R.
The purpose of this document is to demonstrate how to execute the key dplyr verbs when manipulating data using Python (with the pandas package).
dplyr is organised around six key verbs
@rdbox
rdbox / etc.fstab
Last active May 18, 2018
Ubuntu guest VMware shared folders vmhgfs-fuse
View etc.fstab
# Данные Команды добавляют в автозагрузку shared folders VMware
# Вариант 1.
a. Install open-vm-tools, apt-get install open-vm-tools.
b. Install open-vm-tools-dkms, apt-get install open-vm-tools-dkms.
c. Run /usr/bin/vmware-hgfsclient, it will display your shared folder.
d. Update your /etc/fstab using the details below:
@rdbox
rdbox / startwlan.md
Created Apr 26, 2018 — forked from spacehuhn/startwlan.md
little bash script to enable monitor mode
View startwlan.md

Some wireless cards support monitor mode but won't work with airmon-ng. This is a little script helps you turning the monitor mode on! (+ it also sets the channel and the tx-power)

Usage: startWlan.sh [Interface:wlan0] [Channel:1] [Txpower:30] [Bandwidth:HT20|HT40+|HT40-]

Examples:
./startWlan.sh - enables monitor mode on wlan0, sets channel to 1 and tx-power to 30dBm.
./startWlan.sh wlan1 11 33 - enables monitor mode on wlan1, sets channel to 11 and tx-power to 33dBm.
./startWlan.sh wlan0 6 - enables monitor mode on wlan0, sets channel to 6 and tx-power to 30dBm.

Script:

@rdbox
rdbox / temporary-email-address-domains
Created Dec 30, 2017 — forked from adamloving/temporary-email-address-domains
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
View temporary-email-address-domains
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com
View antizapret-proxy.pac
https://antizapret.prostovpn.org/proxy.pac
View Default (Windows).sublime-keymap
[
//Package Control
{ "keys": ["alt+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
{ "keys": ["ctrl+shift+q"], "command": "replace_all", "args": {"close_panel": true}},
{ "keys": ["ctrl+q"], "command": "replace_next" },
//Инвертированное выделение
{ "keys": ["ctrl+shift+a"], "command": "invert_selection"},
{ "keys": ["alt+shift+r"], "command": "toggle_regex", "context": [{ "key": "setting.is_widget", "operator": "equal", " operand": true } ] },
@rdbox
rdbox / file.ps1
Last active Jun 5, 2017
Check ip-range (powershell)
View file.ps1
# This script is written on powershell
# Allows you to quickly check the range of ip addresses
# 2 parameters are used
# (threads and address)
# Example:
# .\file.ps1 -Address (1..20|%{"192.168.1.$_"}) -threads 5
# Will do a check in 5 threads, from 0 to 20 ip
#
# Example:
View Install DNSCache-Unbound.txt
Установка Unbound
1)Скачать дистрибутив
2) Во время установки версии x64 поменять путь установки на C:\Program Files\Unbound\
3) Конфиг будет прикреплен ниже 2-ым файлом
You can’t perform that action at this time.