Remix Issues
useMatches
only exposes the filepath, but we want a parameterized route:
8:53:24 AM web.1 | {
8:53:24 AM web.1 | id: 'routes/bottles.$bottleId._index',
8:53:24 AM web.1 | pathname: '/bottles/4/',
blueprint: | |
name: ZHA - Sonoff SNZB-01 | |
description: 'Perform actions with the Sonoff SNZB-01 Button. | |
You can set functions for single press, double press and hold. This allows you to assign, | |
e.g., a scene or anything else.' | |
domain: automation | |
input: | |
remote: |
apiVersion: networking.gke.io/v1beta1 | |
kind: ManagedCertificate | |
metadata: | |
name: zeus-ci | |
spec: | |
domains: | |
- zeus.ci | |
- updates.zeus.ci | |
--- | |
apiVersion: extensions/v1beta1 |
# get some languages | |
brew 'go' | |
brew 'node' | |
brew 'python' | |
brew 'ruby' | |
# and common dlls | |
brew 'geoip' | |
brew 'libxmlsec1' | |
brew 'openssl' |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
source <(antibody init) | |
antibody bundle < ~/.config/zsh_plugins | |
# TODO(dcramer): literally doesnt work at all | |
# function update_antibody() { | |
# antibody bundle < ~/.config/zsh_plugins > ~/.config/zsh_plugins.sh | |
# } |
{ | |
"extra": {...}, | |
"contexts": { | |
"contxtName": {...}, | |
} | |
} | |
""" | |
cramermath | |
~~~~~~~~~~ | |
Usage: | |
>>> import cramermath | |
>>> cramermath.log(10) | |
0.014728067495500818 | |
""" |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuJUzqmnQCHvvgqJgAxew3qqrJtNQp3Ap1T0Bu4LFSLJ1ysSOFkC0v1eCmmNrLvUf7WYRmDBDC0aH8pxKFjE1CFZqolJFlp469aVaOcsqP3dfERGuWZ2zXokZjZr88CDmja7QVQ1l9gevnftHxy9rgov2mNdRqpJZpNcgct+0JvyFeJKhaCcyX2nYK5G0qe8FDub1azT3E/Ey3g/NvNzbmyqjDdIEU5hJo5J2uDGq26gXrudzJ/iARl7vJrvn160VNIn+tUvsejyc8UuqwIxu/4GVzKRcENJJUOg0GYhkIss7++ZbvvnINxbDi9wCgf8C5IQ4MD6Pp6dlvdihov6Np [email protected] |
class BaseJobResource(Resource): | |
def dispatch_request( | |
self, provider: str, owner_name: str, repo_name: str, build_number: int, job_number: int, *args, **kwargs | |
) -> Response: | |
queryset = Job.query.join(Build, Build.id == Job.build_id).join( | |
Repository, Repository.id == Build.repository_id | |
).filter( | |
Repository.provider == RepositoryProvider(provider), | |
Repository.owner_name == owner_name, | |
Repository.name == repo_name, |
import ReactDOM from 'react-dom'; | |
const componentToString = function(node) { | |
let el = document.createElement('div'); | |
ReactDOM.render(node, el); | |
return el.innerHTML; | |
}; |