<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| function proxy () { | |
| UNSET="" | |
| PROXY="http://127.0.0.1:8080" | |
| PROXY_ENV=(http_proxy https_proxy ftp_proxy HTTP_PROXY HTTPS_PROXY FTP_PROXY) | |
| if [ $1 == on ]; then | |
| for i in $PROXY_ENV; do | |
| export $i=$PROXY | |
| done | |
| echo "proxy set" | |
| elif [ $1 == off ]; then |
| var crypto = require('crypto') | |
| , key = 'your secret key here' | |
| , plaintext = 'Text to be encrypted' | |
| , cipher = crypto.createCipher('aes-256-cbc', key) | |
| , decipher = crypto.createDecipher('aes-256-cbc', key); | |
| var encryptedPassword = cipher.update(plaintext, 'utf8', 'base64'); | |
| encryptedPassword += cipher.final('base64') | |
| var decryptedPassword = decipher.update(encryptedPassword, 'base64', 'utf8'); |
| import UIKit | |
| class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| // Do any additional setup after loading the view, typically from a nib. | |
| } | |
| override func didReceiveMemoryWarning() { |
| // | |
| // AppDelegate.swift | |
| // pushtest | |
| // | |
| // Created by sawapi on 2014/06/08. | |
| // Copyright (c) 2014年 sawapi. All rights reserved. | |
| // | |
| // iOS8用 | |
| import UIKit |
| <?php | |
| /** | |
| * Password Strength Helper | |
| * @packages Helpers | |
| */ | |
| /** | |
| * Password Rules | |
| * | |
| * Check password for complexity and length requirements | |
| * |
| # /tmp/test = EBS-SSD | |
| # /mnt/test = instance-store | |
| root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test | |
| 256+0 records in | |
| 256+0 records out | |
| 268435456 bytes (268 MB) copied, 3.26957 s, 82.1 MB/s | |
| root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test | |
| 256+0 records in | |
| 256+0 records out |
| var crypto = require('crypto'); | |
| var key = 'MySecretKey12345'; | |
| var iv = '1234567890123456'; | |
| var cipher = crypto.createCipheriv('aes-128-cbc', key, iv); | |
| var decipher = crypto.createDecipheriv('aes-128-cbc', key, iv); | |
| var text = 'plain text'; | |
| var encrypted = cipher.update(text, 'utf8', 'binary'); | |
| encrypted += cipher.final('binary'); | |
| hexVal = new Buffer(encrypted, 'binary'); |