Skip to content

Instantly share code, notes, and snippets.

View loloop's full-sized avatar

Mauricio Cardozo loloop

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mobile Onboarding</title>
</head>
<body>
<script>
@loloop
loloop / onboarding.html
Created September 15, 2025 21:37
slide onboard thing
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mobile Onboarding</title>
</head>
<body>
<script>
#!/bin/bash
# Function to display runtimes
display_runtimes() {
echo -e "\nAvailable iOS Simulator Runtimes:"
echo "--------------------------------------------------------------------------------"
local counter=1
while IFS= read -r line; do
local identifier=$(echo "$line" | jq -r '.key')
//
// ContentView.swift
// chatMac
//
// Created by Mauricio on 6/11/25.
//
import Playgrounds
import FoundationModels
import SwiftUI
@loloop
loloop / collectionAnimation.swift
Created May 16, 2019 11:42
fun animation with collection view
import UIKit
class MyViewController : UIViewController {
override func loadView() {
self.view = CollectionContainerView()
}
}
class InnerCollectionSourceDelegate: NSObject, UICollectionViewDataSource, UICollectionViewDelegate {
@loloop
loloop / MyPlayground.swift
Created June 12, 2018 18:07
ideas playground
import Foundation
import UIKit
//
//class A: Codable {
// let name: String = "A struct"
//}
//
//class B: A {
// let fish: String = "finally interactive shell"