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)
Delete all containers | |
docker rm $(docker ps -a -q) | |
Delete all images | |
docker rmi $(docker images -q) |
add to .vimrc file | |
:set mouse=a |
xterm*faceName: Monospace | |
xterm*faceSize: 14 | |
xterm*background: rgb:34/98/db | |
xterm*foreground: rgb:ec/f0/f1 | |
xterm*rightScrollBar: true | |
xterm*ScrollBar: true | |
xterm*scrollTtyOutput: false | |
xterm*VT100.Translations: #override \ | |
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\ | |
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) |
nohup nodemon --exec babel-node index < /dev/null & |
auto sprite = Sprite::create("HelloWorld.png"); | |
auto listener1 = EventListenerTouchOneByOne::create(); | |
listener1->onTouchBegan = [](Touch* touch, Event* event){ | |
auto sprite = event->getCurrentTarget(); | |
Point pt = touch->getLocation(); | |
Vector <Sprite *> spriteArray; | |
for(int i=0;i<5;i++) | |
{ | |
auto sprite = Sprite::create("ball.png"); | |
spriteArray.pusbBack(); | |
} | |
int k = 1; |
Size visibleSize = Director::getInstance()->getVisibleSize(); | |
Vec2 origin = Director::getInstance()->getVisibleOrigin(); | |
auto sprite = Sprite::create("ball.png"); | |
sprite->setPosition(Vec2(visibleSize.width / 2 + origin.x, | |
visibleSize.height / 2 + origin.y)); |
#include <iostream> | |
#include <string> | |
#include <map> | |
#include <vector> | |
using namespace std; | |
class Array | |
{ | |
vector<map<string,string>> array; |
nc -vz -u 127.0.0.1 4500 |