This document describes how to use FUSE OverlayFS to link your global Firefox installation with the PWAsForFirefox runtime.
- Your OS uses systemd.
- Firefox is installed (without Snap or Flatpak).
/** | |
* For a finite normal 64-bit float `f`, extracts integers `sgn`, | |
* `exponent`, and `mantissa` such that: | |
* | |
* - `sgn` is -1 or +1 | |
* - `exponent` is between -1023 and 1024, inclusive | |
* - `mantissa` is between 0 and 2^51 - 1, inclusive | |
* - the number given by `f` equals `sgn * 2^exponent * (1 + mantissa / 2^52)` | |
* | |
* The results are all bigints within the range of safe integers for |
I'm a little slow, so maybe everyone else already realized this, but after struggling for almost a year with periodic "Two different types with this name exist" error from typescript, I've realized it is actually really helpful error and it highlights a real problem that I've failed to understand until this week.
I've been working around this issue by making sure that my libraries with common dependencies are always on the same version for some of our shared library dependencies. This works because package managers dedup the same version of a dependency. But when the versions diverge you get different instances of the library. In this mode, Good Guy TypeScript is telling us "Hey you're comparing values and types from different instances of the same library and that's a Bad Idea."
package org.firstinspires.ftc.robotcontroller.internal; | |
import java.lang.Thread.UncaughtExceptionHandler; | |
import android.app.Activity; | |
import android.app.AlarmManager; | |
import android.app.PendingIntent; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.util.Log; |
package org.firstinspires.ftc.teamcode; | |
import org.firstinspires.ftc.robotcore.internal.vuforia.VuforiaLocalizerImpl; | |
/** | |
* Copyright (c) 2017 FTC Team 5484 Enderbots | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
package android.support.v4.provider; | |
import android.net.Uri; | |
import android.support.v4.provider.DocumentFile; | |
public class CachedDocumentFile extends DocumentFile { | |
final DocumentFile mWrapped; | |
final boolean mCacheChildren; | |
#!/bin/bash | |
# Script adb+ | |
# Run any command adb provides on all your currently connected devices, | |
# Or prompt to select one device | |
showHelp() { | |
echo "Usage: adb+ [-a] <command>" | |
echo " -h: show help" | |
echo " -a: run command on all device" | |
echo " command: normal adb commands" |
Hello software developers,
Please check your code to ensure you're not making one of the following mistakes related to cryptography.
PS1="\[\033[01;34m\]\w\[\033[00m\]\n\$ " |
import rx.Observable; | |
import rx.subjects.PublishSubject; | |
import rx.subjects.SerializedSubject; | |
import rx.subjects.Subject; | |
/** | |
* Simple pass-thru event bus with error handling and reconnect. | |
*/ | |
public class EventBus { |