A collection of commands that change the Arc Browser icon on macOS.
Theme | Command |
---|---|
Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
VStack(spacing: 0) { | |
Color.green | |
Color.green | |
Color.green | |
Color.yellow | |
Color.orange |
// This constant is written in column C for rows for which an email | |
// has been sent successfully. | |
var ADDED = true; | |
var EMAIL_SENT = true; | |
/** | |
* Sends non-duplicate emails with data from the current spreadsheet. | |
*/ | |
function sendEmails() { | |
var sheet = SpreadsheetApp.getActiveSheet(); |
[WIP] Logseq Plugin System is currently under Alpha Testing phase.
In this short guide, it will walk you through the steps needed to set up your development environment for writing and running a hello world simple inside of Logseq Desktop Client. You know Logseq Plugin based on Web Technologies composed of JS & HTML & CSS, but neither are mandatory, you can develop plugins use any language which can be translated to javascript (Logseq made by Clojurescript!). We will use Typescript to demonstrate this sample. Because there is a type definition file to make development experience even better.
Afghanistan | |
Albania | |
Algeria | |
Andorra | |
Angola | |
Antigua & Deps | |
Argentina | |
Armenia | |
Australia | |
Austria |
new MutationObserver(() => { | |
let filtered = Array.prototype.filter.call( | |
document.querySelectorAll(".roam-body a"), | |
(a) => { | |
return a.hostname && !a.hostname.includes("roamresearch.com"); | |
} | |
); | |
Array.prototype.forEach.call(filtered, (a) => { | |
if (a.text == "*") { | |
a.style.background = `url(https://www.google.com/s2/favicons?sz=16&domain=${a.hostname}) right center no-repeat`; |
/* | |
* Viktor's Roam gallery PoC v0.2 | |
* author: @ViktorTabori | |
* | |
* How to install it: | |
* - go to page [[roam/js]] | |
* - create a node with: {{[[roam/js]]}} | |
* - create a clode block under it, and change its type from clojure to javascript | |
* - allow the running of the javascript on the {{[[roam/js]]}} node | |
* - reload Roam |
import SwiftUI | |
import PlaygroundSupport | |
struct AppleTV: View { | |
var body: some View { | |
ZStack { | |
// Image(uiImage: #imageLiteral(resourceName: "IMG_6281.JPG")) | |
// .resizable() | |
// .aspectRatio(contentMode: .fill) | |
Color.gray |
#!/usr/bin/env python3 | |
# | |
# Convert .itermcolors files to kitty terminal color settings. | |
# Modded from https://gist.github.com/MSylvia/4e90860743f1a4de187d | |
# Might need to adjust dicts[i][NUMBER].text per your file. | |
import sys | |
import xml.etree.ElementTree as ET | |
def rgb_to_hex(rgb): |