git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- OPML generated by NetNewsWire --> | |
<opml version="1.1"> | |
<head> | |
<title>Subscriptions-iCloud.opml</title> | |
</head> | |
<body> | |
<outline text="Reddit" title="Reddit"> | |
<outline text="Forth - The programming language for low-fat computing." title="Forth - The programming language for low-fat computing." description="" type="rss" version="RSS" htmlUrl="https://www.reddit.com/r/Forth/" xmlUrl="http://www.reddit.com/r/Forth/.rss"/> | |
<outline text="Programming in Logic :- Prolog" title="Programming in Logic :- Prolog" description="" type="rss" version="RSS" htmlUrl="https://www.reddit.com/r/prolog/" xmlUrl="http://www.reddit.com/r/prolog/.rss"/> |
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: Python [16800] | |
Path: /Library/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python | |
Identifier: org.python.python | |
Version: 3.10.2 (3.10.2) | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [3556] |
// Focus management | |
private var targetFocusEnv: UIFocusEnvironment? | |
override var preferredFocusEnvironments: [UIFocusEnvironment] { | |
if let target = targetFocusEnv { | |
return [target] | |
} else { | |
return [] | |
} | |
} |
//: Playground - noun: a place where people can play | |
import Foundation | |
class ServerSocket { | |
private var sockAddrLen = socklen_t(sizeof(sockaddr_in)) | |
private var serverSocket = socket(AF_INET, SOCK_STREAM, 0) | |
init?(_ port: UInt16) { | |
var option: UInt32 = 1 |
#lang racket | |
(define (run-length n) | |
(let ([run-char #f] | |
[run-len 0]) | |
(λ(c) | |
(if (equal? c run-char) | |
(set! run-len (+ run-len 1)) | |
(begin (set! run-len 1) | |
(set! run-char c))) |
// Playground - noun: a place where people can play | |
import Cocoa | |
func checkOptionals(a:Dictionary<String,Int>,key1:String,key2:String) { | |
switch (a[key1],a[key2]) { | |
case (.Some(_),.Some(_)): println("both") | |
case (.Some(let a),.None): println("first " + String(a)) | |
case (.None,.Some(let b)): println("second " + String(b)) | |
default: println("neither") |
(defrule make-group | |
(make-graphic ?sheet ?id) | |
(dict-entry ?id Class "Group") | |
(not (dict-entry ?id isSubgraph ?)) | |
(dict-entry ?id Graphics ?array) | |
(array ?array $?graphics) | |
=> | |
(assert (group ?id)) | |
(foreach ?graphic $?graphics | |
(assert (make-graphic ?sheet ?graphic)) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
function makeContext() { return { choices:[], trail:[], halted:false }; } | |
// Push a new choice point onto the stack | |
function pushChoice( ctx, choiceThunk ) { | |
ctx.choices.unshift( { thunk:choiceThunk, trailIndex:ctx.trail.length } ); | |
} |