dockerId(){docker ps | grep $1 | awk '{print $1}'; };
dockerEXEC(){docker exec -it $(dcid $1) $2; };
dockerLOG(){docker logs -f $(dcid $1); };
alias dcid='dockerId $1'
alias dcexec='dockerEXEC'
alias dclog='dockerLOG'
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
<html> | |
<body> | |
<form id="login-form"> | |
Username: <input name="username" /> | |
Password: <input name="password" /> | |
<button type="submit">Submit</button> | |
</form> |
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
#include <iostream> | |
#include <Eigen/Dense> | |
//#include <mpi.h> | |
#include <fstream> | |
#include <ntsid.h> | |
#include <omp.h> | |
#include <vector> | |
using std::cin; |
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
/** | |
* Created by mustafaatik on 01/05/2017. | |
*/ | |
public class ShortestSequence { | |
public static void main(String[] args) { | |
turnTo("dcabe", "abcde"); | |
turnTo("abcdefghjk", "kjhgfedcba"); | |
turnTo("abcdefghjkm", "mkjhgfedcba"); | |
// EXPECTED OUTPUT |
Example of matrix factorization
https://www.youtube.com/watch?v=o8PiWO8C3zs&t=291s
Singular Value Decomposition (the SVD) by Gilbert Strang
https://www.youtube.com/watch?v=mBcLRGuAFUk
Reza Zadeh - Spark and Matrix Factorization
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
python setup.py bdist_wheel --universal | |
python setup.py sdist bdist_wheel upload | |
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
{ | |
"auto_complete_function_params": "all", | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": ".", | |
"selector": "source.python" | |
} | |
], | |
"color_scheme": "Packages/User/Monokai (SL).tmTheme", |
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
import socket | |
import select | |
class Server(object): | |
def __init__(self): | |
self.port = 8002 | |
self.socket = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) | |
self.socket.setsockopt( socket.SOL_SOCKET, socket.SO_REUSEADDR, 1 ) | |
self.socket.bind(('', self.port)) | |
self.socket.listen(5) |
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
[ | |
{ | |
"city": "Oranjestad", | |
"code": "AW" | |
}, | |
{ | |
"city": "Kabul", | |
"code": "AF" | |
}, | |
{ |
NewerOlder