clone repo git clone https://github.com/jawahar273/practNLPTools-lite.git
run the value of the file .env.test.bash
❯❯❯❯ cross-env NODE_ENV=production TEST=foo RAZZLE_TEST=bar node razzle_env.js | |
{ RAZZLE_TEST: 'bar' } |
from aquiladb import AquilaClient as acl | |
db = acl('localhost', 50051) | |
sample = db.convertDocument([0.1,0.2,0.3,0.4], {"hello": "world"}) | |
db.addDocuments([sample]) |
var temp = 123123; | |
console.log(temp); | |
var temp = 1231.09876; | |
console.log(temp); | |
temp = "testing...."; // No problem | |
console.log(temp); |
https://en.wikipedia.org/wiki/Cygwin
downlard the cygwin and install the cygwin in windows system
https://cygwin.com/install.html
/* Fira Sans */ | |
@font-face | |
font-family: 'Fira Sans' | |
src: url("eot/FiraSans-Light.eot") | |
src: local("Fira Sans Light"), url("eot/FiraSans-Light.eot") format("embedded-opentype"), url("woff/FiraSans-Light.woff") format("woff"), url("ttf/FiraSans-Light.ttf") format("truetype") | |
font-weight: 300 | |
font-style: normal | |
@font-face |
# Java | |
sudo apt-get update | |
java -version | |
sudo apt-get install default-jre | |
sudo apt-get install default-jdk | |
- Java installed location /usr/lib/jvm/java-7-openjdk-amd64 |
# Requirements | |
* Install MySQL | |
sudo apt-get install mysql-client | |
sudo apt-get install mysql-server | |
# Hive install | |
cd |
a = [66.25, 333, 333, 1, 1234.5] | |
print(a.count(333), a.count(66.25), a.count('x')) | |
a.insert(4,"fourth place") # the number 4 is consider as index | |
a.insert(3,"fourth place2") | |
print(a) |
class Classic: pass | |
class Newstyle(object): pass | |
print (type(Classic)) | |
print (type(Newstyle)) | |
print("*"*20) | |
class MyMeta(type): | |
def __str__(cls): | |
return ("Beautiful class '%s'"%cls.__name__) | |
class MyClass: | |
__metaclass__ = MyMeta |