Skip to content

Instantly share code, notes, and snippets.

View cawfree's full-sized avatar
😍

cawfree cawfree

😍
View GitHub Profile
@cawfree
cawfree / 🧽.gif
Created February 3, 2024 02:56 — forked from 0xOsiris/🧽.gif
🧽.gif
import * as React from 'react';
export type VectorizedBounds2D = readonly [width: number, height: number];
export type ShaderToyDynamics = {
readonly iFrame: number;
readonly iTime: number;
};
export type ShaderToyUniforms = ShaderToyDynamics & {
@cawfree
cawfree / how-to-install-deep-daze-on-macos.md
Last active September 23, 2021 01:10
How to install deep-daze on MacOS
  1. Download and execute the latest version of the official Python 3.9 Installer.
  2. Once installed, accept the certificates for Python3.
  3. Next, append the following to your ~/.bashrc:
export PATH="$PATH:$HOME/usr/local/bin/python3.9:$HOME/Library/Frameworks/Python.framework/Versions/3.9/bin" # make python3 accessible
alias pip=pip3 # use pip3 whenever we make a call to pip
@cawfree
cawfree / react-native-macos-catalyst.md
Last active July 17, 2023 10:09
How to use React Native and MacOS Catalyst

Follow these steps to run your React Native application using MacOS Catalyst.

  1. Use the following package versions:
+ "metro-react-native-babel-preset": "^0.59.0",
+ "react-native": "0.63.0",
+ "react-native-macos": "^0.63.23",
@cawfree
cawfree / useGnosisWithdraw.ts
Created August 25, 2020 21:12
GnosisSafe-3
import { useCallback } from "react";
import EIP712Domain from "eth-typed-data";
import BigNumber from "bignumber.js";
import { SimpleSigner } from "did-jwt";
import { ethers } from "ethers";
const { utils } = ethers;
import { useGnosisApi, useGnosisEstimateTransaction } from "../../session";
@cawfree
cawfree / useGnosisWithdraw.ts
Created August 25, 2020 20:42
GnosisSafe-2.tsx
import { useCallback } from "react";
import EIP712Domain from "eth-typed-data";
import BigNumber from "bignumber.js";
import { SimpleSigner } from "did-jwt";
import { ethers } from "ethers";
const { utils } = ethers;
import { useGnosisApi, useGnosisEstimateTransaction } from "../../session";
@cawfree
cawfree / GnosisSafe.tsx
Created August 25, 2020 17:20
Failed signature generation for Gnosis Safe (Snippet)
import EIP712Domain from "eth-typed-data";
import { SimpleSigner } from "did-jwt";
import { ethers } from "ethers";
import {
useGnosisApi,
useIsGnosisSafeDeployed,
useGnosisEstimateTransaction,
} from "../../session";

Keybase proof

I hereby claim:

  • I am cawfree on github.
  • I am cawfree (https://keybase.io/cawfree) on keybase.
  • I have a public key ASB9iM5XxwPxNsiVOHSqiR4RxTY4umIGRwzDLTldMFnnPwo

To claim this, I am signing this object:

@cawfree
cawfree / linear.svg
Last active March 2, 2020 11:49
Linear Gradient SVG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cawfree
cawfree / autogist.md
Last active February 18, 2020 12:34
⚡ Feed

======== 12:34 ======== = 💻 [tfjs, react] = = 0 Pending Issues = = 📉 btc, 🎧 gdq = ==============autogist=