I'm trying to figure out how to use rebar to:
- create erlang project
- add a dependency on an erlang module from github
- start the app via the erl console
- create a release and start the app from the release (via the generated scripts)
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
defmodule EvilModuleCompiledInAtRuntime do | |
@all_your_base """ | |
/+++++++++++++++++++++++++++++++/`...``-``...-..-...-..`` `+++++++++++++++++++++++++++++++++++++++/ | |
+sssssssssssssssssssssssssssssss:-`-.`.:........-....-..` `sssssssssssssssssssssssssssssssssssssss/ | |
+sssssssssssssssssssssssssssssss.-`-.`.-.-.-..-.-.......` `ossssssssssssssssssssssssssssssssssssss/ | |
+sssssssssssssssssssssssssssssss..`-.`..-.--..-.`..-.... +ssssssssssssssssssssssssssssssssssssss/ | |
+sssssssssssssssssssssssssssssss.``-.....---//:::----.`` ` +ssssssssssssssssssssssssssssssssssssss/ | |
+sssssssssssssssssssssssssssssss:.`-`..-:/::+o+oooo+/:.` ` -sssssssssssssssssssssssssssssssssssssss/ | |
+sssssssssssssssssssssssssssssss+`-...../--/o+/+oooo//-.` .:+ossssssssssssssssssssssssssssssssssss/ |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
{"lastUpload":"2018-07-05T16:29:37.163Z","extensionVersion":"v2.9.2"} |
https://my.pcloud.com/#page=puplink&code=4tvZTrwxhAmIOn0mAATwUzeMEXARCcqk | |
bdbd |
public class Solution { | |
public int solution(int[] radiuses) { | |
int length = radiuses.length; | |
int[] startCounts = new int[length]; | |
int[] endCounts = new int[length]; | |
// make sure there's no overflows | |
for (int i = 0; i < length; i++) { | |
radiuses[i] = Math.min(length, radiuses[i]); | |
} |