Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
#!/bin/bash | |
# requires jq | |
# arg 1: iCloud web album URL | |
# arg 2: folder to download into (optional) | |
# | |
# Credits: https://gist.github.com/zneak/8f719cd81967e0eb2234897491e051ec | |
# icloud-album-download.sh | |
function curl_post_json { |
// | |
// TextStyle.swift | |
// | |
// Created by Rob Napier on 12/20/19. | |
// Copyright © 2019 Rob Napier. All rights reserved. | |
// | |
import SwiftUI | |
public struct TextStyle { |
import Cocoa | |
import SwiftUI | |
func startApp(content: NSView) { | |
let app = NSApplication.shared | |
let menubar = NSMenu() | |
let appMenuItem = NSMenuItem() | |
let appMenu = NSMenu() | |
let appName = ProcessInfo.processInfo.processName | |
let quitTitle = "Quit \(appName)" |
import UIKit | |
import PlaygroundSupport | |
let touchAnimationDuration: TimeInterval = 0.3 | |
var shouldPulse = true | |
class Handler { | |
@objc | |
func didTouchUpInside(_ button: UIButton) { |
secrets/ |
# Uncomment the next line to define a global platform for your project | |
# platform :ios, '9.0' | |
target '%TargetName%' do | |
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks | |
use_frameworks! | |
# Pods for %TargetName% | |
# pod 'FBSDKCoreKit' | |
end |
import UIKit | |
/// A validation rule for text input. | |
public enum TextValidationRule { | |
/// Any input is valid, including an empty string. | |
case noRestriction | |
/// The input must not be empty. | |
case nonEmpty | |
/// The enitre input must match a regular expression. A matching substring is not enough. | |
case regularExpression(NSRegularExpression) |
// | |
// UserDefaults.swift | |
// | |
// Created by Shaps Benkau on 24/05/2018. | |
// Copyright © 2018 152percent Ltd. All rights reserved. | |
// | |
import Foundation | |
#if os(iOS) |
import Darwin | |
@dynamicMemberLookup | |
struct Environment { | |
subscript(dynamicMember name: String) -> String? { | |
get { | |
guard let value = getenv(name) else { return nil } | |
return String(validatingUTF8: value) | |
} |