# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12
# Set a blazingly fast keyboard repeat rate
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
#!/bin/bash | |
# 取得 commit message 的檔案路徑 | |
COMMIT_MSG_FILE=$1 | |
# 如果是 cherry-pick,直接退出,保留原有的 commit message | |
if [[ "$(git rev-parse --verify -q CHERRY_PICK_HEAD)" ]]; then | |
echo "檢測到 cherry-pick 操作,跳過自動生成 commit message" | |
exit 0 | |
fi |
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
/** | |
* Slack App Setting | |
* Enable Socket Mode | |
* Enable Event Subscriptions | |
* OAuth & Permissions: app_mentions:read, chat:write | |
* @slack/bolt requires at least NodeJs version 12.13.0 | |
*/ | |
const { App } = require('@slack/bolt'); | |
const request = require('request'); | |
const OPENAI_API_KEY = process.env.OPENAI_API_KEY; |
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
/** | |
* Slack App Setting | |
* Enable Socket Mode | |
* Enable Event Subscriptions | |
* OAuth & Permissions: app_mentions:read, chat:write | |
* @slack/bolt requires at least NodeJs version 12.13.0 | |
*/ | |
const { App } = require('@slack/bolt'); | |
const request = require('request'); | |
const OPENAI_API_KEY = process.env.OPENAI_API_KEY; |
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
I am attesting that this GitHub handle kvzhuang is linked to the Tezos account tz1S5VSHj3AthSBhWeJBWGfooUC5kxF219Cq for tzprofiles | |
sig:edsigtjucapJZayhFweozDbg5PGQVzbeeMSCZ25L44H1S6wjiuUxF5dPizs2f7aNc44kGo2Jop7hctcuVtJz8Q3p4E7JeFH7jMn |
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
--- | |
riskControls: | |
sessionBased: | |
ftx: | |
orderExecutor: | |
bySymbol: | |
XRPUSDT: | |
# basic risk control order executor | |
basic: | |
minQuoteBalance: 100.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
{"lastUpload":"2020-03-12T08:08:37.698Z","extensionVersion":"v3.4.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
public class SuperDashboard extends JFrame implements MetaDataUser { | |
public Component getLastFocusedComponent() | |
public void setLastFocused(Component lastFocused) | |
public int getMajorVersionNumber() | |
public int getMinorVersionNumber() | |
public int getBuildNumber() | |
} |
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 literatePrimes; | |
import java.util.ArrayList; | |
public class PrimeGenerator { | |
private static int[] primes; | |
private static ArrayList < Integer > multiplesOfPrimeFactors; | |
protected static int[] generate(int n) { | |
primes = new int[n]; | |
multiplesOfPrimeFactors = new ArrayList < Integer > (); | |
set2AsFirstPrime(); | |
checkOddNumbersForSubsequentPrimes(); |
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
<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<VAST version=\"2.0\"><Ad id=\"41452694-1802496\" ><InLine><AdSystem version=\"1.0\">SpotXchange</AdSystem><AdTitle><![CDATA[Turn]]></AdTitle><Description><![CDATA[]]></Description><Creatives><Creative sequence=\"1\"><Linear><Duration>00:00:30</Duration><AdParameters><![CDATA[{\"client_playback\":{\"ados\":{\"client_side\":{\"feed_timeout\":2000,\"load_timeout\":120000,\"total_timeout\":15000}}},\"listing\":[{\"ad_id\":\"1815816\",\"title\":\"Xaxis SEA New Tag - TW - $4\",\"page_url\":\"http:\\/\\/tw4.xaxis.com\",\"media\":{\"ad_source\":\"rtb\",\"syn\":{\"video_uri_required\":1},\"tracking\":{\"video_valid_first_frame\":1,\"beacon\":{\"0\":{\"type\":\"skip\",\"beacon_url\":\"http:\\/\\/search.spotxchange.com\\/beacon?_a=192459&_p=spotx&_z=1&_m=eNpFj1FrwjAQx%2FNZ%2Bry2ucs1NcJeNwauoFRGfSkxDRqdrdgWXbd99i1VxHs4uP%2F9jh9HEeeMMSCFxIm4ZCCUXdOEUKACsKlWaw1aJwat5ZynDDyaKJZ%2FMACKhIxATiKAlG277jiNY7fpdb2JunPcx4SeEUmsT50znzZm30Hf2lO56V0VTAMhkwSRG%2BSIo0vRmjyvtBH44it4uuGuLWt79g |
NewerOlder