Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| // | |
| // Copyright (c) 2012-2015 Cédric Luthi / @0xced. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| #if TARGET_OS_SIMULATOR | |
| static const char *fakeCarrier; | |
| static const char *fakeTime; |
This file contains hidden or 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 Microsoft.Data.Sqlite@10.0.9 | |
| #:package SQLitePCLRaw.bundle_e_sqlite3@3.0.3 | |
| using System.Data.Common; | |
| using Microsoft.Data.Sqlite; | |
| var dataSource = args.Length > 0 ? args.Last() : ":memory:"; | |
| var pooling = !args.Contains("--disable-pooling"); | |
| var clearAllPools = args.Contains("--clear-all-pools"); |
This file contains hidden or 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
| { | |
| "People" : [ | |
| { | |
| "Symbol" : "😀", | |
| "Name" : "GRINNING FACE" | |
| }, | |
| { | |
| "Symbol" : "😬", | |
| "Name" : "GRIMACING FACE" | |
| }, |
This file contains hidden or 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 <Carbon/Carbon.h> | |
| #import <dlfcn.h> | |
| /* | |
| * Returns an array of CFDictionaryRef types, each of which contains information about one of the processes. | |
| * The processes are ordered in front to back, i.e. in the same order they appear when typing command + tab, from left to right. | |
| * See the ProcessInformationCopyDictionary function documentation for the keys used in the dictionaries. | |
| * If something goes wrong, then this function returns NULL. | |
| */ | |
| CFArrayRef CopyLaunchedApplicationsInFrontToBackOrder(void) |
This file contains hidden or 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
| { | |
| "People" : [ | |
| "😀", | |
| "😃", | |
| "😄", | |
| "😁", | |
| "😆", | |
| "😅", | |
| "😂", | |
| "🤣", |
This file contains hidden or 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
| /* | |
| * Adds the serialNumber property to the UIDevice class | |
| * | |
| * The implementation uses undocumented (for iOS) IOKit functions, | |
| * so handle with caution and be prepared for nil. | |
| */ | |
| #import <UIKit/UIDevice.h> | |
| @interface UIDevice (serialNumber) |
This file contains hidden or 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
| using System.Linq; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.EntityFrameworkCore.Diagnostics; | |
| namespace gist; | |
| public class StringTrimmerInterceptor : ISaveChangesInterceptor | |
| { |
This file contains hidden or 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
| https://stackoverflow.com/questions/38728583/how-to-create-nuget-package-for-native-c/57616597#57616597 | |
| --> https://digitalhouseblog.wordpress.com/2019/08/22/how-to-make-a-nuget-package-for-c/ | |
| https://dev.to/jeikabu/loading-native-libraries-in-c-fh6 | |
| --> https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order | |
| --> https://rendered-obsolete.github.io/2018/08/15/nupkg-with-native.html (broken link on dev.to) | |
| --> https://natemcmaster.com/blog/2018/07/25/netcore-plugins/ | |
| https://stackoverflow.com/questions/49270527/can-you-dynamically-load-cross-platform-native-unmanaged-dlls-libs-in-net-core/52286519#52286519 |
NewerOlder