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
[package] | |
name = "seedy" | |
version = "0.1.0" | |
authors = ["Anatol Ulrich <e+github@mail.taugt.net>"] | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
dioxus = "0.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
# | |
# Xilinx Zynq ZC706 Evaluation Board | |
# | |
# Chris Johns <chrisj@rtems.org> | |
# | |
set PL_TAPID 0x23731093 | |
source [find target/zynq-7000.cfg] | |
source [find xilinx-tcl.cfg] |
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
@admin.register(...) | |
class SilentAdmin(ModelAdmin): | |
def log_addition(self, request, object, message): | |
pass | |
def log_change(self, request, object, message): | |
pass | |
def log_deletion(self, request, object, object_repr): | |
pass |
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
·darkfire·C:\tmp\foo> rmdir /tmp/foo | |
·darkfire·C:\tmp\foo> cd . | |
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory |
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
·darkfire·C:\tmp\test> mkdir home | |
·darkfire·C:\tmp\test> mkdir b | |
·darkfire·C:\tmp\test> cd home | |
·darkfire·C:\tmp\test\home> ln -s ../b ./a | |
·darkfire·C:\tmp\test\home> ls -la | |
total 4 | |
drwxr-xr-x 3 ace wheel 102 Jan 4 17:48 . | |
drwxr-xr-x 4 ace wheel 136 Jan 4 17:48 .. | |
lrwxr-xr-x 1 ace wheel 4 Jan 4 17:48 a -> ../b | |
·darkfire·C:\tmp\test\home> ln -s /tmp/test/b ./a_absolute |
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
/Users/ace$ mkdir /tmp/test | |
/Users/ace$ cd /tmp/test | |
/tmp/test$ rm -rf . | |
rm: "." and ".." may not be removed | |
/tmp/test$ rm -rf /tmp/test | |
/tmp/test$ cd . | |
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory |
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 "AppDelegate.h" | |
@interface AppDelegate () | |
@property (nonatomic,strong) NSInputStream *inStream; | |
@property (nonatomic,strong) NSOutputStream *outStream; | |
@end | |
@implementation AppDelegate | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
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 MultipartEncoder : NSObject | |
- (id)initWithURL:(NSString*)urlString; | |
-(void) addField:(NSString*)name value:(NSString*)value; | |
-(void) addFile:(NSString*)name data:(NSData*)fileData; | |
-(void) finish; |
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
sqlite> create table table_name(foo smallint); | |
sqlite> drop table table_name; | |
sqlite> |