Skip to content

Instantly share code, notes, and snippets.

View MattiaCostamagna's full-sized avatar
🌍

Mattia Costamagna MattiaCostamagna

🌍
View GitHub Profile
import sys
from awsglue.transforms import *
from awsglue.utils import getResolvedOptions
from awsglue.context import GlueContext
from awsglue.job import Job
from awsglue.gluetypes import Field
from awsglue import DynamicFrame
from pyspark.context import SparkContext
from pyspark.sql.functions import from_json, col, lit, current_timestamp
from pyspark.sql.types import StructField, StructType, StringType, IntegerType, DoubleType, FloatType, DecimalType, \
@MattiaCostamagna
MattiaCostamagna / App.js
Last active December 17, 2020 15:44
Keep a Single-Page-Application updated
import React from 'react';
const IndexHTMLURL = 'https://my.url.com/index.html'
class App extends React.Component {
constructor(props) {
super(props);
this.state = {
// ...
};