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
// | |
// DarwinNotificationCenter.swift | |
// | |
// Copyright © 2017 WeTransfer. All rights reserved. | |
// | |
import Foundation | |
/// A Darwin notification payload. It does not contain any userInfo, a Darwin notification is purely event handling. | |
public struct DarwinNotification { |
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
/* GET /allocate.json HTTP/1.1 */ | |
{ | |
"api": ["124.250.3.102", "124.250.3.103", "101.201.175.228", "182.92.251.113"], | |
"expires": 300, | |
"fund": ["124.250.3.84", "124.250.3.85"], | |
"https": true, | |
"im": ["124.250.3.78:8080", "124.250.3.78:80", "124.250.3.78:8400", "124.250.3.79:8080", "124.250.3.78:443", "124.250.3.79:443", "124.250.3.78:8443", "124.250.3.79:8400", "124.250.3.79:8443", "124.250.3.79:80"], | |
"pingan": ["124.250.3.102", "124.250.3.101"], | |
"promo": ["124.250.3.102", "124.250.3.103"], | |
"stock": ["182.92.251.113", "101.201.175.228", "124.250.3.102", "124.250.3.103"], |
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
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |