https://developers.refinitiv.com/article/setup-jupyter-notebook-r https://docs.anaconda.com/anaconda/navigator/tutorials/r-lang/
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
def isFloat(value): | |
return not re.match("^[+-]?\d+?\.\d+?$", value) is None |
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
def getAverage(values): | |
return sum(values) / float(len(values)) |
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
#source | |
export JAVA_HOME=/opt/jdk1.8.0_144 | |
export SPARK_HOME=/opt/spark-2.2.0-bin-hadoop2.7 | |
export SPARK_DIR=/opt/spark-2.2.0-bin-hadoop2.7 | |
export PYSPARK_PYTHON=python3 | |
export PYSPARK_DRIVER_PYTHON=ipython3 | |
export PYSPARK_DRIVER_PYTHON_OPTS="notebook" | |
export PATH=$PATH:$SPARK_HOME/bin | |
pyspark |
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
1. Wolfram Language | |
2. Python | |
3. SQL | |
4. Java | |
5. HTML | |
6. CSS | |
7. JavaScript (NodeJS) | |
8. Bash | |
9. C | |
10. PHP |
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
[Desktop Entry] | |
Type=Application | |
Terminal=true | |
Exec=/opt/idea-IC-203.7717.56/bin/idea.sh | |
Name=IntelliJ | |
Icon=/opt/idea-IC-203.7717.56/bin/idea.png |
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
sudo mount -o loop Win10_20H2_v2_BrazilianPortuguese_x64.iso /mnt/w10 |
sudo mysqldump --user root --all-databases > all-databases.sql
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
#!/bin/bash | |
# Get the dictionary data file... run it just once... | |
# put those 3 files at ~/bin directory and give execution permission | |
cd ~/bin | |
wget https://www.mit.edu/~ecprice/wordlist.10000 -o wordlist.10000.txt |
OlderNewer