Skip to content

Instantly share code, notes, and snippets.

@VehpuS
VehpuS / expo-local-build-nodes.md
Last active February 1, 2023 22:34
A Summary of Documents on How to Build Expo Locally

A Summary of Documents on How to Build Expo Locally

I made this because each doc on it's own discusses localizing one part of the pipeline - and I couldn't find a single place to see the whole process.

Project set up + app.json

From Building Standalone Apps

Do steps 1, 2

@rwenz3l
rwenz3l / hetzner-proxmox-docker.sh
Created September 2, 2017 15:29
Hetzner Dedicated with Debian 9 (Stretch) and Proxmox 5 (LXC) + Docker-CE + Portainer [NAT]
#############################################
### Proxmox V & Docker-CE + Portainer #
#############################################
## Rescue System
# Erase other disks
dd if=/dev/zero of=/dev/sda bs=1M count=100
dd if=/dev/zero of=/dev/sdb bs=1M count=100
# You can install debian 9 via the guide:
@0xjac
0xjac / private_fork.md
Last active October 25, 2025 17:58
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@gnanet
gnanet / split-pem.sh
Created October 18, 2015 02:42
Split combined PEM file the smart way (tested on debian, requires openssl)
#!/bin/bash
if [ $1 ]
then
if [ -f $1 ]
then
pemfile=$1
fi
else
echo "Usage: split-pem.sh COMBINED-PEMFILE"
@paulirish
paulirish / what-forces-layout.md
Last active October 24, 2025 22:56
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent