Skip to content

Instantly share code, notes, and snippets.

Avatar

Berk Akkerman berkakkerman

View GitHub Profile
@berkakkerman
berkakkerman / FirestoreService.swift
Last active Oct 6, 2020
Generic crud operations service for RxFirebaseFirestore
View FirestoreService.swift
//
// FirestoreService.swift
// Valido-iOS
//
// Created by Berk Akkerman on 25.06.2020.
// Copyright © 2020 Ecospend. All rights reserved.
//
import Foundation
import RxSwift
View .gitignore_global
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@berkakkerman
berkakkerman / exportDevices.js
Created Mar 2, 2020
Export Apple Developer Registered Device List
View exportDevices.js
// run in console
var rows = document.getElementsByClassName("infinite-scroll-component")[0].children;
var csvContent = "data:text/csv;charset=utf-8,";
for (var i = 0; i < rows.length; i++) {
var name = rows[i].childNodes[0].innerText;
var UDID = rows[i].childNodes[1].innerText;
var type = rows[i].childNodes[2].innerText;
var rowText = name + "," + UDID + "," + type
You can’t perform that action at this time.