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
// | |
// MyWebViewController.swift | |
// midtrans-snap-WebView-sample | |
// | |
// Created by Zaki Ibrahim on 14/09/21. | |
// | |
import UIKit | |
import WebKit |
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
[ | |
{ | |
"month": "Maret", | |
"verses": [ | |
{ | |
"date": "2025-03-01", | |
"book": "Mazmur", | |
"chapter": "46", | |
"verse": "1", | |
"image": "image-00001" |
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
javascript:(function(){ | |
const currentUrl = window.location.href; | |
const modifiedUrl = `https://r.jina.ai/${currentUrl}`; | |
window.location.href = modifiedUrl; | |
})(); |
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 | |
function sync_base() { | |
parent=$(git show-branch | grep '*' | grep -v "$(git rev-parse --abbrev-ref HEAD)" | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//') | |
current=$(git rev-parse --abbrev-ref HEAD) | |
echo "base $parent, current: $current" | |
echo "Switching to parent: $parent, make sure you already commit all your work" | |
git checkout $parent && git pull |
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 | |
#Infinite Loop | |
while true | |
do | |
echo "Memulai pengecekan saldo Ore.." | |
ore --keypair ~/.config/solana/id.json rewards | |
echo "Memuat ulang..." | |
# Opsional: melakukan delay sleep selama beberapa detik untuk menghindari spam |
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
{% for type in types.all where type.implements.DependencyKey %} | |
#if DEBUG | |
extension {{ type.name }}: TestDependencyKey { | |
{{ type.accessLevel }} static let testValue = {{ type.name }}( | |
{% for var in type.variables %} | |
{% if var.typeName.closure.actualReturnTypeName|contains:"Void"| %} | |
{{ var.name }}: unimplemented("\(Self.self).{{ var.name }} is unimplemented", placeholder: ()) | |
{% elif var.typeName.closure.actualReturnTypeName|contains:"Effect" %} | |
{{ var.name }}: unimplemented("\(Self.self).{{ var.name }} is unimplemented", placeholder: Effect.none) | |
{% elif var.typeName.closure.actualReturnTypeName.isArray %} |
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
.roam-body .roam-app .roam-sidebar-container .roam-sidebar-content .log-button { | |
padding: 8px 20px; | |
font-weight: 900; | |
cursor: pointer; | |
font-size: 16px; | |
color: #f9b637; | |
} | |
/* Background color for the rest of body */ |
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
struct Theme { | |
static func apply(to window: UIWindow) { | |
window.tintColor = Colors.purple | |
UIView.appearance().backgroundColor = Colors.gray4 | |
let tabBar = UITabBar.appearance() | |
tabBar.barTintColor = Colors.gray3 | |
let navBar = UINavigationBar.appearance() |
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
Sub del_COLA_empty() | |
'D McRitchie http://www.mvps.org/dmcritchie/excel/delempty.htm 2004-01-10 | |
'based on Matt Neuburg, PhD http://www.tidbits.com/matt Aug 3, 1998 | |
'Loop required due to MS KB http://support.microsoft.com/?kbid=832293 | |
Dim i As Long | |
Application.ScreenUpdating = False | |
Application.Calculation = xlCalculationManual 'pre XL97 xlManual | |
i = Cells.SpecialCells(xlCellTypeLastCell).Row | |
For i = i To 1 Step -8000 | |
On Error Resume Next 'in case there are no blanks |
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
/* Settings */ | |
:root { | |
--offset: 1.5rem; | |
--max_width: 72rem; | |
--columns: 6; | |
--gutter: .5rem; | |
--baseline: 3rem; | |
--baseline-shift: 2rem; | |
--color: hsla(204, 80%, 72%, 0.25); | |
} |
NewerOlder