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
meta: | |
id: ar_generic | |
title: Unix ar archive (generic superset) | |
application: ar | |
file-extension: | |
- a # Unix/generic | |
- lib # Windows | |
- rlib # Rust | |
xref: | |
justsolve: AR |
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
"""Allows logging Python :class:`str`s to the system log using Foundation's ``NSLog`` function. | |
This module is meant to help with debugging the loading process of Rubicon on systems like iOS, where sometimes only | |
NSLog output (but not stdout/stderr) is available to the developer. | |
""" | |
import ctypes | |
import io | |
import sys |
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 <Foundation/Foundation.h> | |
@interface DGVeryEqual : NSObject | |
@property(copy) NSString *desc; | |
-(instancetype)initWithDescription:(NSString *)description; | |
@end | |
@implementation DGVeryEqual : NSObject | |
-(instancetype)initWithDescription:(NSString *)description { |
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
struct char1 { | |
char x[1]; | |
}; | |
struct char2 { | |
char x[2]; | |
}; | |
struct char3 { | |
char x[3]; |
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
# This is an example pythonista_startup.py script. | |
# The code below is from https://github.com/dgelessus/pythonista_startup/blob/master/enable_faulthandler.py | |
from __future__ import absolute_import, division, print_function | |
def enable_faulthandler(): | |
import ctypes | |
import datetime | |
import errno | |
import io |