Skip to content

Instantly share code, notes, and snippets.

function encrypt_wrapper() {
let i = document.getElementById('input').value;
let k = Number(document.getElementById('key').value);
let output = document.getElementById('outputStr');
typewriter(encrypt(i, k), output, 0.3);
}
function decrypt_wrapper() {
let i = document.getElementById('inputDecrypt').value;
let k = Number(document.getElementById('keyDecrypt').value);

Keybase proof

I hereby claim:

  • I am yunake on github.
  • I am yunake (https://keybase.io/yunake) on keybase.
  • I have a public key ASDAJzdHlMPNmdSVzFttkbFDoJluvgohibG9j9yunMCl9Qo

To claim this, I am signing this object:

$master_success = @mysqli_select_db($this->read_link, $database) or $this->error("[READ] Unable to select database", $this->read_link);
if($this->write_link)
{
$slave_success = @mysqli_select_db($this->write_link, $database) or $this->error("[WRITE] Unable to select slave database", $this->write_link);
$success = ($master_success && $slave_success ? true : false);
}
else
{
$success = $master_success;
(lambda _, __, ___, ____, _____, ______, _______, ________:
getattr(
__import__(True.__class__.__name__[_] + [].__class__.__name__[__]),
().__class__.__eq__.__class__.__name__[:__] +
().__iter__().__class__.__name__[_____:________]
)(
_, (lambda _, __, ___: _(_, __, ___))(
lambda _, __, ___:
chr(___ % __) + _(_, __, ___ // __) if ___ else
(lambda: _).func_code.co_lnotab,
yunake@x230:~$ gdb mpv
GNU gdb (GDB) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
#!/usr/bin/python
from collections import namedtuple
from dateutil.parser import parse as date_parse
LineFormat = namedtuple('LineFormat', ['separator', 'datecol', 'levelcol'])
class LogLine(object):
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module provides two functions, transform() & untransform(), and the second
one should reverse the output of the first one. Since the transformation is
lossy, just provide a list of strings that satisfy the conditions, any one of
them might've been the original source and there is no way to know for sure.