UPDATE: apparently kernel difference may have a serious impact, so I'll redo the test from scratch.
Test performed with AOF enabled, fsync policy 1 second, allowing the rewrites to be triggered.
Command lines used:
0.0.0.0 a-0001.a-msedge.net | |
0.0.0.0 a-0002.a-msedge.net | |
0.0.0.0 a-0003.a-msedge.net | |
0.0.0.0 a-0004.a-msedge.net | |
0.0.0.0 a-0005.a-msedge.net | |
0.0.0.0 a-0006.a-msedge.net | |
0.0.0.0 a-0007.a-msedge.net | |
0.0.0.0 a-0008.a-msedge.net | |
0.0.0.0 a-0009.a-msedge.net | |
0.0.0.0 a-msedge.net |
import zxcvbn from 'zxcvbn' | |
import axios from 'axios' | |
import crypto from 'crypto' | |
// Input is first validated via native Fastify JSON-schema declaration | |
export async function passwordStrengthChecker(req, reply) { | |
const { password } = req.body | |
let message, pwned, ok | |
let { score } = zxcvbn(password) | |
try { |
118.116.127.196|2018-03-22 | |
62.28.56.161|2018-03-22 | |
185.109.161.38|2018-03-22 | |
185.109.161.38|2018-03-21 | |
62.28.56.161|2018-03-21 | |
5.188.11.89|2018-03-21 | |
77.72.82.22|2018-03-21 | |
91.217.9.163|2018-03-20 | |
5.188.11.89|2018-03-20 | |
5.188.11.89|2018-03-19 |
#!/usr/bin/env python3 | |
# Gambling Statistics Problem: | |
# If you play roulette every day and quit whenever you're ahead by x amount, | |
# do you make money in the long run? | |
# Answer: | |
# No. | |
import random | |
STARTING_BALANCE = 100000 |
boto3>=1.4.6,<2.0.0 | |
certifi>=2017.7.27.1,<2018.0.0.0 | |
elasticsearch-curator>=5.1.2,<6.0.0 | |
PyYAML>=3.12,<4.0 |
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE PatternSynonyms #-} | |
import Control.Applicative | |
import Control.Lens | |
import Control.Monad | |
import Data.ByteString (ByteString) | |
import qualified Data.ByteString.Lazy as BSL | |
import qualified Data.IORef as IORef |
#!/usr/bin/python | |
# This file has no update anymore. Please see https://github.com/worawit/MS17-010 | |
from impacket import smb, ntlm | |
from struct import pack | |
import sys | |
import socket | |
''' | |
EternalBlue exploit for Windows 8 and 2012 by sleepya | |
The exploit might FAIL and CRASH a target system (depended on what is overwritten) |
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru