Skip to content

Instantly share code, notes, and snippets.

View McShauno's full-sized avatar

Shaun McDonnell McShauno

View GitHub Profile
@McShauno
McShauno / openssl_commands.md
Created October 29, 2019 16:50 — forked from p3t3r67x0/openssl_commands.md
Some list of openssl commands for check and verify your keys

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@McShauno
McShauno / cloud-config-master.yaml
Created June 26, 2018 20:09 — forked from ryancurrah/cloud-config-master.yaml
CoreOS w/ Kubernetes Cloud Config
#cloud-config
#type: master
---
hostname: master01
users:
- name: core
passwd: $6$rounds=4096$qTfXAnCBjkQ326$zRFWfe45s3quKvxl2pax1Ml44PCPNQQYXcJ.r0FfkN5jwecdipepTLMNEQCsAcGJkH5NA6BCPr4VIGJNftBIe.
groups:
- sudo
#!/bin/bash
echo "Start Export Process"
echo "Log into Keybase..."
keybase login
echo "Exporting your PGP keys..."
keybase pgp export -o keybase.public.key
keybase pgp export -s -o keybase.private.key
Vlc stream to ipad with apache mediastreamsegmenter html5
/*=======================================================================================*/
Append following lines to /etc/apache2/mime.types MIME types of video and playlist.
sudo nano /etc/apache2/mime.types
//
// Created by Cédric Luthi on 2012-02-24.
// Copyright (c) 2012 Cédric Luthi. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSData (Base64)
+ (id) dataWithBase64Encoding_xcd:(NSString *)base64String;