This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name Even Darker YouTube | |
| @namespace github.com/openstyles/stylus | |
| @version 1.0.0 | |
| @description OLED theme for YouTube. | |
| @author bomberfish | |
| ==/UserStyle== */ | |
| @-moz-document domain("youtube.com") { | |
| html[darker-dark-theme][dark], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name X Tinted | |
| @namespace github.com/openstyles/stylus | |
| @version 1.0.0 | |
| @description An opinionated color scheme for X's "Lights out" theme. | |
| @author bomberfish | |
| @var color accent "Tint Color" #ef9ce4 | |
| ==/UserStyle== */ | |
| @-moz-document domain("x.com") { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name liquid arse | |
| @namespace github.com/openstyles/stylus | |
| @version 1.0.0 | |
| @description one day i will atone for my sins | |
| @author bomberfish | |
| ==/UserStyle== */ | |
| @-moz-document domain("puter.com") { | |
| :root { | |
| --glass: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="glass-distortion" x="0%" y="0%" width="100%" height="100%" filterUnits="objectBoundingBox"><feTurbulence type="fractalNoise" baseFrequency="0.01 0.01" numOctaves="1" seed="5" result="turbulence"/><feComponentTransfer in="turbulence" result="mapped"><feFuncR type="gamma" amplitude="1" exponent="10" offset="0.5"/><feFuncG type="gamma" amplitude="0" exponent="1" offset="0"/><feFuncB type="gamma" amplitude="0" exponent="1" offset="0.5"/></feComponentTransfer><feGaussianBlur in="turbulence" stdDeviation="3" result="softMap"/><feSpecularLighting in="softMap" surfaceScale="5" specularConstant="1" specularExponent="100" lighting-color="white" result="specLight"><fePointL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| import UniformTypeIdentifiers | |
| struct DocumentPicker: UIViewControllerRepresentable { | |
| @Binding var filePath: URL? | |
| var utTypes: [UTType] | |
| func makeCoordinator() -> DocumentPicker.Coordinator { | |
| return DocumentPicker.Coordinator(parent1: self) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --color-main-background: #11111b !important; | |
| --color-main-background-rgb: 17, 17, 27 !important; | |
| /* --color-main-background-translucent: rgba( | |
| var(--color-main-background-rgb), | |
| 0.96 | |
| )!important; | |
| --color-main-background-blur: rgba(var(--color-main-background-rgb), 0.8)!important; | |
| --gradient-main-background: var(--color-main-background) 0%, | |
| var(--color-main-background-translucent) 85%, transparent 100%!important; */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Rewrite of https://gist.github.com/leminlimez/ed3e3ee3a287c503c5b834acdc0dfcdc in Swift (the superior language) | |
| /// NOTE: To use IOKit, you need to create a bridging header with the following contents: `#include <IOKit/IOKitLib.h>` | |
| /// This requires you to have the (private) `systemgroup.com.apple.powerlog` entitlement. | |
| func getBatteryInfo() throws -> [String:Any] { | |
| var service: io_service_t? // Battery IOService | |
| service = IOServiceGetMatchingService(kIOMainPortDefault, IOServiceMatching("AppleSmartBattery")) // iPhone 11+ | |
| if service == nil { | |
| service = IOServiceGetMatchingService(kIOMainPortDefault, IOServiceMatching("IOPMPowerSource")) // Earlier iPhones | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| isMachO() { | |
| if [[ $(file "$1") == *Mach-O* ]]; then | |
| return 0 | |
| else | |
| return 1 | |
| fi | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* bomberfish */ | |
| /* Basic Styling */ | |
| @import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap'); | |
| html, | |
| html.light { | |
| --bg: #ebebeb; | |
| --bg2: #fdfdfd; | |
| --fg: #2e2e2e; | |
| --mg: #c9c9c9; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| PERLIN NOISE TERRAIN GENERATION | |
| This script generates terrain using Roblox's built-in math.noise() function. | |
| It creates small parts, which will act as terrain. | |
| TO DO: | |
| -Render around the player instead of rendering everything! | |
| -Infinite worlds |
NewerOlder