Skip to content

Instantly share code, notes, and snippets.

View iddar's full-sized avatar
🤹‍♂️
code juggling

Iddar Olivares iddar

🤹‍♂️
code juggling
View GitHub Profile
@davidteren
davidteren / nerd_fonts.md
Last active November 18, 2025 05:44
Install Nerd Fonts via Homebrew [updated & fixed]
@brodeynewman
brodeynewman / gist:2af5c36963661281479b24537daa19fc
Created September 7, 2020 17:13
S3 Static hosting bucket policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
// Scripts for https://youtu.be/FEI-uEdb2y8
"deploy": "react-scripts build && aws s3 rm s3://wornoffkeys.com/ --recursive && aws s3 cp ./build s3://wornoffkeys.com/ --recursive --acl public-read"
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
Country Capital City Latitude Longitude Population Capital Type
Afghanistan Kabul 34.5289 69.1725 4011770 Capital
Albania Tiranë (Tirana) 41.3275 19.8189 475577 Capital
Algeria El Djazaïr (Algiers) 36.7525 3.0420 2693542 Capital
American Samoa Pago Pago -14.2781 -170.7025 48526 Capital
Andorra Andorra la Vella 42.5078 1.5211 22614 Capital
Angola Luanda -8.8368 13.2343 7774200 Capital
Anguilla The Valley 18.2170 -63.0578 1402 Capital
Antigua and Barbuda St. John's 17.1172 -61.8457 20764 Capital
Argentina Buenos Aires -34.6051 -58.4004 14966530 Capital
@Jatapiaro
Jatapiaro / qemu_ubuntu.md
Last active August 2, 2025 20:46
How to install QEMU on OSX and install an Ubuntu VM

Install QEMU on OSX

QEMU requires brew in OSX, so we need to install brew first.

Installing Brew

To install brew we need to have the developer tools enabled in our system. In order to install those tools, we have two options.

  1. Download Xcode form the AppStore
  2. In your terminal run the following command: xcode-select --install
@EyalSi
EyalSi / chromiumpackages.config
Last active October 2, 2020 08:02 — forked from chimmelb/chromiumpackages.config
.ebextensions config file to load NodeJS EB instance with packages needed for Puppeteer/Chromium
packages:
yum:
cups-libs: []
dbus-glib: []
libXrandr: []
libXcursor: []
libXinerama: []
cairo: []
cairo-gobject: []
pango: []
@AjkayAlan
AjkayAlan / WSLWindows10Setup.md
Last active August 3, 2025 12:18
Windows SubSystem For Linux setup that I like with some developers stuff mixed in

Setting Up WSL

Install A Distro:

  1. Run the following in powershell as admin Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  2. Install a distro (ex: Ubuntu 18.04 LTS - https://www.microsoft.com/store/apps/9N9TNGVNDL3Q)

  3. Open your distro you installed via the start menu, let it setup

  4. Update and upgrade

sudo apt-get update
@manuelbl
manuelbl / README.md
Created August 3, 2019 09:12
ESP32 as Bluetooth Keyboard

ESP32 as Bluetooth Keyboard

With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.

For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.

In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone:

  1. Go to your computers/phones settings
  2. Ensure Bluetooth is turned on
@chimmelb
chimmelb / chromiumpackages.config
Last active June 7, 2024 14:55
.ebextensions config file to load NodeJS EB instance with packages needed for Puppeteer/Chromium
# This is for ElasticBeanstalk with Amazon Linux 2023. For previous Linux 2 or Linux 1, see revisions for ideas
packages:
yum:
cups-libs: []
libdrm: []
libXdamage: []
libXfixes: []
libXrandr: []
mesa-libgbm: []
libxkbcommon: []
@gabrielfin
gabrielfin / userChrome.css
Created August 31, 2018 20:24
Chromeless Firefox
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#PersonalToolbar,
#BookmarksToolbar,
#MenuToolbar,
#nav-bar{ display: none !important; }
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
min-height: 0 !important;
}
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {