This contains list of countries outside Schengen/EU area where VISA is NOT required for EU permanent residents.
- Turkey - VISA on arrival
- Cuba - Tourist Card
- Mexico
#!/usr/bin/env python | |
from dataclasses import dataclass | |
@dataclass | |
class Baby: | |
name: str | |
birthday: str | |
mother: str = "Mother's name" |
#!/bin/bash | |
# Idea to copy all source files (packages in different repos) in once place | |
# and use setup.py located in project to build single egg file. | |
temp_dir=/tmp/ira/ | |
curr_dir=$(pwd) | |
dist_dir=${curr_dir}/dist/ | |
# Copy project to a dir |
sqljdbc_{version}/enu/jre{version}/sqljdbc{version}.jar
There are few ways to use it.
mv {SPARK_HOME}/conf/spark-defaults.conf.template {SPARK_HOME}/conf/spark-defaults.conf
spark.driver.extraClassPath /path/to/sqljdbc.jar
to spark-defaults.confWe collect 10€ from each participants.
https://www.kicktipp.com/vi-worldcup/
Collected money will be distributed to highest point earners based on kicktip ranking.
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/artful64" | |
config.vm.network "forwarded_port", guest: 9090, host: 9090 | |
config.vm.provision "shell", inline: <<-SHELL | |
apt update |
// npm install request | |
let request = require('request') | |
let range = n => Array.from(Array(n).keys()) | |
data = range(1000) | |
data.forEach(function (item) { | |
request.get("https://httpbin.org/ip", function (error, response, body){ | |
console.log("Request " + item + " complete.") |
""" | |
Spark DataFrame is distributed but it lacks many features compared to Pandas. | |
If you want to use Pandas, you can't just convert Spark DF to Pandas because that means collecting it to driver. | |
It can be slow & not work at all when data size is big. | |
So only way to use Pandas is to create mini dataframes inside executors. | |
This gist shows how to create DataFrame from RDD inside Spark executors & build Spark DataFrame from final output. | |
""" | |
# Convert function to use in mapPartitions |