macOS: Sierra 10.12.6 (16G29)
MacBook Pro: (Retina, 13-inch, Early 2015)
Processor: 2.7 GHz Intel Core i5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Given a first 6 digits and last 4 digits. | |
// It will generate full 16-digit PANs that satisfy Luhn algorithm. | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"strconv" | |
"strings" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Result, using input string from 0 to 999999. | |
// It finds some conflict if the hash size is 4 bytes, | |
// no conflict found if hash size is 6 bytes. | |
package main | |
import ( | |
"crypto/hmac" | |
"crypto/sha256" | |
"encoding/hex" | |
"fmt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.rb diff=ruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $Id: VirtualBox_Uninstall.tool 101252 2015-06-24 13:07:35Z bird $ | |
## @file | |
# VirtualBox Uninstaller Script. | |
# | |
# | |
# Copyright (C) 2007-2015 Oracle Corporation | |
# | |
# This file is part of VirtualBox Open Source Edition (OSE), as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TradingView - Remove ads | |
// @version 0.1 | |
// @description Does what it says. | |
// @author Chaiwat | |
// @include https://www.tradingview.com/chart/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
OlderNewer