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
git log --pretty=oneline | |
git rebase -i <hash_commit> | |
git rebase --continue | |
git push <remote_repo> <remote_branch> -f |
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
First Try | |
mv Dockerfile-dev Dockerfile | |
docker build -t landoui:latest . | |
docker images | |
python 3.5-alpine 4a9a1b06fdf7 4 weeks ago 88.7MB |
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
http://neuroph.sourceforge.net/ | |
https://censorcosmico.blogspot.pe/2014/02/neurona-artificial-i.html | |
https://www.xataka.com/robotica-e-ia/las-redes-neuronales-que-son-y-por-que-estan-volviendo | |
http://www.cs.us.es/~fsancho/?e=104 |
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
C++ Books | |
https://tfetimes.com/free-c-books/ | |
http://bookboon.com/en/c-cpp-csharp-ebooks | |
http://www.linuxlinks.com/article/20130208155256300/9oftheBestFreeC++-Part1.html | |
http://freecomputerbooks.com/langCppBooks.html | |
http://www.onlineprogrammingbooks.com/cplusplus/ | |
http://www.freetechbooks.com/c-c-f3.html | |
https://www.ossblog.org/master-c-programming-with-open-source-books/ |
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
b = open("US_births_1994-2003_CDC_NCHS.csv") | |
data = b.read() | |
data.split("\n") | |
def read_csv(filename): | |
b = open(filename) | |
data = b.read() | |
string_list = data.split("\n") | |
final_list = [] | |
data_no_header = string_list[1:len(string_list)] |
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
$ curl -sSL https://hyperledger.github.io/composer/install-hlfv1.sh | bash | |
PAYLOAD_LINE=104 | |
PAYLOAD_START=105 | |
Development only script for Hyplerledger Fabric control | |
Running 'downloadFabric.sh' | |
FABRIC_VERSION is unset, assuming hlfv1 | |
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds) | |
# Grab the current directory. | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
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
13:42 marti_ hello | |
13:42 steveklabnik hi! | |
13:43 marti_ which issues I can contribute | |
13:43 marti_ for help documentation | |
13:44 steveklabnik so! | |
13:44 steveklabnik https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-doc is the general label for doc issues | |
13:44 steveklabnik https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-doc+label%3AE-easy is a marker for easier issues | |
13:44 steveklabnik in general, tackling any of those at all would be great! | |
13:45 marti_ https://github.com/rust-lang/rust/issues/42322 is easy? |
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
use krate::Crate; | |
use schema::badges; | |
use util::CargoResult; | |
use diesel::pg::{Pg, PgConnection}; | |
use diesel::prelude::*; | |
use serde_json; | |
use std::collections::HashMap; | |
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] |
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
carols10cents not badge | |
13:27 carols10cents this is the enum Badge https://github.com/rust-lang/crates.io/pull/742/commits/a1d7369f5e9438f16809019237d82844cf4e1ac4#diff-68c934f3899c13c8d72930915a443876L12 | |
13:27 carols10cents instead of adding 8 variants to the enum Badge | |
13:27 carols10cents add 1 variant named Maintenance to the enum Badge | |
13:28 carols10cents that will look like `Maintenance { value: String }` | |
13:30 carols10cents or maybe `Maintenance { value: MaintenanceValue }` | |
13:30 carols10cents and in that case define a new enum MaintenanceValue | |
13:30 carols10cents that has variants ActivelyDeveloped, PassivelyMaintained, Experimental, etc.. | |
13:30 carols10cents i'm not sure which will work better with serde | |
13:31 carols10cents does that make sense? |
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
// get all rows | |
var query = firebase.database().ref("result").orderByKey(); | |
query.once("value") | |
.then(function(snapshot) { | |
snapshot.forEach(function(childSnapshot) { | |
// key will be "ada" the first time and "alan" the second time | |
var key = childSnapshot.key; | |
// childData will be the actual contents of the child | |
var childData = childSnapshot.val(); | |
console.log(childData) |