Skip to content

Instantly share code, notes, and snippets.

View vihuvac's full-sized avatar

Víctor Hugo Valle Castillo vihuvac

View GitHub Profile
@vihuvac
vihuvac / iterm2-solarized.md
Created August 10, 2020 04:44 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

##
## SSL settings
##
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
ssl = required
# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
# dropping root privileges, so keep the key file unreadable by anyone but
# root. Included doc/mkcert.sh can be used to easily generate self-signed
@vihuvac
vihuvac / LICENCE SUBLIME TEXT
Created August 18, 2018 21:09
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----

Sublime Text (2 / 3) Installation Guide

Ubuntu (12.04, 13.04, 14.04, 15.04, 15.10) / Elementary OS (Luna / Freya) / Linux Mint(Cinnamon, Mate) / Mac OS X / Windows

1. Installation (Linux Based OS)

Sublime Text 2

Open the terminal, then run:

Reverse SSH Tunneling

I guess you ever wanted to connect to a Linux desktop machine via ssh, but you did not have a way to do it.

The Reverse SSH Tunneling allows you to connect to a computer for it which you do not have access via ssh. The connection is established opening up a tunnel through another computer for it which you really have a ssh access. It works really good with UNIX systems.

Use Case

Requirements

@vihuvac
vihuvac / vscode.txt
Created April 8, 2018 12:13 — forked from EQuimper/vscode.txt
VS CODE PACKAGES
5 TOP PACKAGES
1. Path Intellisense
2. Project Manager
3. Auto Rename Tag
4. JavaScript (ES6) code snippets
5. Output Colorizer
You need to have
@vihuvac
vihuvac / yoast-nulled.php
Created July 30, 2017 20:56 — forked from petrozavodsky/yoast-nulled.php
Занулить yoast-seo-premium
<?php
/**
* 1. В таблице wp_options находим ключ yoast-seo-premium_license или wordpress-seo-premium_license
* и меняем его значение на `a:3:{s:3:"key";s:6:"zalupa";s:6:"status";s:5:"valid";s:11:"expiry_date";s:19:"2970-01-01 00:00:00";}`
*
* 2. Чтобы не слетали все ваши махинации после захода на страницу обновления или проверки лицензии,
* достаточно запретить плагину ломиться по своему АПИ на свой сайт.
* Я это сделал просто: в файле \wordpress-seo-premium\vendor\yoast\license-manager\class-update-manager.php
*/
@vihuvac
vihuvac / Mac-Spinning-Wheel.html
Last active September 9, 2016 05:11
Awesome Mac OS X Spinning Wheel with SCSS
<div class="wrapper">
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
<div class="rainbow"></div>
#default_process_limit = 100
#default_client_limit = 1000
# Default VSZ (virtual memory size) limit for service processes. This is mainly
# intended to catch and kill processes that leak memory before they eat up
# everything.
#default_vsz_limit = 256M
# Login user is internally used by login processes. This is the most untrusted
# user in Dovecot system. It shouldn't have access to anything at all.
# This file is opened as root, so it should be owned by root and mode 0600.
#
# http://wiki2.dovecot.org/AuthDatabase/SQL
#
# For the sql passdb module, you'll need a database with a table that
# contains fields for at least the username and password. If you want to
# use the user@domain syntax, you might want to have a separate domain
# field as well.
#
# If your users all have the same uig/gid, and have predictable home