https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
// ==UserScript== | |
// @name Guns.lol Uploader | |
// @namespace kvba5.guns-uploader | |
// @version 2025-01-06 | |
// @description Allows you to upload images directly from the site | |
// @author kvba5 | |
// @match https://guns.lol/imagehost | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=guns.lol | |
// @grant unsafeWindow | |
// @run-at document-start |
# I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone | |
# The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build | |
# For NixOS, follow those instructions but skip anything related to installing packages | |
# Detailed instructions: | |
# cd into an empty directory of your choice | |
# copy this file there | |
# in nix-shell: | |
# $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0 | |
# $ repo sync | |
# $ source build/envsetup.sh |
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
library(tidyverse) | |
# Get Gene Summary info | |
gs_orig <- read_tsv("https://ftp.ncbi.nlm.nih.gov/gene/DATA/gene_summary.gz") | |
gs <- gs_orig |> | |
janitor::clean_names() |> | |
set_names(str_replace, "number_tax_id", "tax_id") |> | |
filter(tax_id==9606) |> | |
distinct() | |
gs |
public class SoftInputAssist { | |
private View rootView; | |
private ViewGroup contentContainer; | |
private ViewTreeObserver viewTreeObserver; | |
private ViewTreeObserver.OnGlobalLayoutListener listener = () -> possiblyResizeChildOfContent(); | |
private Rect contentAreaOfWindowBounds = new Rect(); | |
private FrameLayout.LayoutParams rootViewLayout; | |
private int usableHeightPrevious = 0; | |
public SoftInputAssist(Activity activity) { |
:root { | |
--none: linear(0, 1); | |
--power1-in: linear( 0, 0.0039, 0.0156, 0.0352, 0.0625, 0.0977, 0.1407, 0.1914, 0.2499, 0.3164, 0.3906 62.5%, 0.5625, 0.7656, 1 ); | |
--power1-out: linear( 0, 0.2342, 0.4374, 0.6093 37.49%, 0.6835, 0.7499, 0.8086, 0.8593, 0.9023, 0.9375, 0.9648, 0.9844, 0.9961, 1 ); | |
--power1-in-out: linear( 0, 0.0027, 0.0106 7.29%, 0.0425, 0.0957, 0.1701 29.16%, 0.2477, 0.3401 41.23%, 0.5982 55.18%, 0.7044 61.56%, 0.7987, 0.875 75%, 0.9297, 0.9687, 0.9922, 1 ); | |
--power2-in: linear( 0, 0.0014 11.11%, 0.0071 19.24%, 0.0188 26.6%, 0.037 33.33%, 0.0634 39.87%, 0.0978 46.07%, 0.1407 52.02%, 0.1925 57.74%, 0.2559 63.49%, 0.3295 69.07%, 0.4135 74.5%, 0.5083 79.81%, 0.6141 85%, 0.7312 90.09%, 1 ); | |
--power2-out: linear( 0, 0.2688 9.91%, 0.3859 15%, 0.4917 20.19%, 0.5865 25.5%, 0.6705 30.93%, 0.7441 36.51%, 0.8075 42.26%, 0.8593 47.98%, 0.9022 53.93%, 0.9366 60.13%, 0.963 66.67%, 0.9812 73.4%, 0.9929 80.76%, 0.9986 88.89%, 1 ); | |
--power2-in-out: linear( 0, 0.0036 9.62%, 0.0185 16.66 |
Content :
# Global DLSS update script by emoose - https://gist.github.com/emoose/11271bbb3b42fb3b1b0e1c83eef47c05 | |
# This allows setting a single global DLSS DLL for games to use | |
# If the global version is newer than the one included with game, it should get loaded automatically | |
# (more info at https://forums.guru3d.com/threads/.439761/page-143#post-6221767) | |
# | |
# Two ways of using this script: | |
# - save script as UpdateDLSS.ps1 then run it through powershell like "powershell .\UpdateDLSS.ps1" | |
# (or "powershell .\UpdateDLSS.ps1 -DllPath C:\DLLs\nvngx_dlss.dll") | |
# | |
# - save script into powershell modules folder, so you can use it from any location |
Fonte: https://learnersbucket.com/examples/javascript/how-to-format-phone-number-in-javascript/ | |
Alterado para pt-br | |
static formatNumber(number){ | |
// número = +5599999999999 | |
const cleaned = ('' + number).replace(/\D/g, ''); | |
// número = 5599999999999 | |
const match = cleaned.match(/^(\d{2})(\d{2})(\d{4}|\d{5})(\d{4})$/); | |
// número = 55 99 99999 9999 |