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 / README.md
Created Oct 27, 2016 — forked from e7d/README.md
[Debian] Build a Squid transparent proxy from source code
View README.md
@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"
#-----------------
View VMware config (Mac OS X)
.encoding = "windows-1251"
config.version = "8"
virtualHW.version = "11"
numvcpus = "2"
cpuid.coresPerSocket = "1"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
memsize = "3072"
View my-vimrc
""Last update:16.06.2016 21:36
"Показывать номера строк
set number
"Включить подсветку синтаксиса
syntax on
set hlsearch
"Очищение экрана от поиска подсветки hlsearch
nnoremap <C-l> :nohlsearch<CR><C-l>
"Поиск в процессе набора
View original-vimrс
"" Last update: 23.03.2016 08:44
"" .vimrc файл конфирурации для текстового редактора VIM
"" dimio (http://dimio.org)
"" Подробности по адресу:
"" http://dimio.org/fajl-nastrojki-vim-vimrc-dlya-linux-i-windows.html
"=====================================================================
"НАСТРОЙКИ ВНЕШНЕГО ВИДА И БАЗОВЫЕ НАСТРОЙКИ РЕДАКТОРА
set nocompatible " отключить режим совместимости с классическим Vi
View aliases_linux
###---------------ALIAS---------------###
#Добавление своих aliases
alias ghistory='history | grep '
alias my-ip='wget -qO myip http://www.ipchicken.com/; grep -o "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" myip; rm -rf myip'
alias g="grep"
alias sl=ls
alias x="exit"
alias cp="cp -iv "
alias mv="mv -iv "
alias rm="rm -iv "
@rdbox
rdbox / deploy-config.php
Last active Jun 1, 2016
git: deployment to site
View deploy-config.php
<?php
/**
* Simple PHP Git deploy script
*
* Automatically deploy the code using PHP and Git.
*
* @version 1.3.1
* @link https://github.com/markomarkovic/simple-php-git-deploy/
*/
@rdbox
rdbox / config.ini
Last active May 31, 2016
fix: power off vmware memory size
View config.ini
# Решаем bug vmware - physical memory
Not enough physical memory is available to power on this virtual machine with its configured settings.
To fix this problem, power off other virtual machines, decrease the memory size of this virtual machine to 1640 MB, increase the amount of physical memory for all virtual machines to 3904 MB, or adjust the additional memory settings to allow more virtual machine memory to be swapped.
# Создать файл config.ini внести следующие строчки кода
vmmon.disableHostParameters = "TRUE"
prefvmx.minVmMemPct = "25"
# И разместить его в папке
View antizapret-proxy.pac
https://antizapret.prostovpn.org/proxy.pac
@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:
You can’t perform that action at this time.