Skip to content

Instantly share code, notes, and snippets.

View nietaki's full-sized avatar
😌
purposeful

Jacek Królikowski nietaki

😌
purposeful
View GitHub Profile
@nietaki
nietaki / rebar-reltool-relase-notes.md
Created January 30, 2016 16:23 — forked from ToddG/rebar-reltool-relase-notes.md
using rebar to create an erlang app with a dependency, and then starting a release created with reltool

Summary

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

Keybase proof

I hereby claim:

  • I am nietaki on github.
  • I am nietaki (https://keybase.io/nietaki) on keybase.
  • I have a public key ASApsIeIUzBCJLU6yHqbja6JtBrSVjjHnWApvN8x7JCkWAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am nietaki on github.
  • I am nietaki (https://keybase.io/nietaki) on keybase.
  • I have a public key ASDOOX2N52x1hpreG-_F0sRXBHL5frFuA-SThCpI2A6mgwo

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/
@nietaki
nietaki / init.coffee
Last active April 19, 2023 21:00
automatic atom config update by http://atom.io/packages/sync-settings
# 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 ->
@nietaki
nietaki / cloudSettings
Last active July 5, 2018 16:29
Visual Studio Code Settings Sync Gist
{"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]);
}