Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
const { AndroidConfig, withAndroidManifest } = require('@expo/config-plugins'); | |
function addSupportedDevices(androidManifest, attributes) { | |
const { manifest } = androidManifest; | |
if (!manifest) { | |
throw new Error( | |
'Cannot set custom supported devices because AndroidManifest.xml is malformed.', | |
); | |
} |
sizeFormatter = new Intl.NumberFormat([], { | |
style: "unit", | |
unit: "byte", | |
notation: "compact", | |
unitDisplay: "narrow", | |
}); | |
(_bytes) => { | |
const units = { B: " bytes", KB: " kb", MB: " mb", GB: " gb", TB: " tb" }; | |
const parts = sizeFormatter.formatToParts(_bytes); |
# mode: rule | |
# mixed-port: 7890 | |
# allow-lan: false | |
# log-level: info | |
# ipv6: false | |
# secret: "在此修改访问令牌" | |
# external-controller: 0.0.0.0:9090 | |
# external-ui: /usr/share/yacd-meta/ | |
dns: |
This help only covers the parts of GLSL ES that are relevant for Shadertoy. For the complete specification please have a look at GLSL ES specification
Version: WebGL 2.0
Arithmetic: ( ) + - ! * / %
Logical/Relatonal: ~ < > <= >= == != && ||
Bit Operators: & ^ | << >>
Comments: // /* */
Types: void
bool
int
uint
float
vec2
vec3
vec4
bvec2
bvec3
bvec4
ivec2
ivec3
ivec4
uvec2
uvec3
uvec4
mat2
mat3
mat4
mat?x?
sampler2D,
sampler3D
samplerCube
Format: float a = 1.0; int b = 1; uint i = 1U; int i = 0x1;
import okhttp3.Call | |
import okhttp3.Callback | |
import okhttp3.Response | |
import java.io.IOException | |
import java.util.concurrent.CompletableFuture | |
fun Call.executeAsync(): CompletableFuture<Response> { | |
val future = CompletableFuture<Response>() | |
enqueue(object : Callback { | |
override fun onResponse(call: Call, response: Response) { |
Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggerganov/llama.cpp#5962
In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.
See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix
1. Получаем хэш-код коммита, к которому хотим вернуться. | |
2. Заходим в папку репозитория и пишем в консоль: | |
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a | |
$ git push --force |
package com.unascribed.brokenhash; | |
import java.math.BigInteger; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.nio.charset.StandardCharsets; | |
/** | |
* Generates a broken Minecraft-style twos-complement signed |
/* Demo app for Writing an OpenSSL aplication | |
* Compile with: | |
* gcc app.c -lcrypto | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <openssl/evp.h> |