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 main | |
import ( | |
"fmt" | |
"syscall" | |
"unsafe" | |
) | |
var ( | |
user32 = syscall.NewLazyDLL("user32.dll") |
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
[ | |
{ | |
"N": "A", | |
"nC": 2, | |
"D": [ | |
{ | |
"CI": 0, | |
"PI": 0, | |
"X": 1346, | |
"Y": 53, |
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
Country, Language, Total, Has Ranking, CI Build Ok, Total %, Has Ranking %, CI Build Ok % | |
Global, All, 2520, 2405, 2027, 100,00 %, 100,00 %, 100,00 % | |
Global, Java, 551, 526, 458, 21,87 %, 21,87 %, 22,59 % | |
Global, Python, 525, 505, 446, 20,83 %, 21,00 %, 22,00 % | |
Global, C# / Mono, 334, 319, 290, 13,25 %, 13,26 %, 14,31 % | |
Global, JavaScript, 251, 235, 211, 9,96 %, 9,77 %, 10,41 % | |
Global, C++, 184, 183, 152, 7,30 %, 7,61 %, 7,50 % | |
Global, C, 141, 127, 113, 5,60 %, 5,28 %, 5,57 % | |
Global, Ruby, 98, 95, 81, 3,89 %, 3,95 %, 4,00 % |
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 name="viewport" content="width=device-width, initial-scale=1.0"> <!-- 沒有補上用調整大小或者設定成其他手機尺寸的時候,效果會不如預期 --> | |
<style> | |
/* 外層屬性可以對slot有影響,如果元件裡面有定義該屬性也是會被直接取代(以外層定義的為主),即便用了important也是一樣 */ | |
.item { | |
color: red; | |
} | |
</style> | |
<body> | |
<h2>範例一</h2> |
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
<!-- | |
https://www.w3schools.com/bootstrap/bootstrap_carousel.asp | |
--> | |
<style> | |
.carousel-container { | |
position: relative; | |
display: flex; | |
align-items: center; | |
/* background-image: linear-gradient(45deg, rgba(231, 49, 97, 1) 10%, rgba(236, 107, 34, 1), rgb(182, 163, 70)); 太亮 */ |
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
<script> | |
function formatDateRange(dateArray) { | |
if (dateArray.length < 2) { | |
return dateArray | |
} | |
const result = dateArray.reduce((acc, curDateStr, index, array) => { | |
const curDate = new Date(curDateStr) | |
if (acc.rangeEnd && curDate === acc.rangeEnd) { |
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
/** | |
* @typedef {Object} CalendarOptions | |
* @property {function(Calendar): void} execute | |
*/ | |
/** | |
* @typedef {Object} StyleOptions | |
* @property {(style: Object)=>{}} execute | |
*/ |
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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Vote</title> | |
</head> | |
<body> | |
<form action="/vote/" method="post"> |
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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Vote</title> | |
<style> | |
#calendar { | |
display: none; | |
position: absolute; |
NewerOlder