Skip to content

Instantly share code, notes, and snippets.

View benms's full-sized avatar
:octocat:
Githubing...

Dmitry Ben benms

:octocat:
Githubing...
View GitHub Profile
@benms
benms / gyazo.php
Created February 12, 2016 08:02 — forked from cowboy/gyazo.php
PHP upload for Gyazo
<?PHP
/*
* PHP upload for Gyazo - v1.2.1 - 3/13/2011
* http://benalman.com/news/2009/10/gyazo-on-your-own-server/
*
* Copyright (c) 2011 "Cowboy" Ben Alman
* Licensed under the MIT license
* http://benalman.com/about/license/
*/
@benms
benms / tmux_cheatsheet.markdown
Created December 19, 2016 21:53 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@benms
benms / ffmpeg.md
Created May 7, 2021 07:27 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@benms
benms / README.md
Created May 10, 2022 12:25 — forked from crypticmind/README.md
Setup lambda + API Gateway using localstack
@benms
benms / docker-compose.yml
Created May 27, 2022 20:01 — forked from wellic/docker-compose.yml
httpx proxy to *.docker
services:
# https://github.com/codekitchen/dinghy-http-proxy
http-proxy:
image: codekitchen/dinghy-http-proxy
container_name: http-proxy
privileged: true
environment:
- CONTAINER_NAME=http-proxy
ports:
@benms
benms / README.md
Created December 26, 2023 14:59 — forked from antfroger/README.md
Using xdebug with Windows 10, WSL2, Docker and VS Code

Configuring xdebug to work with Windows 10 (WSL2), Docker and VS Code

Configuring your dev environment to be able to use xdebug when you're working on Windows 10 (with WSL2) and Docker with VS Code can be (a bit) tricky.
This is a quick reminder of how I've done that.

Configuring the environment

  1. Install and configure xdebug in Docker

Install xdebug according to the Docker image you're using