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
# This will run a collection in Newman using the environment we specify | |
newman -e path/to/environment.json run path/to/collection.json |
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 ( | |
"crypto/aes" | |
"crypto/cipher" | |
"fmt" | |
"encoding/hex" | |
) | |
type ecb struct { |
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 your.app.package; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.support.annotation.Nullable; | |
import android.webkit.WebView; | |
import android.webkit.WebViewClient; | |
import java.util.HashSet; |
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
{ | |
"info": { | |
"name": "Gruyere Collection", | |
"_postman_id": "9efdd931-ac99-5996-8bcd-07c07652dcfa", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Login Request", |
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
{ | |
"id": "e39f0a28-d5ef-461f-807b-35e9078e210b", | |
"name": "Postman Blog Post", | |
"values": [ | |
{ | |
"enabled": true, | |
"key": "username", | |
"value": "test", | |
"type": "text" | |
}, |
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
{ | |
"info": { | |
"name": "Alphavantage", | |
"_postman_id": "5866f354-6cbe-1abb-918c-d56c5d15810c", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Alphavantage Collection", |
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
Loaded plugins: fastestmirror | |
Installed Packages | |
GeoIP.x86_64 1.5.0-11.el7 installed | |
PyYAML.x86_64 3.10-11.el7 installed | |
acl.x86_64 2.2.51-12.el7 installed | |
apr.x86_64 1.4.8-3.el7_4.1 @updates | |
apr-util.x86_64 1.5.2-6.el7 @base | |
audit.x86_64 2.7.6-3.el7 installed | |
audit-libs.x86_64 2.7.6-3.el7 installed | |
audit-libs-python.x86_64 2.7.6-3.el7 installed |
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
case class Event(level: Int, title: String) | |
//Base handler class | |
abstract class Handler { | |
val successor: Option[Handler] | |
def handleEvent(event: Event): Unit | |
} | |
//Customer service agent | |
class Agent(val successor: Option[Handler]) extends Handler { |
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 ( | |
"crypto/ecdsa" | |
"crypto/elliptic" | |
"crypto/rand" | |
"io/ioutil" | |
"log" | |
"github.com/joncooperworks/signedplugin" |
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
key, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) | |
if err != nil { | |
log.Fatalln(err.Error()) | |
} | |
incorrectKey, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) | |
if err != nil { | |
log.Fatalln(err.Error()) | |
} |
NewerOlder