Skip to content

Instantly share code, notes, and snippets.

View hasham7861's full-sized avatar
:shipit:
Knock Knock. Race Condition. Who's there?

Hasham hasham7861

:shipit:
Knock Knock. Race Condition. Who's there?
View GitHub Profile
@OmarAlashqar
OmarAlashqar / #dotfiles
Last active July 19, 2024 22:02
dotfiles that I roll with
you might find these interesting 👀
configs for my terminal, multiplexer, shell, etc.
currently rolling with: alacritty + zsh + oh-my-zsh + zellij + nvim
@rkuzsma
rkuzsma / gist:0ceefeb3739b96d16b04342cbc5fe54a
Created May 16, 2019 18:10
How to run an old Firefox browser in Docker Ubuntu with VNC
```
docker run -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
```
Browse to http://127.0.0.1:6080/
In the VNC UI, run the LXTerminal. Paste these commands to install a given version of Firefox. Set `FF_VERS` to the release you want. See available releases at http://releases.mozilla.org/pub/firefox/releases
```
apt-get update && apt-get install wget
@ComFreek
ComFreek / BufferedImageTranscoder.java
Last active October 8, 2024 02:40
JavaFX & Batik SVG Renderer: Minimal example
/**
* This is a compilation of code snippets required to render SVG files in JavaFX using Batik.
* See my full post on StackOverflow: http://stackoverflow.com/a/23894292/603003
*/
package proofofconcept;
import java.awt.image.BufferedImage;
import org.apache.batik.transcoder.TranscoderException;
import org.apache.batik.transcoder.TranscoderOutput;
@sloria
sloria / bobp-python.md
Last active October 23, 2024 12:37
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@komasaru
komasaru / .tmux.conf
Last active March 13, 2022 17:29
tmux config(setting) file.
# ==== Basic
# Default shell
set-option -g default-shell /bin/bash
set-option -g default-command /bin/bash
# Allow UTF-8
set-window-option -g utf8 on
# Disable ESC delay
set-option -s escape-time 0
# ==== Reload config (r)