#!/bin/zsh | |
# include this file in your shell config | |
autoload -Uz add-zsh-hook | |
# this file comes from installing https://github.com/romkatv/gitstatus | |
SOURCE "${HOMEBREW_PREFIX:-/usr/local}/opt/gitstatus/gitstatus.plugin.zsh" || return | |
gitstatusd_instance='GSD' | |
# the following are a mystery - why do they define the fn names with $1? |
build: | |
./node_modules/.bin/esbuild index.js --bundle --outfile=out.js |
This is a cross post of something I just posted on the Python bug tracker at https://bugs.python.org/msg373145.
I seem to have two cents to offer so here it is. An obscure issue in the Python bug tracker is probably not the right place for this so consider this as an early draft of something that maybe I'll talk about more elsewhere.
> This basically divides code into two islands - async and non-async
// | |
// Debug.swift | |
// | |
// Created by Craig Hockenberry on 3/15/17. | |
// Updated by Craig Hockenberry on 2/20/24. | |
// Usage: | |
// | |
// SplineReticulationManager.swift: | |
// |
If you use server rendering, keep in mind that neither useLayoutEffect
nor useEffect
can run until the JavaScript is downloaded.
You might see a warning if you try to useLayoutEffect
on the server. Here's two common ways to fix it.
If this effect isn't important for first render (i.e. if the UI still looks valid before it runs), then useEffect
instead.
function MyComponent() {
#!/bin/bash | |
set -e | |
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc) | |
hex=$((cat <<EOF | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> |
#!/usr/bin/env bash | |
# | |
# update_envs_micro_python.sh | |
# | |
# Updates all pyenv virtual environments to the latest micro version of Python | |
# | |
# Author: Joao Moreira (jagmoreira) | |
# | |
# First update pyenv to get any new python versions |
require 'base64' | |
require 'digest' | |
require 'mail' | |
require 'nokogiri' | |
require 'shellwords' | |
file = ARGV.first | |
puts "Processing file #{file}" | |
contents = File.read(file) |
/* | |
Exercise 3: | |
Univers in CSS – a tribute to Adrian Frutiger | |
39 | |
45 46 47 48 49 | |
53 55 56 57 58 59 | |
63 65 66 67 68 | |
73 75 76 | |
83 |