Skip to content

Instantly share code, notes, and snippets.

View vovs03's full-sized avatar

Vλadimir Pavλychev vovs03

View GitHub Profile
@vovs03
vovs03 / cron-start.md
Last active November 7, 2018 10:11
Cron + Postfix in DEB-systems

Cron

Note from 2018-11-07 08:55:23.489

crontab -u keyjoo -e

// add command 50 7 * * * keyjoo /bin/bash ~/code/scripts/hi.sh

Google

@vovs03
vovs03 / ubuntu-howto.md
Created October 31, 2018 03:31
Ubuntu hacks
The system is: Linux - 4.15.0-38-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
@vovs03
vovs03 / How_to_create_and_use_Live_USB.txt.md
Last active October 28, 2018 11:30
Burn USB-Live stick in RFRemix 28.1 (Fedora 28)

Burn USB-Live stick in RFRemix 28.1 (Fedora 28)

sudo dnf install liveusb-creator -y

install livecd-iso-to-disk

sudo dnf insatall livecd-iso-to-disk

@vovs03
vovs03 / curl-autologin.php.pseudo.md
Created October 28, 2018 06:08
curl autologin website question

curl autologin website question

http://phpforum.su/index.php?showtopic=59662

$url = 'http://mail.ru';                        // Куда зайти
$urlTo = 'http://auth.mail.ru/cgi-bin/auth';    // Куда данные послать
$login = 'your_login';                          // Логин
$pass = 'your_pass';                            // Пароль
$domain = 'mail.ru';                            // Домен
@vovs03
vovs03 / xrandr-RFRemix-28-LG-29-2560x1080.sh
Last active October 27, 2018 20:09
Set display resolution 2560 x 1080 for LG-29 monitor
#!/bin/bash
# Author: Vladimir Pavlychev <[email protected]>
# Date: 2018-10-27
# Check your vga-resolution:
# `xrandr`
# check settings for 2560x1080 resolution
cvt 2560 1080
@vovs03
vovs03 / sublime_plugins.md
Created October 20, 2018 15:25 — forked from barnes7td/sublime_plugins.md
Sublime Plugins for Ruby and Rails

Sublime Plugins for Ruby and Rails

General

I would start by installing the Sublime Package Control manager. This tool will allow you to install the other plugins without having to clone git repositories and copying them to the correct folders. Instead you will the command drop-down menu with "Ctrl + Shift + P" and then scrolling down until you see "Package Control: Install Package". A search bar will pop up and you can type the name of a package, click on the name and it will self install. If you have problems setting any of these up email me at [email protected]

Packages/Plugins

  1. Sublime Package Control - Install this first. This tool will allow you to easily install most (if not all) the other plugins in this list. (Ctrl + Shift + P, then select Package Control: Install Package)

  2. SublimeERB - This plugin auto creates the erb tags. (<% %>, <%= %>, etc.) (Ctrl +

@vovs03
vovs03 / _readme.md
Created October 20, 2018 05:46 — forked from vchernogorov/_readme.md
Паттерны проектирования

Паттерны проектирования

Данный гист содержит описание существующих паттернов проектирования. Также возможны примеры на джаве.

Содержание: