Skip to content

Instantly share code, notes, and snippets.

View cawfree's full-sized avatar
😍

cawfree cawfree

😍
View GitHub Profile
@cawfree
cawfree / from-powerwash-to-react-native.md
Last active July 8, 2019 08:16
From Powerwash to React Native

From Powerwash to React Native

I seem to end up powerwashing my Chromebook all of the time, to the extent that the process of regaining my full development environment in under an hour has become as minimal as I intend to make it.

Since I feel that I've gone as far as I can, I figured documenting the steps involved might be of some value to you. I've tried this on a number of different Chromebooks, so you shouldn't hit any major stumbling blocks*. However, if you do, feel free to tweet me @cawfree.

*arm-v7

So, here's the no deep sh*t guide on how to make your Chromebook React Native ready.

From scratch.

@cawfree
cawfree / autogist.md
Last active February 18, 2020 12:34
⚡ Feed

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

@cawfree
cawfree / linear.svg
Last active March 2, 2020 11:49
Linear Gradient SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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 / 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";
@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 / 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 / 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
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 / 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",