I hereby claim:
- I am florentmorin on github.
- I am florentmorin (https://keybase.io/florentmorin) on keybase.
- I have a public key ASC6eOVmfQPYMOISvEMVy9kvbW2DDHFOKq9lGvLLAsC9UQo
To claim this, I am signing this object:
Adhearsion init.d script | |
Working with Ubuntu 12.04 and RVM on EC2 | |
1. Copy-paste adhearsion content to "/etc/init.d/" directory | |
2. Run "sudo chmod +x /etc/init.d/adhearsion" | |
3. Run "sudo /usr/sbin/update-rc.d -f adhearsion" | |
4. Create /etc/adhearsion directory (one configuration file per app) | |
5. Configure your applications in /etc/adhearsion/{app_name}.conf (sample code in "my_app.conf") | |
6. Run your service with "sudo service adhearsion start" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
cordova -d prepare ios --release |
- (void)viewWillAppear:(BOOL)animated | |
{ | |
// View defaults to full size. If you want to customize the view's size, or its subviews (e.g. webView), | |
// you can do so here. | |
[super viewWillAppear:animated]; | |
// Fix for iOS 11 status bar UI | |
if (@available(iOS 11.0, *)) { |
@import Foundation; | |
//! Project version number for MySDK. | |
FOUNDATION_EXPORT double MySDKVersionNumber; | |
//! Project version string for MySDK. | |
FOUNDATION_EXPORT const unsigned char MySDKVersionString[]; | |
// In this header, you should import all the public headers of your framework using statements like #import <MySDK/PublicHeader.h> | |
#import <MySDK/MySDKCrypto.h> |
GET /monsite.html HTTP/1.1 | |
Host: www.monsite.com | |
Connection: Close |
// | |
// ContentView.swift | |
// MailDemo | |
// | |
// Created by Florent Morin on 29/06/2019. | |
// Copyright © 2019 Morin Innovation. All rights reserved. | |
// | |
// Medium link: https://medium.com/@florentmorin/messageui-swiftui-and-uikit-integration-82d91159b0bd | |
// Sample source code: https://github.com/florentmorin/SwiftUIAndMessageUI |
import UIKit | |
extension UIViewController { | |
/// Top most view controller in view hierarchy | |
var topMostViewController: UIViewController { | |
// No presented view controller? Current controller is the most view controller | |
guard let presentedViewController = self.presentedViewController else { | |
return self |
h1 { | |
color: black; | |
} | |
@media (prefers-color-scheme: dark) { | |
h1 { | |
color: white; | |
} | |
} |