Skip to content

Instantly share code, notes, and snippets.

View PhilippThaler's full-sized avatar
🌴
On vacation

Philipp Thaler PhilippThaler

🌴
On vacation
View GitHub Profile
#!/bin/python
import pyautogui
import time
import tabula
import re
path = '/home/philipp/Documents/zeitnachweis_september_philipp_thaler'
path_pdf = path + '.pdf'
path_csv = path + '.csv'
@PhilippThaler
PhilippThaler / Main.java
Created October 11, 2019 01:39
Reddit Daily Programmer #380
// https://www.reddit.com/r/dailyprogrammer/comments/cmd1hb/20190805_challenge_380_easy_smooshed_morse_code_1/
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
public class Main {
private static final String[] morseAlphabet = ".- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. -- -. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --..".split(" ");
private static final String alphabet = "abcdefghijklmnopqrstuvwxyz";
@PhilippThaler
PhilippThaler / index.d.ts
Created August 5, 2019 11:39 — forked from pierre-H/index.d.ts
Expo TypeScript Definitions
declare module 'Expo' {
import { EventSubscription } from 'fbemitter';
import { Component } from 'react';
import { ViewStyle, ViewProperties, ColorPropType } from 'react-native';
/**
* Expo Accelerometer
*/
export namespace Accelerometer {
// TODO: good export type of x, y and z
package com.philippthaler.emaillistener.gui;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.security.GeneralSecurityException;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JLabel;
package com.philippthaler.minitennis;
import java.awt.Graphics2D;
import java.awt.Rectangle;
public class Ball {
private static final int DIAMETER = 30;
private final int SPEED;
int x = 0;