| { | |
| "0":{ | |
| "day":{ | |
| "description":"Sunny", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| }, | |
| "night":{ | |
| "description":"Clear", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| } |
| { | |
| "env": { | |
| "browser": true, | |
| "es2021": true | |
| }, | |
| "extends": [ | |
| "plugin:react-hooks/recommended", | |
| "plugin:react/recommended", | |
| "airbnb", | |
| "plugin:@typescript-eslint/recommended", |
Here you will find lots of useful resources to me as a developer, everything from font pairing, to regex finding, to tailwind resources is here! If you have any suggestions feel free to suggest them in a comment!
Google webfonts helper
- Nice for getting data about various fonts, pairing them, finding backup fonts, etc.
Embedded google fonts
- Get one CSS file for a google font
Font style matcher
- Compare what fonts look like, test what two fonts look like on top of each other, and more.
Run code --list-extensions --show-versions to see the extensions you have installed
Import/export VS Code Extensions Guide: https://marketplace.visualstudio.com/items?itemName=aslamanver.vsc-export
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
| #!/bin/sh | |
| # This is a simple hack to fix the pnpm module resolution, if you encounter "Module not found" in some deep dependency of your | |
| # project, then use this script to add those not founded dependencies as a direct dev dependency. | |
| # All credit goes to flaviut https://github.com/pnpm/pnpm/issues/1261 | |
| while true; do pnpm install -D $(pnpm start 2>&1 | grep 'Error: Cannot find module' | sed "s/Error: Cannot find module '\([a-z.-]\+\)'/\1/g"); done |
If you hate git submodule, then you may want to give git subtree a try.
When you want to use a subtree, you add the subtree to an existing repository where the subtree is a reference to another repository url and branch/tag. This add command adds all the code and files into the main repository locally; it's not just a reference to a remote repo.
When you stage and commit files for the main repo, it will add all of the remote files in the same operation. The subtree checkout will pull all the files in one pass, so there is no need to try and connect to another repo to get the portion of subtree files, because they were already included in the main repo.
Let's say you already have a git repository with at least one commit. You can add another repository into this respository like this:
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
github recently switched to an https scheme as the default for cloning repos. as a side effect you may suddenly be prompted for a 'Username' and 'Password' when you push where, previously, you were able to do so without typing in credentials. the solution is to cause git to cache https credentials which is easy, since git uses curl under the covers
in your home directory create a file called '.netrc', for example
/Users/ahoward/.netrc
in it put these contents