How to setup a pi with a linux without desktop, controlled remotely via ssh.
Installing: zsh, pure prompt, ufw, git, node.js, npm, yarn, nginx with ssl, pi-hole.
Download the Raspberry Pi Imager,
How to setup a pi with a linux without desktop, controlled remotely via ssh.
Installing: zsh, pure prompt, ufw, git, node.js, npm, yarn, nginx with ssl, pi-hole.
Download the Raspberry Pi Imager,
// | |
// ImagePicker.swift | |
// | |
// Created by Vlad Lego on 15/07/2019. | |
// vlad@iSelf.com | |
// | |
import SwiftUI | |
import Combine |
self.addEventListener('install', (e) => { | |
e.waitUntil( | |
caches.open("precache").then((cache) => cache.add("/broken.png")) | |
); | |
}); | |
function isImage(fetchRequest) { | |
return fetchRequest.method === "GET" && fetchRequest.destination === "image"; | |
} |
/** | |
provide an array of audio files urls and get them merged | |
Its important to note that the process is asynchronous and that one would need to show user some sort of a progress indicator | |
so that the process does not get interupted | |
- parameter audioFileUrls: an array of audio file urls | |
- returns String representing the newly merged file or nil for a failure | |
*/ | |
func mergeAudioFiles(audioFileUrls: [URL]) -> String? { | |
let composition = AVMutableComposition() | |
In your command-line run the following commands:
brew doctor
brew update
<script> | |
window.Promise || document.write('<script src="https://unpkg.com/es6-promise@4.0.5/dist/es6-promise.min.js"><\/script>'); | |
window.fetch || document.write('<script src="https://unpkg.com/whatwg-fetch@1.1.1/fetch.js"><\/script>'); | |
</script> |
extension AVCaptureDevice { | |
/// http://stackoverflow.com/questions/21612191/set-a-custom-avframeraterange-for-an-avcapturesession#27566730 | |
func configureDesiredFrameRate(_ desiredFrameRate: Int) { | |
var isFPSSupported = false | |
do { | |
if let videoSupportedFrameRateRanges = activeFormat.videoSupportedFrameRateRanges as? [AVFrameRateRange] { |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGKSpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKcHCBMXGyImVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T | |
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECgwLjAyNzQ1MTAw | |
NjcgMC4yMTE3NjQ3MjMxIDAuMjU4ODIzNDg0MiAxTxAoMC4wMzkzODA3NDc4MiAwLjE2 |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?