Complete guide on how to deploy a node app in an Ubuntu server using flightplan can be found here:
Instructions of how to set-up environments etc.
Accessible from the web: http://hostname:8081 through mongo-express and you can connect with a mongodb client like robo 3T in hostname:27017
.
To run:
docker-compose -f mongo.yml up
Checkout all the packages in the default conda environment:
conda list
Upgrading conda and packages:
conda upgrade conda
conda upgrade --all
Installing packages examples:
This file contains 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
{ | |
"ignore": [ | |
"**/deps/**", | |
"**/node_modules/**", | |
"**/thirdparty/**", | |
"**/third_party/**", | |
"**/bower_components/**", | |
"**/vendor/**", | |
"**/vendors/**", | |
"**/**-min-**", |
This file contains 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
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains 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
const Octokit = require('@octokit/rest') | |
const rp = require('request-promise') | |
const fs = require('fs') | |
function sleep (ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)) | |
} | |
const baseUrl = 'https://api.github.com' | |
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }) |
This file contains 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 main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"net/http/httputil" | |
"os" | |
"strings" |
This file contains 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 needed for visualization purposes | |
sigmoid = function(params, x) { | |
params[1] / (1 + exp(-params[2] * (x - params[3]))) | |
} | |
x = 1:53 | |
y = c(0,0,0,0,0,0,0,0,0,0,0,0,0,0.1,0.18,0.18,0.18,0.33,0.33,0.33,0.33,0.41, | |
0.41,0.41,0.41,0.41,0.41,0.5,0.5,0.5,0.5,0.68,0.58,0.58,0.68,0.83,0.83,0.83, | |
0.74,0.74,0.74,0.83,0.83,0.9,0.9,0.9,1,1,1,1,1,1,1) |
The goal of the CodRep 2019 competition was to predict formatting errors in source code.
We were given 8000 Java files with one formatting error in each one and another file (out.txt
) that contained the character position the formatting error existed. For example, in the snippet below, the error (unnecessary space) is found in position 30:
OlderNewer