Skip to content

Instantly share code, notes, and snippets.

View VinACE's full-sized avatar
💭
I may be slow to respond.

VinACE

💭
I may be slow to respond.
View GitHub Profile
https://www.linkedin.com/learning/nlp-with-python-for-machine-learning-essential-training/welcome
update-rc.d cron enable 2 3 4 5
@VinACE
VinACE / host network example...
Created April 25, 2020 07:48
spark docker-compose example from bitnami
version: '3'
services:
spark:
image: bitnami/spark:2
network_mode: host
user: root
environment:
- SPARK_HOST=${SPARK_HOST}
- SPARK_MODE=master
@VinACE
VinACE / docker-compose with hostnetwork connection
Last active April 20, 2020 17:18
docker-compose with hostnetwork connection
version: '3'
services:
spark:
image: bitnami/spark:2
network_mode: host
user: root
environment:
@VinACE
VinACE / Docker_networking
Last active April 20, 2020 12:58
Docker_networking
https://www.youtube.com/watch?v=AH2eSNCB-tc --macvlan (https://sreeninet.wordpress.com/2016/05/29/macvlan-and-ipvlan/)
https://www.youtube.com/watch?v=q2c0GSpNpVg -- bridge networking
https://youtu.be/q2c0GSpNpVg
provide static IP address ..
https://stackoverflow.com/questions/39493490/provide-static-ip-to-docker-containers-via-docker-compose # bridge network...
Sample docker-compose file to take the hostname from the network itself...
Refer: https://github.com/VinACE/push-to-docker/blob/master/kafkamongosync.yml
@VinACE
VinACE / current paper modification
Created April 10, 2020 02:49
current paper modification
1. proper references for each method.
@VinACE
VinACE / christian mp3 songs
Last active March 26, 2020 12:36
christian mp3 songs
https://gospelriver.com/music/#gsc.tab=0
https://mp3-here.icu/song/jim-reeves-the-wild-rose.html
https://jar-download.com/
To donwload any missing jars in the class path..
@VinACE
VinACE / docker-aliases.sh
Last active May 12, 2020 11:45 — forked from jgrodziski/docker-aliases.sh
Useful Docker Aliases
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste these lines into your .bashrc or .zshrc file or just #
# type the following in your current shell to try it out: #
# wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash
# #
# # Usage: #
@VinACE
VinACE / yum_install_failing.txt
Created March 16, 2020 13:41
yum failing to identify in centos 7
sudo ln -fs /s/miniconda2/bin/python python had issues again so placed back to my python from the os s ln -s /usr/bin/python2.7 /usr/bin/python