Skip to content

Instantly share code, notes, and snippets.

View rickstaa's full-sized avatar
🏠
Working from home

Rick Staa rickstaa

🏠
Working from home
View GitHub Profile
@kbychkov
kbychkov / gh_pages.sh
Last active November 18, 2023 15:30
Working with gh-pages as an orphan branch
# Create `gh-pages` branch from scratch
cd <dir>
git init
git remote add origin <url>
git checkout --orphan gh-pages
git add .
git commit -m "build 1.0.0"
git push origin gh-pages
@xypnox
xypnox / setup.md
Last active July 27, 2020 12:18
Setup ESLint for React and VSCode
@skylord123
skylord123 / grafana-power-usage-dashboard.json
Created October 18, 2019 00:53
grafana-power-usage-dashboard
{
"__inputs": [
{
"name": "DS_GOLIATH_INFLUXDB",
"label": "goliath influxdb",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
@epwalsh
epwalsh / ci.yml
Last active November 3, 2020 10:39
Python GitHub Actions with pip cache
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/cache@v2
with:
@epwalsh
epwalsh / ci.yml
Last active January 5, 2021 15:06
Python GitHub Actions with venv cache
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('dev-requirements.txt') }}
@mrtcmn
mrtcmn / workaround.css
Created November 27, 2020 15:04
firefox backdrop-filter workaround
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
.blurred-container {
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
}
/* slightly transparent fallback for Firefox (not supporting backdrop-filter) */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
.blurred-container {