Skip to content

Instantly share code, notes, and snippets.

View iAMNABHON's full-sized avatar
❄️
Happened

iAMNABHON

❄️
Happened
View GitHub Profile
@iAMNABHON
iAMNABHON / 5-color-linear-gradient.markdown
Created December 9, 2022 21:46
5 color linear gradient
@christianselig
christianselig / swiftui-button-style.swift
Created March 30, 2022 16:15
Another silly SwiftUI question for late March!
struct ContentView: View {
var body: some View {
Button {
print("Someone poked me!")
} label: {
HStack {
Text("POKE ME")
Spacer()
@amosgyamfi
amosgyamfi / baloonsScreenEffect.swift
Last active January 31, 2022 21:11
Use this when you want to create balloons-like screen effect for your app
//
// EchoEffect.swift
// iMessageClone
//
// Created by Amos from Stream on 18.12.2021.
//
import SwiftUI
struct BalloonsEffect: View {
(()=>{var e={228:e=>{e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}},858:e=>{e.exports=function(e){if(Array.isArray(e))return e}},646:(e,n,t)=>{var r=t(228);e.exports=function(e){if(Array.isArray(e))return r(e)}},713:e=>{e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},884:e=>{e.exports=function(e,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],r=!0,o=!1,a=void 0;try{for(var l,i=e[Symbol.iterator]();!(r=(l=i.next()).done)&&(t.push(l.value),!n||t.length!==n);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return t}}},521:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterat
@mzeryck
mzeryck / mz_invisible_widget.js
Last active November 14, 2025 08:10
A Scriptable script that creates "invisible" widget backgrounds based on your iOS wallpaper, and then either uses them as a Scriptable widget background or exports to your camera roll.
/*
MIT License
Copyright (c) 2024 Maxwell Zeryck
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTW
@spencerwooo
spencerwooo / termiWidget.js
Last active September 18, 2025 05:20
🍋 TermiWidget - Terminal-like Widget for iOS 14, made with Scriptable.
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: orange; icon-glyph: quote-right;
// Change these to your usernames!
const user = "spencer"
const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E"
const telegram = "realSpencerWoo"
const github = "spencerwooo"
@Humbedooh
Humbedooh / asf-oauth-example.py
Created July 19, 2019 07:03
ASF Oauth Examples
#!/usr/bin/env python3
""" ASF OAuth example in Python 3"""
import cgi
import os
import requests
import urllib
import uuid
def init_oauth():
@coolstar
coolstar / sileo-featured-rules.md
Last active August 22, 2024 01:19
Requirements for packages to be featured on Sileo