Skip to content

Instantly share code, notes, and snippets.

View szilvesztercsab's full-sized avatar
💻
I may be slow to respond.

Csaba Szilveszter-Berei szilvesztercsab

💻
I may be slow to respond.
View GitHub Profile
@miguelmota
miguelmota / external_link_arrow.txt
Last active July 16, 2024 22:38
Unicode UTF-8 external link arrow symbol (closest thing to it)
@kennyeliason
kennyeliason / makewpsuck.sh
Last active July 4, 2024 23:45
Make WP Suck Less or More
#!/bin/bash
# Make sites into bedrock or normal WordPress
# Version 2.0
# Copyright (c) Kenny Eliason
set -a
source .env
set +a
@pauleveritt
pauleveritt / python_ssr.md
Last active June 3, 2022 07:52
LitElement and Python SSR

Filed under "it's likely hopeless, but..."

I'm beginning an exploration of LitElement and web components. I've been heavy in Angular, React, Gatsby, and HyperApp. Since I'm currently deep in Gatsby, I'm thinking about SSR, PRPL, and "first render".

More specifically, I come from Python. It's hard if you're not running Node on the server and get SSR and first render. This document talks about it.

@mihow
mihow / load_dotenv.sh
Last active July 19, 2024 19:44
Load environment variables from dotenv / .env file in Bash
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@MatthiasWinkelmann
MatthiasWinkelmann / beautiful-failure.py
Created May 22, 2016 17:58
An Ansible plugin to format console output
# Save as <folder with your playbook>/callback_plugins/<some name>.py
# Optionally use no_log: True on your playbook/roles/tasks to suppress other output
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import time
import json
import sys