First, congrats! You're more special than the people lost in Windowz land. But not as cool as the Linux kids. It's a trade-off. These are the things I did to set up my nifty new MacOS system.
Discover gists
// More information: https://danielupshaw.com/openscad-rounded-corners/ | |
module roundedcube_simple(size = [1, 1, 1], center = false, radius = 0.5) { | |
// If single value, convert to [x, y, z] vector | |
size = (size[0] == undef) ? [size, size, size] : size; | |
translate = (center == false) ? | |
[radius, radius, radius] : | |
[ | |
radius - (size[0] / 2), |
Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature.
- [UPDATE 4] iOS 10 update: apparently settings now can be reached using App-Pref instead of prefs
[UPDATE 3] For now you just can use url schemes to open your apps's settings with Swift 3.0 (Xcode 8). I'll keep you informed when OS preferences can be reached[UPDATE 2] The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead[UPDATE 1] Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.
require 'nokogiri' | |
input = $stdin.readlines.join | |
page = Nokogiri::HTML(input) | |
page.css('.example').each do |elem| | |
elem.inner_html = '<i>Environment diagram omitted.</i>' | |
end | |
page.css('img').remove |
Before continuing: This guide is currently outdated but I'm working on a new one with upgrading steps included. I'll link it here once it's finished :)
This is a guide that will show you how to setup Plex Media Server with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent with Docker. It is written for Ubuntu 20.04 but should work on other Linux distributions as well (considering supported distributions by Docker). It is also written for people who have some experience with Linux and Docker. If you are new to Docker, I recommend you to read the Docker documentation, and if you are new to Linux, I recommend you to read the Ubuntu documentation.
Now, let's get started!
Please note: This guide was written without considering hardlinking for Sonarr/Radarr. If you want to use hardlinking refer to #Hardlinking
$workdir = Get-Location | |
$tempdir = Join-Path $workdir temp | |
$outputdir = Join-Path $workdir output | |
$hbrdir = "C:\Program Files (x86)\Steam\steamapps\common\HeavenBurnsRed" | |
$soundDir = "HeavenBurnsRed_Data\StreamingAssets\Sound" | |
$datadir = "" | |
$dlllist = "libvorbis.dll", "libmpg123-0.dll", "libg719_decode.dll", "avcodec-vgmstream-58.dll", "avformat-vgmstream-58.dll", "avutil-vgmstream-56.dll", "swresample-vgmstream-3.dll", "libatrac9.dll", "libcelt-0061.dll", "libcelt-0110.dll", "libspeex.dll" | |
function Get-DllDependencyInstalled { | |
param ( |
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
import type { IconBaseProps } from "@react-icons/all-files"; | |
import dynamic from "next/dynamic"; | |
import React, { ComponentType } from "react"; | |
export interface IconPackProps extends IconBaseProps { | |
icon: string; | |
} | |
export const IconPack: React.FC<IconPackProps> = ({ icon, ...props }) => { |
- Using this script, you can download all the videos from a YouTube Playlist in all supported resolutions (including 1080p and 2160p).
- Enter the playlist url and the resolution you wish to download.
- Install the required libraries: pytubefix, tqdm, tenacity
- Make sure you have
ffmpeg
setup on your machine. Check the tutorial for the setup guide. - You can download the videos in the following resolutions: 144p, 240p, 360p, 480p, 720p, 1080p, 1440p, 2160p
- Check the video for available resolutions.