This file contains 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
<?php | |
class ShopRunnerCrypt { | |
protected $config; | |
public function __construct(array $parameters = []) { | |
$this->config = $parameters; | |
} | |
/** |
This file contains 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
package main | |
import ( | |
"net" | |
"time" | |
"github.com/gin-gonic/gin" | |
) | |
func rootHandler(context *gin.Context) { |
This file contains 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
package future | |
// A Future represents the result of some asynchronous computation. | |
// Future returns the result of the work as an error, or nil if the work | |
// was performed successfully. | |
// Implementers must observe these invariants | |
// 1. There may be multiple concurrent callers, or Future may be called many | |
// times in sequence, it must always return the same value. | |
// 2. Future blocks until the work has been performed. | |
type Future func() error |
This file contains 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
input = "DJJGKHG HBMBEBIBFBF HBMBQDK HBMBTDH HBMBEBIBFBF HBNGKHG" | |
line_id = input.split(" ") | |
image_string = "" | |
for row in line_id: | |
index = 0 | |
for c in row: | |
rle = ord(c) - 64 | |
if index%2 == 0: |
This file contains 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
Any SSO Login Hard Login Chrome iPhone IE HTTP HTTPS | |
1800BASKETS SSO Login Hard Login Chrome iPhone IE HTTPS | |
ADIDAS Hard Login Chrome iPhone HTTPS | |
AEGL Hard Login Chrome IE | |
AGJEANS SSO Login Hard Login Chrome iPhone IE HTTPS | |
AHAVA SSO Login Hard Login Chrome iPhone IE HTTPS | |
AUZN SSO Login Hard Login Chrome iPhone IE HTTPS | |
AVON SSO Login Hard Login Chrome iPhone IE HTTPS | |
BBEAR SSO Login Hard Login Chrome iPhone IE HTTPS |
This file contains 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
nmap --script ssl-enum-ciphers -p 443 shoprunner.com | |
` | |
Starting Nmap 7.01 ( https://nmap.org ) at 2016-08-08 22:07 EDT | |
Nmap scan report for shoprunner.com (23.13.181.40) | |
Host is up (0.015s latency). | |
rDNS record for 23.13.181.40: a23-13-181-40.deploy.static.akamaitechnologies.com | |
PORT STATE SERVICE | |
443/tcp open https | |
| ssl-enum-ciphers: | |
| TLSv1.1: |
This file contains 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
#set($p = 'pik='+ $util.urlEncode($util.base64Decode($input.params('d'))) + | |
'&user_agent=' + $util.urlEncode($context.identity.userAgent) +'&client_ip=' + | |
$util.urlEncode($input.params().header.get('X-Forwarded-For'))) | |
{ | |
"Data" : "$util.base64Encode($p)", | |
"PartitionKey": "$context.requestId", | |
"StreamName": "TrackerStream" | |
} | |
This file contains 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
datetime.fromtimestamp(float(record["kinesis"]["approximateArrivalTimestamp"])) |
This file contains 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
$ git config --global core.excludesfile ~/.gitignore | |
$ echo .DS_Store >> ~/.gitignore |
This file contains 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
-- PageView Retailer By Tender Type | |
SELECT page_view.retailer_code AS "Partner", | |
CASE | |
WHEN page_view.payment_type = 'visa' | |
OR page_view.payment_type LIKE '%visa%' | |
OR page_view.payment_type = 'Visa' | |
OR page_view.payment_type = 'vi' THEN 'Visa' | |
WHEN page_view.payment_type = 'mastercard' | |
OR page_view.payment_type LIKE '%master%' | |
OR page_view.payment_type = 'mc' THEN 'MasterCard' |
OlderNewer