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
Test Suite 'All tests' started at 2022-05-22 15:28:43.735 | |
Test Suite 'BackupFileTests.xctest' started at 2022-05-22 15:28:43.737 | |
Test Suite 'BackupFileTests' started at 2022-05-22 15:28:43.737 | |
Test Case '-[BackupFileTests.BackupFileTests test_BackupFile]' started. | |
Test Case '-[BackupFileTests.BackupFileTests test_BackupFile]' passed (0.005 seconds). | |
Test Suite 'BackupFileTests' passed at 2022-05-22 15:28:43.743. | |
Executed 1 test, with 0 failures (0 unexpected) in 0.005 (0.006) seconds | |
Test Suite 'BackupFileTests.xctest' passed at 2022-05-22 15:28:43.744. | |
Executed 1 test, with 0 failures (0 unexpected) in 0.005 (0.007) seconds | |
Test Suite 'All tests' passed at 2022-05-22 15:28:43.744. |
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
// | |
// BackupFileTests.swift | |
// BackupFileTests | |
// | |
// Created by Rudolf Farkas on 21.05.22. | |
// | |
@testable import BackupFile | |
import XCTest |
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
// | |
// BackupFile.swift | |
// BackupFile | |
// | |
// Created by Rudolf Farkas on 21.05.22. | |
// | |
import Foundation | |
// a wrapper struct that backs up the wrapped struct in an iOS file |
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
#!/usr/bin/python3 | |
""" | |
In a node project, list scripts defined in package.json | |
@rudifa Rudi Farkas 2020 | |
""" | |
from os import path | |
import json |
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
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[user] | |
name = *** | |
email = *** | |
[alias] | |
aliases = config --get-regexp alias |
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
#!/bin/bash | |
# problem: | |
# you installed a new version of Xcode, and now the previously installed extensions are | |
# not visible any more in menus or accessible via custom keyboard shortcuts | |
# solution: | |
# https://nshipster.com/xcode-source-extensions/ | |
# ... when multiple copies of Xcode are on the same machine, extensions can stop working completely. In this case, Apple Developer Relations suggests re-registering your main copy of Xcode with Launch Services. |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<todo-app></todo-app> | |
<script type="module"> | |
import { LitElement, html } from 'https://unpkg.com/lit-element?module'; | |
const author = 'open-wc'; | |
const homepage = 'https://open-wc.org/'; |
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
<!DOCTYPE html> | |
- | |
<html> | |
<body> | |
<style> | |
body { | |
font-family: monospace; | |
} | |
h1 { color: pink; } |
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 UIKit | |
extension UIView { | |
func printSubviews(indent: String = "") { | |
print("\(indent)\(self)") | |
let indent = indent + "| " | |
for sub in self.subviews { | |
sub.printSubviews(indent: indent) | |
} |
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
# scope.py v 0.1 by Rudi Farkas | |
# ref http://matplotlib.org/examples/animation/ | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
class Scope(): |