tree
.
├── build.gradle
├── gradle
│ └── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
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
| ;;; Move a file atomically in Clojure. | |
| ;; This will also replace the target file if it exists since REPLACE_EXISTING is included in the options at the end. | |
| ;; user.dir == current working directory (on Linux at least). | |
| (let [source-filename (str (System/getProperty "user.dir") "/source.txt") | |
| target-filename (str (System/getProperty "user.dir") "/target.txt") | |
| source-file (java.nio.file.Paths/get (java.net.URI/create (str "file://" source-filename))) | |
| target-file (java.nio.file.Paths/get (java.net.URI/create (str "file://" target-filename)))] | |
| (java.nio.file.Files/move source-file target-file |
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
| ;; implementing a React component in pure cljs, no reagent necessary | |
| ;; using goog.object.extend to create a ES6 class that inherits from | |
| ;; React.Component | |
| ;; credit to @thheller | |
| (defn MyReact [props context updater] | |
| (this-as this | |
| (js/React.Component.call this props context updater))) |
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
| package org.gennai.audio_analyzer.analysis; | |
| import java.io.IOException; | |
| import java.util.List; | |
| import java.util.stream.Collectors; | |
| import javax.sound.sampled.LineUnavailableException; | |
| import javax.sound.sampled.UnsupportedAudioFileException; | |
| import org.gennai.audio_analyzer.analysis.AudioTest.Audio; |
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
| Prefix | Description | Notes | |
|---|---|---|---|
| ac_ | Platform Client ID | Identifier for an auth code/client id. | |
| acct_ | Account ID | Identifier for an Account object. | |
| aliacc_ | Alipay Account ID | Identifier for an Alipay account. | |
| ba_ | Bank Account ID | Identifier for a Bank Account object. | |
| btok_ | Bank Token ID | Identifier for a Bank Token object. | |
| card_ | Card ID | Identifier for a Card object. | |
| cbtxn_ | Customer Balance Transaction ID | Identifier for a Customer Balance Transaction object. | |
| ch_ | Charge ID | Identifier for a Charge object. | |
| cn_ | Credit Note ID | Identifier for a Credit Note object. |
OlderNewer