- Vesa-mountable
- Ultrawide 21:9 34" / 32:9 49"
- 3440x1440 @2x / 5120x1440 @2x (so: 6880x2880 / 10240x2880)
- 1800R
- Retina
- OLED
- IPS
- 10-bit color
- Continuous 1600+ nits HDR / 600 SDR over whole display for all content with no dimming compensation
- 165+ Hz
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
[ValheimPlus] | |
; Change false to true to enable this section. https://valheim.plus/documentation/list#ValheimPlus | |
enabled = true | |
; Display the Valheim Plus logo in the main menu | |
mainMenuLogo = true | |
; Display the advertisement of our server hosting partner on the server browser menu | |
serverBrowserAdvertisement = true |
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
use std::{path::PathBuf, fs::File, env, collections::HashMap, rc::Rc, cell::RefCell, fmt::Display}; | |
use itertools::Itertools; | |
use fastanvil::*; | |
use rayon::prelude::{ParallelIterator, IntoParallelIterator}; | |
#[derive(Clone, Eq, PartialEq, Debug)] | |
struct BlockDescriptor { | |
name: String, | |
x: i64, |
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
<meta charset="utf-8"> | |
<style> | |
.square-root { | |
--n: 0; | |
--guess-0: 1; | |
--guess-1: calc(0.5 * calc(var(--guess-0) + calc(var(--n) / var(--guess-0)))); | |
--guess-2: calc(0.5 * calc(var(--guess-1) + calc(var(--n) / var(--guess-1)))); | |
--guess-3: calc(0.5 * calc(var(--guess-2) + calc(var(--n) / var(--guess-2)))); | |
--guess-4: calc(0.5 * calc(var(--guess-3) + calc(var(--n) / var(--guess-3)))); |
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 rewriting | |
import ( | |
"exprparser/expr" | |
) | |
// eliminateSupersets Eliminates supersets from the expression tree | |
// | |
// Given the expression: | |
// (A || B) && (A || B || C) && (A || 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
async function renderToString(vnodes) { | |
const el = document.createElement("div") | |
return new Promise(resolve => { | |
createApp({ | |
setup() { | |
onMounted(() => resolve(el.innerHTML) | |
return () => vnodes | |
}, | |
}).mount(el) | |
}) |
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 { createApp, configureCompat } from "vue" | |
configureCompat({ MODE: 3 }) | |
const app = createApp({ | |
setup() { | |
return { | |
// stuff | |
} | |
} |
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
Show hidden characters
// If you're using typescript or ts-check you can alias the composition api package as well: | |
{ | |
"compilerOptions": { | |
// … other stuff omitted for brevity … | |
// Ensure your base url is set | |
"baseUrl": ".", | |
"paths": { | |
// Add composition API to your compiler options and alias it to the vue 3 install | |
// The path is relative to `baseUrl` above |
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
const mix = require("laravel-mix") | |
mix.site = (id, callback) => { | |
if (!process.env.SITE || process.env.SITE === id) { | |
return callback() | |
} | |
}; | |
mix.site('admin', () => { | |
mix.js("resources/js/admin/app.js", "public/js/admin.js") |
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
#!/usr/bin/env swift | |
import Foundation | |
let df = DateFormatter() | |
df.locale = Locale(identifier: "en_US") | |
df.timeZone = TimeZone(identifier: "Antarctica/Casey") | |
df.setLocalizedDateFormatFromTemplate("zzzz") | |
print("\(String(describing: df.timeZone))") | |
print(df.string(from: Date())) |
NewerOlder