A collection of commands that change the Arc Browser icon.
Theme | Command |
---|---|
Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
# This script requires to have some basic Python skills | |
# - Install python dependencies (thanks to TitwitMuffbiscuit on reddit) : | |
# pip install nltk beautifulsoup4 googlesearch-python trafilatura wolframalpha | |
# | |
# If you get this error "Resource punkt not found", it's because Punkt sentence tokenizer for Natural Language Toolkit is missing. | |
# Edit the file and add this before | |
# from nltk.tokenize import word_tokenize , | |
# it will download the necessary english.pickle: | |
# import nltk | |
# nltk.download('punkt') |
/** | |
* @license | |
* Copyright 2017 Google LLC | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
"use client"; | |
import { zodResolver } from "@hookform/resolvers/zod"; | |
import { useForm } from "react-hook-form"; | |
import MoneyInput from "src/components/custom/money-input"; | |
import { Button } from "src/components/ui/button"; | |
import { Form } from "src/components/ui/form"; | |
import * as z from "zod"; | |
const schema = z.object({ |
:root { | |
--min-item-width: 28ch; | |
--max-item-width: .5fr; | |
--grid-spacing: .25rem; | |
--item-padding: .25rem; | |
} | |
/* Let items expand on small screens */ | |
@media (max-width: 600px) { | |
:root { |
:root {font-size: 16px; line-height: 1.5; font-family: sans-serif; padding: 20px} | |
body {} | |
h1 {font-size:2rem; margin-bottom:1rem; line-height: 1} | |
h2 {font-size:1.5rem; margin-bottom: .5rem;} | |
p {margin-bottom: 1rem;} |
var now, dt, | |
rate = 0.5, | |
last = performance.now(); | |
function frame() { | |
now = performance.now(); | |
dt = (now - last) / 1000; // duration in seconds | |
if(dt >= rate){ | |
console.log("bing") | |
last = now; |
File 1 conents |
var angle = null, | |
step = 20, | |
rate = 90; | |
draw = () => { | |
if (!angle) { | |
angle = 0; | |
} | |
console.clear(); |