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
(async function main (downloadOnlyCurrentPeriod = true) { | |
const LOADING_TIMER = 1000 | |
function getPeriod () { | |
const billingPeriodEle = document.querySelector('.custom-select') | |
if (!billingPeriodEle) { | |
alert('找不到帳單週期,程式終止 -____-') | |
return | |
} | |
// value === '/dashboard/revenues/periods/YYYY-MM-DD' |
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
@-moz-document domain("www.facebook.com") { | |
html { | |
font-size: 18px; | |
} | |
div[role="article"] div[dir="auto"] { | |
line-height: 1.5; | |
} | |
} |
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
@-moz-document domain("askmiso.atlassian.net") { | |
img[alt="Medium"], | |
img[alt="Priority: Medium"] { | |
border-radius: 100%; | |
border: 1px solid #ea7d24; | |
} | |
img[alt="High"], | |
img[alt="Priority: High"] { | |
border: 1px solid #ea4444; |
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
@media screen and (min-width: 60rem) { | |
.election-board .eb-verify { | |
flex-direction: row; | |
} | |
.election-board .eb-verify .form { | |
width: 50vw; | |
padding: 0 4rem; | |
margin-top: 0; |
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
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
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
//@flow | |
import request from 'request' | |
import crypto from 'crypto' | |
import rp from 'request-promise' | |
export type AuthServiceConfig = { | |
authorizeEndpoint: string, | |
clientId: string, | |
audience: string, | |
scope: string, |
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 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
private void DoSomething(int number) | |
{ | |
for(int i=0; i<=number; i++) | |
{ | |
if(i%15 == 0) | |
{ | |
Console.WriteLine("InterFace"); | |
} | |
else if (i%3 == 0) | |
{ |