книга Джулия Дональдсон «ЗОГ 2 часть»- «Сказки дядюшки Римуса»
- «Кошкин дом» с иллюстрациями Васнецова
«Красная Шапочка»- «Сказки для самых маленьких»
- Мальчики в костюмах магнитная игра Janod
Трактор Брудер- Сандалии Zara Home: вариант 1, вариант 2
- [Банный халат Zara Home](https://www.zarahome.com/ru/для-детей/ванная-комната/банные-халаты/халат-для-младенца,-из-хлопка-с-рисунком-«звездочки»-c1020116709p300479957.html?colorId=406&par
| /** | |
| Assuming the route handler is attached to `http://localhost:8080/import-data` you can test the implementation with this request (cURL): | |
| ``` | |
| curl -X "POST" "http://localhost:8080/import-data" \ | |
| -H 'Content-Type: application/json; charset=utf-8' \ | |
| -d $'{ "values": ["first", "foo", "bar", "last"] }' | |
| ``` | |
| Prints: | |
| ``` |
| import Foundation | |
| let data = Data([0, 0, 0, 0, 0, 0x11, 0x22, 0x33, 0x44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) | |
| data.count | |
| extension UnsafeRawBufferPointer { | |
| func loadUnaligned<T>(fromByteOffset offset: Int, as: T.Type) -> T { | |
| // Allocate correctly aligned memory and copy bytes there | |
| let alignedPointer = UnsafeMutableRawPointer.allocate(byteCount: MemoryLayout<T>.stride, alignment: MemoryLayout<T>.alignment) | |
| defer { |
The libdispatch is one of the most misused API due to the way it was presented to us when it was introduced and for many years after that, and due to the confusing documentation and API. This page is a compilation of important things to know if you're going to use this library. Many references are available at the end of this document pointing to comments from Apple's very own libdispatch maintainer (Pierre Habouzit).
My take-aways are:
-
You should create very few, long-lived, well-defined queues. These queues should be seen as execution contexts in your program (gui, background work, ...) that benefit from executing in parallel. An important thing to note is that if these queues are all active at once, you will get as many threads running. In most apps, you probably do not need to create more than 3 or 4 queues.
-
Go serial first, and as you find performance bottle necks, measure why, and if concurrency helps, apply with care, always validating under system pressure. Reuse
| /* | |
| * filesize.m | |
| * Description: Multiple ways to calculate the size of a file's resource fork | |
| * Author: Chad Armstrong | |
| * Date: 14 April 2018 (Updated 28 October 2022) | |
| * To compile: gcc -w -framework Cocoa filesize.m -o filesize | |
| * To run: ./filesize path/to/file | |
| */ | |
| /* References: |
| #!/usr/bin/swift | |
| // DISCLAIMER | |
| // This script modifies an unencrypted file associated with the trial version of Final Cut Pro. | |
| // Under the DMCA (17 U.S.C. § 1201), this modification does not qualify as circumvention of a technological | |
| // protection measure (TPM), as it does not involve bypassing encryption, authentication, or similar protections. | |
| // Distributing this code is therefore legal under the DMCA. | |
| // This script is intended for educational and research purposes, such as exploring trial-related file structures, |
| As of iOS 11/macOS High Sierra, and only including ones in Foundation and CoreFoundation | |
| Strings: | |
| _NSCFString - a CFStringRef or CFMutableStringRef. This is the most common type of string object currently. | |
| - May have 8 bit (ASCII) or 16 bit (UTF-16) backing store | |
| _NSCFConstantString - a compile time constant CFStringRef, like you'd get with @"foo" | |
| - May also be generated by dynamic string creation if matches a string in a pre-baked table of common strings called the StringROM | |
| NSBigMutableString - an NSString backed by a CFStorage (https://github.com/opensource-apple/CF/blob/master/CFStorage.h) for faster handling of very large strings | |
| NSCheapMutableString - a very limited NSMutableString that allows for zero-copy initialization. Used in NSFileManager for temporarily wrapping stack buffers. |
| import Foundation | |
| func disable_gdb() { | |
| let PT_DENY_ATTACH: CInt = 31 | |
| let handle = dlopen("/usr/lib/libc.dylib", RTLD_NOW) | |
| let sym = dlsym(handle, "ptrace") | |
| typealias PtraceAlias = @convention(c) (CInt, pid_t, CInt, CInt) -> CInt | |
| let ptrace = unsafeBitCast(sym, to: PtraceAlias.self) | |
| _ = ptrace(PT_DENY_ATTACH, 0, 0, 0) | |
| dlclose(handle) |
- с утра посвизлил - весь день свободен
- украл, посвиззлил - в тюрьму
- волков бояться - в лесу не свиззлить
- не все золото что свиззлит
- свиззлинг - всему голова
- и рыбку съесть, и посвиззлить
- в большой семье свиззлом не щелкают
| postgres: | |
| image: postgres:9.4 | |
| volumes: | |
| - ./init.sql:/docker-entrypoint-initdb.d/init.sql |