adb shell wm size 1080x2340
adb shell wm density 440
This file contains hidden or 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
file --mime-type -b {file_path} |
This file contains hidden or 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 <Wire.h> | |
#include <BMI160Gen.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#include <NTPClient.h> | |
#include <WiFiUdp.h> | |
#include <TimeLib.h> | |
const int i2c_addr_1 = 0x68; // BMI160 I2C 地址 | |
const int i2c_addr_2 = 0x69; // BMI160 I2C 地址 |
This file contains hidden or 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 bpy | |
from math import radians | |
bpy.ops.object.mode_set(mode='POSE') | |
for bone in bpy.data.objects['body_structure'].pose.bones: | |
bone.rotation_mode = 'XYZ' | |
bone.rotation_euler = (radians(0), radians(0), radians(0)) | |
bpy.context.view_layer.update() |
This file contains hidden or 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
class Status: | |
def __init__(self, hunger, health, stamina, age): | |
self._hunger = hunger | |
self._health = health | |
self._stamina = stamina | |
self._age = age | |
class Task: | |
def __init__(self, name, status): |
This file contains hidden or 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
var r = []; | |
for (var i = 0; i < a.length; i++) { | |
var httpRequest = new XMLHttpRequest(); | |
r.push(httpRequest); | |
var url = a[i]; | |
httpRequest.onreadystatechange = () => { | |
var t = document.createElement("t"); | |
var url_title = document.createElement("p"); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>little card game</title> | |
</head> | |
<body> | |
<style type="text/css"> | |
* | |
{ | |
margin: 0; |
This file contains hidden or 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 glob | |
import os | |
files = glob.glob("kit-wav2vec2-label-16k/*.wav") | |
files_mapping = [] | |
for name in files: | |
_name = name.split(os.sep) | |
_sources, name = _name[len(_name) - 1].split("__") |
This file contains hidden or 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 audeer | |
import audonnx | |
import librosa | |
import glob | |
import os | |
url = 'https://zenodo.org/record/6221127/files/w2v2-L-robust-12.6bc4a7fd-1.1.0.zip' | |
model_path = './model.zip' | |
audeer.download_url( |
This file contains hidden or 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
.css-selector | |
{ | |
--color-a: #d4fff8; | |
--color-b: #ffdeff; | |
--color-c: #ffe6e6; | |
--color-d: #007a65; | |
--color-e: #7f0e7f; | |
--color-f: #ff8983; | |
background-image: linear-gradient(45deg,var(--color-a),var(--color-b),var(--color-c)),linear-gradient(45deg,var(--color-d),var(--color-e),var(--color-f)); | |
} |