This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://keithclark.co.uk/articles/pure-css-parallax-websites/demo1/ | |
Basically, the idea is: | |
Top-level page container element (contains navbar body footer, the level which the main scrollbar will be) requires: | |
#___gatsby { | |
perspective: 1px; | |
overflow: auto; | |
height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// apparently there is some hidden settings at https://www.gatsbyjs.org/docs/debugging-replace-renderer-api/#fixing-the-replacerenderer-error | |
import React from "react" | |
import { renderToString } from "react-dom/server" | |
import { ServerStyleSheet, StyleSheetManager } from "styled-components" | |
export const replaceRenderer = ({ | |
bodyComponent, | |
replaceBodyHTMLString, | |
setHeadComponents, | |
}) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UUID=2266-BC8E /mnt/usb vfat auto,user,rw,uid=unyo,gid=unyo 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runinstaller quiet ramdisk_size=32768 root=/dev/ram0 init=/init vt.cur_default=1 elevator=deadline silentinstall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
country=US | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="TARDIS" | |
psk="XXXX" | |
proto=RSN | |
key_mgmt=WPA-PSK | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service cloud.firestore { | |
match /databases/{database}/documents { | |
match /{document=**} { | |
allow read, write; | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package-lock=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g default-terminal "screen-256color" | |
set -g status-bg "#721C0D" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup pi SD card | |
# https://medium.com/@maheshsenni/setting-up-a-raspberry-pi-without-keyboard-and-mouse-headless-9359e0926807 | |
# dl configs | |
wget https://gist.githubusercontent.com/unyo/284cbbd269cde81f85b9e4162a6b6128/raw/f1cb2ec4dc4bb319124cb9f58f42ded7bcf5a4bf/.vimrc | |
wget https://gist.githubusercontent.com/unyo/bfcdfc81a66d2101c67aced713f5dedd/raw/ce47e6d18efb7130ff3374cce8a75ebe1e60c4d5/.profile | |
# update | |
sudo apt-get update && sudo apt-get dist-upgrade # do this regularly | |
# install apps | |
sudo apt-get install vim rvm docker docker-compose python node nginx | |
# rasberry pi only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # Install brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# # Install apps | |
brew install docker docker-compose tmux wget curl git | |
brew cask install atom slate blender ultimaker-cura google-chrome gimp firefox gqrx inkscape keka figma slack synergy zoom.us virtualbox vlc | |
# # Install settings files | |
wget https://gist.githubusercontent.com/unyo/bfcdfc81a66d2101c67aced713f5dedd/raw/3adc63023d3fc531dd8f8f87ee27c92d3485841f/.bashrc | |
wget https://gist.githubusercontent.com/unyo/b405b78b5a01926fbbce0452c4b69eaf/raw/0a3159012de010913eb87e887a6cd2c84568bb80/.slate | |
wget https://gist.githubusercontent.com/unyo/284cbbd269cde81f85b9e4162a6b6128/raw/f1cb2ec4dc4bb319124cb9f58f42ded7bcf5a4bf/.vimrc | |
wget https://gist.githubusercontent.com/unyo/8f280210381ff9a3f41fb7ab4cff7d43/raw/3b902fff44959c2443d8ad3ece1da63c54e69978/package-list.txt |