I hereby claim:
- I am orgmir on github.
- I am lramos (https://keybase.io/lramos) on keybase.
- I have a public key ASBY4pjTWnUu70FTs-ffcf8CY0WafZx-8ZoH6Oud-ya4Hgo
To claim this, I am signing this object:
// | |
// UIView+Extensions.swift | |
// | |
// Created by Luis Ramos on 17/5/18. | |
// | |
import UIKit | |
extension UIView { | |
I hereby claim:
To claim this, I am signing this object:
image: registry.gitlab.com/username/project_name:latest | |
stages: | |
- build | |
before_script: | |
- export GRADLE_USER_HOME=$(pwd)/.gradle | |
- chmod +x ./gradlew | |
cache: |
import Combine | |
import SwiftUI | |
// Don't forget to add https://github.com/davedelong/DDHotKey to your project | |
struct HotKeyTextField: View { | |
@Binding var keyCode: Int | |
@Binding var modifierFlags: Int | |
var body: some View { | |
DDHotKeyTextFieldWrapper(keyCode: $keyCode, modifierFlags: $modifierFlags) |
using UnityEngine; | |
using System.Collections; | |
using System.IO; | |
// This was taken from https://www.reddit.com/r/Unity3D/wiki/screenshots | |
public class HiResScreenShots : MonoBehaviour | |
{ | |
public int resWidth = 1920; public int resHeight = 1080; |
// | |
// UIView+AutoLayout.swift | |
// | |
// Created by Luis Ramos on 21/6/17. | |
// Copyright © 2017 All rights reserved. | |
// | |
import UIKit | |
extension UIView { |
/** | |
* Extracts the list of data from a PagingData object. | |
* Useful for testing transformations on PagingData. | |
* | |
* flowOf(PagingData.from(listOf(model)).toList() == listOf(model) | |
* | |
* When nothing else is left, Java reflection will always be there to help us out. | |
*/ | |
@Suppress("UNCHECKED_CAST") | |
private suspend fun <T : Any> PagingData<T>.toList(): List<T> { |