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
| class SingletonDemo { | |
| static let shared = SingletonDemo() | |
| } |
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
| # -*- coding: utf8 -*- | |
| import jwt | |
| import time | |
| import json | |
| import os | |
| from hyper import HTTPConnection | |
| class ApnsPusher: | |
| def __init__(self, apns_key_id = '', apns_key_name = '.p8', team_id = '', bundle_id = ''): |
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
| <!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Web Security in CTF</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/reveal.min.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/theme/black.min.css"> | |
| <!-- Theme used for syntax highlighting of code --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/lib/css/zenburn.min.css"> | |
| <!-- Custom settings --> | |
| <link rel="stylesheet" href="css/custom.css"> | |
| <!-- Printing and PDF exports --> | |
| <script> | |
| var link = document.createElement( 'link' ); | |
| link.rel = 'stylesheet'; | |
| link.type = 'text/css'; |
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
| // | |
| // APIRequest.swift | |
| // | |
| // Created by 家齊 on 2016/12/27. | |
| // Copyright © 2016年 Archie Chang. All rights reserved. | |
| // | |
| import Alamofire | |
| class APIRequest { |
NewerOlder