Skip to content

Instantly share code, notes, and snippets.

@rain0r
rain0r / Update-branch.md
Created January 16, 2020 13:32 — forked from santisbon/Update-branch.md
Bring your feature branch up to date with master. Deploying from Git branches adds flexibility. Bring your branch up to date with master and deploy it to make sure everything works. If everything looks good the branch can be merged. Otherwise, you can deploy your master branch to return production to its stable state.

Updating a feature branch

First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)

$ git checkout master

Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master

@rain0r
rain0r / emojis.json
Created June 27, 2019 07:42 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "👩‍👩‍👦‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👦", "name": "family_children", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👦‍👦", "name": "family_two_boys", "shortname": "", "unicode": "", "html": "👨&zw
2 tone
2-step garage
4-beat
4x4 garage
8-bit
acapella
acid
acid breaks
acid house
acid jazz
General
Complete name : 01-Retrogott & Hulk Hodn - Intro.mp3
Format : MPEG Audio
File size : 713 KiB
Duration : 42 s 840 ms
Overall bit rate mode : Constant
Overall bit rate : 128 kb/s
Album replay gain : -9.01 dB
Album replay gain peak : 409795.187500
Album : Sezession!
* Package: media-sound/mpd-0.21.4-r1
* Repository: gentoo
* Maintainer: zlogene@gentoo.org
* Upstream: https://github.com/MusicPlayerDaemon/MPD/issues
* USE: abi_x86_64 alsa amd64 bzip2 chromaprint cue curl dbus elibc_glibc eventfd faad ffmpeg fifo flac icu id3tag inotify ipv6 kernel_linux libmpdclient libsamplerate libsoxr mad musepack opus sqlite tcpd udisks unicode userland_GNU zip zlib
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_FRAME_EXTENTS(CARDINAL) = 2, 2, 2, 2
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x1, 0x1, 0x0, 0x0
_NET_WM_STATE(ATOM) =
WM_HINTS(WM_HINTS):
Client accepts input or input focus: False

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.List;
public class BooleanFilter {
public static void main(String... args) {
IntegerFilter rp = new IntegerFilter();
rp.doWork();
}
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Predicate;
public class IntegerFilter {
public static void main(String... args) {
IntegerFilter rp = new IntegerFilter();
rp.doWork();
@rain0r
rain0r / myweechat.md
Created February 19, 2018 12:17 — forked from pascalpoitras/config.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf