Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Paul Razvan Berg paulrberg

💭
I may be slow to respond.
View GitHub Profile
@paulrberg
paulrberg / APLoginViewController.swift
Last active Jul 22, 2017
AdPacer - APLoginViewController
View APLoginViewController.swift
import UIKit
class APLoginViewController: UIViewController {
/**
* The views which let the user type the email and the password.
*/
@IBOutlet weak var emailTextField: UITextField!
@IBOutlet weak var passwordTextField: UITextField!
@paulrberg
paulrberg / APLoginButtonController.swift
Last active Jul 14, 2017
AdPacer - APLoginButtonController
View APLoginButtonController.swift
import UIKit
extension APLoginViewController {
/**
* Called when the 'Sign In' (middle) button was tapped.
*/
@IBAction func didTapSignInButton(_ sender: Any) {
view.endEditing(true)
@paulrberg
paulrberg / APLoginTextFieldController.swift
Last active Jul 14, 2017
AdPacer - APLoginTextFieldController
View APLoginTextFieldController.swift
import UIKit
extension APLoginViewController: UITextFieldDelegate {
/**
* Append the fully configured text fields to the view controller.
*/
func appendTextField() {
let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 25, height: 25))
imageView.image = UIImage(named: "ic_question_mark")
@paulrberg
paulrberg / APLoginData.swift
Last active Jul 14, 2017
AdPacer - APLoginData
View APLoginData.swift
import UIKit
class APLoginData {
var dummy: String?
}
extension APLoginViewController {
/**
* Checks to see if the entered profile data is valid.
*/
@paulrberg
paulrberg / APLoginNetwork.swift
Last active Jul 14, 2017
AdPacer - APLoginNetwork
View APLoginNetwork.swift
import UIKit
import FirebaseAuth
import MBProgressHUD
extension APLoginViewController {
/**
* Simply logins the user using the classic email & password.
*/
func login() {
@paulrberg
paulrberg / blocktstack
Created Dec 22, 2017
Blockstack Verification
View blocktstack
Verifying my Blockstack ID is secured with the address 1GuvpSHLmrkNmZ2wsSpFrSLyyokSda91C3 https://explorer.blockstack.org/address/1GuvpSHLmrkNmZ2wsSpFrSLyyokSda91C3
@paulrberg
paulrberg / netlify-dns.md
Created Jan 26, 2018 — forked from hhsnopek/netlify-dns.md
Netlify DNS setup
View netlify-dns.md

Netlify DNS Setup

Quick ref for Netlify custom domains

Records

CNAME

Host: www, Value: you-netlify-site.netlify.com, TTL: 30 min

A

Host: @, Value: 104.198.14.52, TTL: 30min

View DagHub Survey Prizes Distribution
Nano
https://www.nanode.co/block/2BB152E956158DA1CC79DF26652FD7C1F66E9559B7CCC0E3933ECA43CB75AACD
https://www.nanode.co/block/CA765C19A59A7CE80BAD65ED4C8762BA0A0C64C8C541DC910970472C78CDB7EC
https://www.nanode.co/block/E5190D92BBEE1E11C75A3F2DFDC7A5CA0A55317732319A263855415C7108B0D5
https://www.nanode.co/block/C9055086DF50A009CBDD9D2403684EAE159F5A4C23FFF73E0716C532DEBDB8C0
https://www.nanode.co/block/CE33C25D0DD72013DB262FAB28B00BE2004587DB416E48026ACC4CD9DA34B440
https://www.nanode.co/block/B1E2357EBEFBB529400E019B2B3D5EEF8BFC49275AF1C6FFFE7E2C3378597277
https://www.nanode.co/block/0B7C83F07ED6EE8CE4204D97304C0B272EBF4C18A0AFD35381081E456D17FE1A
https://www.nanode.co/block/79E28484199F19ADFE3F19BD0E3CD611F3953FAE145EFFF996A3BBC15741DC0C
https://www.nanode.co/block/33E84E4AC68BB495067D17E6318CB0D577F5D4153F168228EED6A57B591561A1
View blockstack.txt
Verifying my Blockstack ID is secured with the address 1N7LGfMV66d6khzpqZ5uM6PtZEsMK1L59V https://explorer.blockstack.org/address/1N7LGfMV66d6khzpqZ5uM6PtZEsMK1L59V
View keybase.md

Keybase proof

I hereby claim:

  • I am paulrberg on github.
  • I am paulrberg (https://keybase.io/paulrberg) on keybase.
  • I have a public key ASDQV-6T8VNpMmufezWYrJaZBDNkhq2Wv9A9HBoWI_ZbSgo

To claim this, I am signing this object:

You can’t perform that action at this time.