- https://youtube-dl.org (still up, has executables and source)
- https://youtube-dl.org/latest
- https://web.archive.org/web/20201019113254/https://github.com/ytdl-org/youtube-dl/issues - snapshot of oficial repo before takedown, contains the issues and pull requests
import com.mojang.brigadier.CommandDispatcher | |
import com.mojang.brigadier.arguments.* | |
import com.mojang.brigadier.builder.ArgumentBuilder | |
import com.mojang.brigadier.builder.LiteralArgumentBuilder | |
import com.mojang.brigadier.builder.RequiredArgumentBuilder | |
import com.mojang.brigadier.context.CommandContext | |
@DslMarker | |
@Target(AnnotationTarget.TYPE) | |
annotation class BrigadierDsl |
If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives
It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.
The gist version of this list will stop being updated.
import org.openrndr.application | |
import org.openrndr.draw.* | |
import org.openrndr.internal.Driver | |
import org.openrndr.math.Vector2 | |
import org.openrndr.math.Vector3 | |
import java.io.File | |
class ShaderToy(fsCode: String) { | |
companion object { | |
fun fromFile(pathname: String): ShaderToy { |
Before Github supported SSL encryption for github pages sites, many people were using CloudFlare (CF) as their DNS provider and CDN proxy. CF allowed users to enable SSL encryption from the CDN end points/proxies to the end user. This was great and it allowed visitors to your website to connect with a secure connection between their browser and the cloudflare CDN box that was serving your content. However, with this setup one (significant) link in the chain remained unencrypted and
suspend fun downloadFile(url: String, | |
downloadFile: File, | |
downloadProgressFun: (bytesRead: Long, contentLength: Long, isDone: Boolean) -> Unit) { | |
async(CommonPool) { | |
val request = with(Request.Builder()) { | |
url(url) | |
}.build() | |
val client = with(OkHttpClient.Builder()) { | |
addNetworkInterceptor { chain -> |
#----------------------------------------------------------------------- | |
# same-quad-list.txt: a list of same-quad IPs by owner w/DNS status | |
# | |
# The CIDR network is the largest contiguous/bit-boundary-aligned block | |
# that is allocated to that entity (actual allocated range may be larger) | |
# NOTE: some ranges not yet converted to CIDR. | |
# Updates welcome - leave comment and/or ping [email protected] | |
#----------------------------------------------------------------------- | |
# For human efficiency, some records are repeated here as comments. | |
# |
Before you continue, if you don't know what IMGUI is don't bother reading this post, just ignore it, don't write anything in comments section, etc. If you're curious about IMGUI see bottom of this post, otherwise continue whatever you were doing, this post it's not for you. Thanks!
If you know what IMGUI is, for context read following presentations and blog posts:
- Insomniac’s Web Tools Postmortem
Your task in order to complete this Kata is to write a function which formats a duration, given as a number of seconds, in a human-friendly way.
The function must accept a non-negative integer. If it is zero, it just returns "now". Otherwise, the duration is expressed as a combination of years, days, hours, minutes and seconds.
It is much easier to understand with an example:
format_duration(62) # returns "1 minute and 2 seconds"
format_duration(3662) # returns "1 hour, 1 minute and 2 seconds"