I hereby claim:
- I am evanslify on github.
- I am evanslify (https://keybase.io/evanslify) on keybase.
- I have a public key whose fingerprint is 4D39 117A 15CE 8864 471E 6C93 9A9E 08BA E30B 3605
To claim this, I am signing this object:
#!/usr/bin/env python | |
# encoding: utf-8 | |
import re | |
import sys | |
def split_snippets(raw_string): | |
"""Split UltiSnip snippets to lists. |
/* | |
* author: es <es@evsfy.com> | |
* description: | |
* This script helps you battle with Allpay's CheckMacValue. | |
*/ | |
const crypto = require('crypto'); | |
String.prototype.allpayURLencode = function() { | |
var replace_map = { | |
' ': '+', |
window.alert = function() { | |
console.log('alert'); | |
}; | |
var btn = $('#registrationsNewApp > div > div:nth-child(5) > div.form-actions.plain.align-center > button'); | |
setInterval(function () {btn.click();}, 1000); |
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the branch/status of the current mercurial repository | |
# * the return value of the previous command | |
# |
const performance = require('perf_hooks').performance | |
const cluster = require('cluster'); | |
const http = require('http'); | |
const numCPUs = require('os').cpus().length; | |
if (cluster.isMaster) { | |
for (let i = 0; i < numCPUs; i++) { | |
cluster.fork() | |
} | |
} else { |
I hereby claim:
To claim this, I am signing this object:
This post by a security researcher who prefers to remain anonymous will elucidate concerns about certain problematic decisions Apple has made and caution about future decisions made in the name of “security” while potentially hiding questionable motives. The content of this article represents only the opinion of the researcher. The researcher apologises if any content is seen to be inaccurate, and is open to comments or questions through PGP-encrypted mail.
TL;DR
import logging | |
import math | |
import mimetypes | |
from multiprocessing import Pool | |
import os | |
from boto.s3.connection import S3Connection | |
from filechunkio import FileChunkIO |
import argparse | |
import os | |
import boto3 | |
from botocore.exceptions import ClientError | |
class S3MultipartUpload(object): | |
# AWS throws EntityTooSmall error for parts smaller than 5 MB | |
PART_MINIMUM = int(5e6) |