Skip to content

Instantly share code, notes, and snippets.


Andrei rdbox

View GitHub Profile
rdbox / etc.fstab
Last active Oct 11, 2021
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 /
Last active Jan 8, 2019
#Автоматический скрипт установки разного софта
#Может устанавливать VPN PROXY так же может настроить WebPanel для хостинга
#Прописать нужные правила для работы с VPN удалить(полное удаление и очищение от зависимостей )
title="Breeze Easy Shell"
title_full="$title $ver"
rdbox / passRest.php
Created May 30, 2017
Reset password Admin (Bitrix)
View passRest.php
<?define("NOT_CHECK_PERMISSIONS", true);?>
if(defined('BX_UTF') && BX_UTF == TRUE){
$msg = array(
'charset' => 'UTF-8',
'userChngScs' => 'Пользователь успешно изменён.',
'userAddScs' => 'Пользователь успешно добавлен.',
'delScript' => 'Удалить скрипт',
rdbox / gist:4207110aff53220469480bd60756b96f
Created Nov 18, 2018 — forked from conormm/
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 /
Created Apr 26, 2018 — forked from spacehuhn/
little bash script to enable monitor mode

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: [Interface:wlan0] [Channel:1] [Txpower:30] [Bandwidth:HT20|HT40+|HT40-]

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


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
View antizapret-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 / 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-ым файлом