Skip to content

Instantly share code, notes, and snippets.

View espretto's full-sized avatar

Marius espretto

  • Oldenburg
View GitHub Profile
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active July 16, 2025 21:26
set -e, -u, -o, -x pipefail explanation
@robcowie
robcowie / install_lsp_sublime.md
Last active August 29, 2022 19:19
Install and configure the python language server for Sublime Text 3 (using the LSP plugin)

Install and configure Python LSP & Sublime Text 3

Install the langauge server

This installs the python server provided by Palantir.

Microsoft also provide the C# server which requires the .net runtime.

pipenv install 'python-language-server[all]'
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 16, 2025 08:59
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@Yukiniro
Yukiniro / what-forces-layout.md
Created July 30, 2020 05:57 — forked from paulirish/what-forces-layout.md
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
@charleslukes
charleslukes / package.json
Last active April 26, 2024 08:13
Webpack Configuration for ESModule
{
"type": "module",
"dependencies": { },
"devDependencies": {
"webpack": "^5.87.0",
"webpack-bundle-analyzer": "^4.9.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1",
},