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
Sign gdb with: https://sourceware.org/gdb/wiki/PermissionsDarwin | |
Install VSCode extension: CodeLLDB | |
Worked for MacOS 12.5.1 |
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
#!/usr/bin/env python | |
import os | |
import time | |
import urllib2 | |
CONTROLER_CODE = "METTRE_LE_CODE_TELECOMMANDE" | |
def send_command(code_controler, code_key): | |
url = "http://hd1.freebox.fr/pub/remote_control?key={}&code={}".format(code_key, code_controler) |
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
#import <Security/Security.h> | |
#import <CoreFoundation/CoreFoundation.h> | |
#import <Foundation/Foundation.h> | |
@interface SSLHelper : NSObject | |
+ (SSLHelper *)sharedInstance; | |
- (void) addCertToKeychain:(NSData*)certInDer; | |
- (BOOL) canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace; | |
- (BOOL) manageAuthorizationForChallenge:(NSURLAuthenticationChallenge*)challenge; |