sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
Discover gists
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
- 更新
2024-05-20
- 作者
@voluntas
- バージョン
2024.1
- URL
- 更新
2022-03-18
- 作者
@voluntas
- バージョン
2022.1
- URL
| SoC | Snapdragon 8 Gen 3
(SM8650) | Snapdragon 8s Gen 3
(SM8635) | Snapdragon 8 Gen 2
(SM8550) | Snapdragon 7+ Gen 3
(SM7675-AB) | Snapdragon 7+ Gen 2
(SM7475-AB) | Snapdragon 7 Gen 3
(SM7550-AB) |
|----------------------|:---------------------------------------
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
artifactory_url = 'artifactory.com' # your artifactory instance | |
artifactory_username = 'username' # your username | |
artifcatory_password = 'password' # your password | |
content_type = 'application/java-archive' # your content-type header | |
filename = 'file' # your file to upload (in current working directory) | |
url = artifactory_url + '/' + filename # where we want the file stored on artifactory | |
# checksums are useful for making sure the upload was successful | |
headers = {'content-type': content_type, |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options change a | |
# default value. |
using System; | |
public class Preconditions { | |
Preconditions() { } | |
public static T CheckNotNull<T>(T reference) { | |
return CheckNotNull(reference, null); | |
} | |
public static T CheckNotNull<T>(T reference, string message) { |
原文:硅谷密探
硅谷Live / 实地探访 / 热点探秘 / 深度探讨
( Image : Killzone: Shadow Fall Review by Zac Davis )