品牌名称 | DELL 2209wa | LG 27UL600 | 索璞便携显示器 | DELL U2718q 同款 LG 面板组装显示器 |
---|---|---|---|---|
购买时间 | 2011年 | 2019年 | 2019年 | 2020年6月 |
尺寸 | 22 | 27 | 15.6 | 27 |
比例 | 16:10 | 16:9 | 16:9 | 16:9 |
分辨率 | 1680x1050 | 3840x2160 Ultra HD(UHD)/4k/2160p |
3840x2160 Ultra HD(UHD)/4k/2160p |
3840x2160 Ultra HD(UHD)/4k/2160p |
驱动板 | - | - | - | 松冠 |
面板型号 | - | - | NV140QUM-N61 | LM270WR5-SSB1 |
面板类型 | IPS | IPS | IPS | IPS |
亮度 | 300 cd/m2 | 400 cd/m2 | 400 cd/m2 | 350 cd/m2 |
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
#!/usr/bin/env bash | |
# | |
# icyleaf | |
# 2020-02-03 | |
# | |
VM_NAME=$1 | |
IMG_FILE=$2 | |
IMG_PATH=`dirname $IMG_FILE` | |
IMG_NAME=`basename $IMG_FILE` |
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
# 获取 apk 的证书 | |
keytool -list -printcert -jarfile app.apk | |
# 获取 apk 解包后 CERT.{RSA|DSA} 的证书 | |
keytool -printcert -file app/META-INF/CERT.{RSA|DSA} | |
# 获取 keystore 的证书 | |
keytool -list -keystore app.keystore -storepass {password} |
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
[ | |
{ | |
"backcolor": "#222222", | |
"name": "Wanyoo yKeyboard 78 key", | |
"author": "icyleaf", | |
"pcb": false | |
}, | |
[ | |
{ | |
"c": "#282828", |
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 <netdb.h> | |
#include <ifaddrs.h> | |
#include <arpa/inet.h> | |
+ (NSArray *)loopUpIPAddress:(NSURL *)url { | |
NSMutableArray *ipAddrs = [[NSMutableArray alloc] init]; | |
char **pptr; | |
struct hostent *_host = gethostbyname([[url host] UTF8String]); | |
pptr = _host->h_addr_list; |
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
image = MiniMagick::Image.open('source.jpg') | |
image.colorspace 'gray' | |
pixels = image.get_pixels | |
0.upto(image.height - 1) do |y| | |
image.combine_options do |c| | |
0.upto(image.width - 1) do |x| | |
color = pixels[y][x][0] |