Skip to content

Instantly share code, notes, and snippets.

View lucas34's full-sized avatar

Lucas Nelaupe lucas34

View GitHub Profile
lucas34 / URL+Open.swift
Last active March 2, 2018 03:57
Open url on any Apple os
import Foundation
#if os(macOS)
import Cocoa
#if os(iOS) || os(tvOS)
extension URL {
public func canOpen() -> Bool {
lucas34 /
Last active April 21, 2022 15:38
Convert FairPrice invoice to CSV
import requests
import json
import pandas as pd
import sys
if len(sys.argv) != 3:
print("bearer token needed as argument")
headers = {"Authorization": sys.argv[1] + " " + sys.argv[2]}