-
На iOS устройствах числовые значения подчёркиваются синим. Эта проблема возникает из-за того, что iOS устройства по умолчанию считают все числа похожие на телефонные номера - телефонными номерами. Решается добавлением
<meta name="format-detection" content="telephone=no" />
Тоже самое касается адреса:<meta name="format-detection" content="address=no" />
-
Пользователь может уменьшать и увеличивать приложение. Решается добавляением тега
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
-
Ссылки нажимаются с задержкой (примерно 300ms). Решается подпиской на событие touchstart и принудительной инициализацией события click после него. Если проблема всё равно возникает - ничего не поделать, надо облегчать dom. Как вариант - можно использовать библиотеку, посоветанную @adubovsky ниже в комментариях: https://gist.github.com/SerafimArts/de9900f99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# CHANGE THESE | |
app_package="com.example" | |
dir_app_name="AppName" | |
MAIN_ACTIVITY="ActivityMain" | |
ADB="adb" # how you execute adb | |
ADB_SH="$ADB shell su -c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdio> | |
#include <windows.h> | |
using namespace std; | |
static int a[3][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}; | |
int extremal = 0, player; | |
char* Rus(const char* text); | |
void win(int d) { | |
int tr, kol1 = 0, kol2 = 0; | |
if (d == 10) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Headers: Content-Type, Accept'); | |
header('Access-Control-Allow-Methods: POST'); | |
header('Content-Type: application/xml; charset=utf-8'); | |
$dataPOST = trim(file_get_contents('php://input')); | |
$xmlData = simplexml_load_string($dataPOST); | |
// Разного рода дополнительных проверок здесь нет |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from 'firebase-functions'; | |
import * as admin from 'firebase-admin'; | |
import * as fs from 'fs'; | |
import * as path from 'path'; | |
import * as os from 'os'; | |
import mkdirpPromise from 'mkdirp-promise'; | |
import {spawn} from 'promisify-child-process'; | |
import {ObjectMetadata} from "firebase-functions/lib/providers/storage"; | |
admin.initializeApp(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package androidovshchik.getlink | |
import android.annotation.SuppressLint | |
import android.content.Intent | |
import android.graphics.PointF | |
import androidx.appcompat.app.AppCompatActivity | |
import android.os.Bundle | |
import android.view.MotionEvent | |
import kotlinx.android.synthetic.main.activity_main.* | |
import timber.log.Timber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
set_time_limit(0); | |
require __DIR__ . '/vendor/autoload.php'; | |
$file = $_GET['file']; | |
$code = $_POST['code']; | |
$name = $_POST['name']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.iqsolution.tkoonline.data.local | |
import android.util.Base64 | |
import timber.log.Timber | |
import javax.crypto.Cipher | |
import javax.crypto.spec.IvParameterSpec | |
import javax.crypto.spec.SecretKeySpec | |
object AESCBCPKCS7 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <jni.h> | |
#include <cerrno> | |
#include "Colfer.h" | |
colfer_text main_text(JNIEnv *env, jobject obj, jfieldID id1) { | |
colfer_text text; | |
auto string = (jstring) env->GetObjectField(obj, id1); | |
const char *chars = env->GetStringUTFChars(string, nullptr); | |
text.utf8 = chars; | |
text.len = strlen(chars); |
OlderNewer