Here is a step by step guideline to make your Website a safe 🔒place to surf 🏄🏻♀️. A bit of knowledge of the HTTP protocol, command-line and the System your Website is hosted on, is required. Instead of always navigating to the CertBot's website, I thought better having something with clear step-by-step that I can always consult. 🤷🏽♂️ Like a quick note 📝.
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
#!/bin/sh | |
# 2012 - Ben Clayton (benvium). Calvium Ltd | |
# 2017 - Dario Carlomagno (d4r1091). Tictrac Ltd | |
# | |
# This script installs a .mobileprovision file without using Xcode. Unlike Xcode, it'll | |
# work over SSH. | |
# | |
# Requires Mac OS X (I'm using 10.7 and Xcode 4.3.2) | |
# |
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
// Source: https://github.com/vapor-community/random | |
public protocol RandomProtocol { | |
/// Get a random array of Bytes | |
func bytes(count: Int) throws -> Bytes | |
} | |
// MARK: - Throwing getter methods | |
extension RandomProtocol { | |
/// Get a random Int8 |
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
// | |
// Tokenable.swift | |
// | |
// Created by Dario Carlomagno on 27/07/2019. | |
// | |
import Foundation | |
protocol Tokenable { | |
I hereby claim:
- I am d4r1091 on github.
- I am darioc (https://keybase.io/darioc) on keybase.
- I have a public key ASBQ07uYxGeztaN9oxLTz30PLCSbcr1HqDroYc6nPafR8wo
To claim this, I am signing this object:
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
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
- (NSString *) platform; |