install the following
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
git config --global user.name "Your Name Here"
// | |
// ContentView.swift | |
// 324 Messenger | |
// | |
// Created by Stef Kors on 29/03/2024. | |
// | |
import SwiftUI | |
import SwiftData |
// | |
// KeyAwareView.swift | |
// | |
// Created by Stef Kors on 04/09/2023. | |
// | |
// source: https://onmyway133.com/posts/how-to-handle-keydown-in-swiftui-for-macos/ | |
// source: https://github.com/sindresorhus/KeyboardShortcuts/blob/main/Sources/KeyboardShortcuts/Key.swift | |
import SwiftUI | |
import Carbon.HIToolbox |
// | |
// ContentView.swift | |
// OnKeyPressIssue | |
// | |
// Created by Stef Kors on 04/09/2023. | |
// | |
import SwiftUI | |
struct ChildView: View { |
// | |
// LazyContentWindow.swift | |
// Commitment | |
// | |
// Created by Stef Kors on 16/03/2023. | |
// | |
import SwiftUI | |
struct LazyLoadedView: View { |
export type BaseCountry = { | |
// the ISO 3166-1 code for the country | |
code: string | |
// the name of the country (in english) | |
name: string | |
// the raw emoji for the country's flag (can be multiple codepoints) | |
emoji: string | |
// the international dialing code for the country (without the `+` prefix or escape codes) | |
dial_country_code: string | |
// the regions codes, if any |
let array = ["😀", "😃", "😄", "😁", "😆", "😅", "😂", "🤣", "🥲", "🥹", "😊", "😇", "🙂", "🙃", "😉", "😌", "😍", "🥰", "😘", "😗", "😙", "😚", "😋", "😛", "😝", "😜", "🤪", "🤨", "🧐", "🤓", "😎", "🥸", "🤩", "🥳", "😏", "😒", "😞", "😔", "😟", "😕", "🙁", "☹️", "😣", "😖", "😫", "😩", "🥺", "😢", "😭", "🤯", "🥶", "😱", "😨", "😰", "😥", "😓", "🫣", "🤗", "🫡", "🤔", "🫢", "🤭", "🤫", "🤥", "😶", "😶🌫️", "😐", "😑", "😬", "🫠", "🙄", "😯", "😮", "😲", "🥱", "😴", "🤤", "😪", "😵", "😵💫", "🫥", "🤐", "🥴", "🤢", "🤑", "🤠", "🤡", "💩", "👻", "👽", "👾", "🤖", "🎃", "😺", "😸", "😹", "😻", "😼", "😽", "🙀", "👋", "🤚", "🖐", "✋", "🖖", "👌", "🤌", "🤏", "✌️", "🤞", "🫰", "🤟", "🤘", "🤙", "🫵", "🫱", "🫲", "🫳", "🫴", "👈", "👉", "👆", "🖕", "👇", "☝️", "👍", "👎", "✊", "👊", "🤛", "🤜", "👏", "🫶", "🙌", "👐", "🤲", "🤝", "🙏", "✍️", "💅", "🤳", "💪", "🦾", "🦵", "🦿", "🦶", "👣", "👂", "🦻", "👃", "🫀", "🫁", "🧠", "🦷", "🦴", "👀", "👁", "👶", "👧", "🧒", "👦", "👩", "🧑", "👨", "👩🦱", "🧑🦱", "👨🦱", "👩🦰", "🧑🦰", "👨🦰", "👱♀️", "👱", "👱♂️", "👩🦳", "🧑🦳", "👨🦳", "👩🦲", "🧑🦲", "👨🦲", "🧔♀️", "🧔", "🧔♂️", "👵", "🧓", "👴", "👲", "👳♀️", "👳", "👳♂️", "🧕", "👮♀️", "👮 |
struct DraggablePita: View { | |
var body: some View { | |
Image(uiImage: UIImage(named: "pita.png")!) | |
.draggable() // Add the new, custom modifier to make this draggable | |
} | |
} | |
// Handle dragging | |
struct DraggableView: ViewModifier { | |
@State var offset = CGPoint(x: 0, y: 0) |
_ _ _ _ | |
| | | | ___ | || | ___ | |
| |_| | / _ \| || | / _ \ | |
| _ || __/| || || (_) | | |
|_| |_| \___||_||_| \___/ |
install the following
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
git config --global user.name "Your Name Here"
const router = require('express').Router() | |
// FLICKR | |
const FLICKR_API = require('../../settings/flickr.js') | |
const Flickr = require('flickr-sdk') | |
const flickr = new Flickr(FLICKR_API.key) | |
// FIREBASE | |
const admin = require('firebase-admin') | |
const serviceAccount = require('./../../settings/progressbar-cache-firebase-adminsdk.json') | |
// init firebase app |