Personal Deep Learning Computer
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 | |
# NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION | |
# Developed for DSM 6. Not tested on other versions. | |
# Steps to install | |
# Save this script in one of your shares | |
# Backup /usr/syno/share/nginx/ as follows: | |
# # cd /usr/syno/share/ | |
# # tar cvf ~/nginx.tar nginx | |
# Run this script as root |
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
# show host name and IP address on left side of status bar | |
set-option -g default-shell /bin/zsh | |
set -g status-left-length 70 | |
set -g status-left "#[fg=yellow]Remote #[fg=green]#h : #[fg=brightblue]#(ip addr show dev eth0 | grep "inet[^6]" | awk '{print $2}')" |
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
connector.class=io.debezium.connector.mysql.MySqlConnector | |
snapshot.locking.mode=none | |
transforms.unwrap.delete.handling.mode=rewrite | |
tasks.max=2 | |
database.history.kafka.topic=dbhistory.be_autos | |
buffer.memory=100 | |
decimal.handling.mode=double | |
confluent.topic.replication.factor=3 | |
poll.interval.ms=200 | |
value.converter=io.confluent.connect.avro.AvroConverter |
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
Note : Proxmox 6.1 | |
VI : /etc/apt/sources.list | |
# security updates | |
deb http://security.debian.org jessie/updates main contrib | |
# PVE pve-no-subscription repository provided by proxmox.com, | |
# NOT recommended for production use | |
deb http://download.proxmox.com/debian jessie pve-no-subscription |
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
clgt |
The steps below bootstrap an instance of airflow, configured to use the kubernetes airflow executor, working within a minikube cluster.
This guide works with the airflow 1.10 release, however will likely break or have unnecessary extra steps in future releases (based on recent changes to the k8s related files in the airflow source).
- Docker installed
- Minikube installed and started
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTbduV2RQfhebNH40Hde9mRopQVQnORDVgSGpKxuBuemL0GRxsUQxv9t58k1f8cAIt20aSFUPKYAGXKk0+7YG00eepo5amFgAJL3ZBDppQ7itK45LSDefE4W8SpVQ6uknkq7aDtz2BqU/WQQ7U3hKCLjBqM+9b3R1Q/jscnpY+E43PVTFDEFXiQMII0R3Feuol3qQU3wYnZH+BUM9xTtehsivSqf3kxjaKLfhOq7bOvdl9aENEoog/v/2pnG9k3lQVfkngzzANiH1ZrZJdOjily5vHnP34YD4bq1gFuMJuoDyc8Gyzq3/yEes0pN6DrYHjySdzfSs7cnVmnVFQXJgZ [email protected] |
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
os.environ["SPARK_HOME"] = "/opt/spark-2.0.0-bin-hadoop2.7/" | |
os.environ["PYSPARK_PYTHON"] = "/home/lucndm/envs/spark/bin/python" | |
http://stackoverflow.com/questions/34685905/how-to-link-pycharm-with-pyspark | |
http://i.stack.imgur.com/LwAJ6.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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using log4net; | |
namespace LichPhatSong.Scraper.Helpers | |
{ | |
public static class ReflectionHelper |
NewerOlder