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
| { | |
| "numbers": { | |
| "integer": "$integer", | |
| "float": "$floating" | |
| }, | |
| "array": { | |
| "$array": { | |
| "of": { | |
| "$country": { | |
| "full": true |
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
| plugins { | |
| id 'java' | |
| id 'application' | |
| } | |
| mainClassName = 'App' | |
| dependencies { | |
| testCompile 'junit:junit:4.12' | |
| } |
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
| (require 'package) | |
| ;;; Code: | |
| (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
| (not (gnutls-available-p)))) | |
| (proto (if no-ssl "http" "https"))) | |
| ;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired | |
| (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t) | |
| ;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t) | |
| (when (< emacs-major-version 24) | |
| ;; For important compatibility libraries like cl-lib |
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
| version=$(shell git describe --always --long --dirty) | |
| date=$(shell date -j "+(%b %Y)") | |
| all: | |
| @go build -v -ldflags '-X "main.version=${version}" -X "main.date=${date}"' | |
| install: | |
| @go install -v -ldflags '-X "main.version=${version}" -X "main.date=${date}"' |
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
| function sleep(ms) { | |
| return new Promise((resolve, reject) => { | |
| console.log(`Sleeping for ${ms} ms...`) | |
| setTimeout(() => resolve('Done sleeping'), ms) | |
| }) | |
| } | |
| const run = async function() { | |
| console.log('Run start') | |
| const res = await sleep(2000) |
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
| ;;; -*- lexical-binding: t -*- | |
| (custom-set-variables | |
| ;; custom-set-variables was added by Custom. | |
| ;; If you edit it by hand, you could mess it up, so be careful. | |
| ;; Your init file should contain only one such instance. | |
| ;; If there is more than one, they won't work right. | |
| '(custom-enabled-themes '(leuven-dark)) | |
| '(fido-mode t) | |
| '(fido-vertical-mode t) | |
| '(global-display-line-numbers-mode t) |
OlderNewer