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
[buildPlans.iosevka-custom] | |
family = "Iosevka Custom" | |
spacing = "normal" | |
serifs = "sans" | |
no-cv-ss = true | |
export-glyph-names = false | |
[buildPlans.iosevka-custom.variants.design] | |
capital-d = "more-rounded-serifless" | |
capital-g = "toothless-corner-serifless-hooked" |
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
(defun -apply-window-configuration (conf window) | |
(defun -split-to-windows (conf window) | |
(if (null conf) | |
nil | |
(let* ((this-split (car conf)) | |
(new-window | |
(cond ((eq (car this-split) 'column) | |
(split-window-right nil window)) | |
((eq (car this-split) 'row) | |
(split-window-below nil window)) |
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
<!DOCTYPE html> | |
<html lang="zh-CN"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>My test page</title> | |
<script> | |
function draw() | |
{ | |
const canvas = document.getElementById("tutorial"); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# DS4Emulator by r57zone | |
# ReadMe: https://github.com/r57zone/DualShock4-emulator | |
# Key codes: https://github.com/r57zone/Half-Life-Alyx-novr/blob/master/BINDINGS.md | |
# Support the project: https://r57zone.github.io/support.html | |
[Main] | |
ExitBtn=112 | |
InvertX=0 | |
InvertY=0 |
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
[email protected] | |
Valid | |
1234567890123456789012345678901234567890123456789012345678901234@iana.org | |
Valid | |
[email protected],com | |
Invalid | |
"first\"last"@iana.org | |
Valid | |
first\@[email protected] | |
Invalid |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 zsh | |
convert -size 1292x928 xc:black -fill white -draw "path 'M 200,0 C 200,800 1500,720 1500,1100 V 2000 H 2000 V -20 H 200 L 200,0'" mask.png | |
composite dark.png light.png mask.png test.png | |
convert test.png \( light.png -channel a -separate +channel \) -alpha off -compose CopyOpacity -composite shot.png | |
rm test.png mask.png |
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] | |
name = "jqm-cutter" | |
version = "0.1.0" | |
authors = ["MetroWind <[email protected]>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
image = ">=0.24" |
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 <vector> | |
#include <iomanip> | |
int sumSqDigits(int n) | |
{ | |
int result = 0; | |
while(n > 0) | |
{ | |
int digit = n % 10; |
NewerOlder