Skip to content

Instantly share code, notes, and snippets.

@dianjuar
dianjuar / i3-shortcuts-screenshot.md
Last active April 24, 2024 14:56
My i3 shortcuts to take screenshots

Requirements

  • maim
  • xclip

Set-up

Set this on your i3 config file ~/.i3/config

# Screenshots
@bittner
bittner / keyboard-keys.md
Created February 28, 2019 22:50
Keyboard keys markup in MarkDown

Ctrl + Alt + Space

@ChipCE
ChipCE / readme.md
Last active April 24, 2024 14:54
Klipper bed mesh on print area only macro install guide

READ THIS FIRST

Adaptive bed mesh is merged into klipper master branch. You can use this feature without this custom macro. Official klipper adaptive bed mesh

Klipper mesh on print area only install guide

What this macro do

  • This macro will dynamically changing the bed mesh area based on the size of the parts will be printed. The fw will only probe on the area that the part will be printed (plus mesh_area_offset value)
@hitorilabs
hitorilabs / WINDOWS11.md
Last active April 24, 2024 14:53 — forked from hungneox/WIN10.MD
Install Windows 11 From A Bootable USB (macos)

Personally, I prefer installing operating systems from a USB stick, so here's a tutorial

TL;DR

If you already have some idea of what's going on:

  1. Download the ISO from Microsoft - https://www.microsoft.com/en-ca/software-download/windows11
  2. Erase USB device and format in MS-DOS/FAT32
diskutil eraseDisk MS-DOS "WINDOWS11" MBR /dev/diskX
@MattPD
MattPD / analysis.draft.md
Last active April 24, 2024 14:53
Program Analysis Resources (WIP draft)
@Antoan43
Antoan43 / LboroUni_TimetableExport.js
Last active April 24, 2024 14:52
Block of code that when executed under the console on the timetable page, should extract timetabled data from the page and format into an .ics format.
///////////////
/*
Author: Antoan Phu, https://Antoan.io
TimetableExport.js - A chunk of code made to export lboro timetable page into an ics.
INSTRUCTIONS PLEASE READ:
- ICS To be put into Outlook Cal, strange issue when importing into Google Calendar.
- Use Chrome
- Ensure that you have navigated to correct page and week on your timetable
- Execute this code within inspect element console
- An ICS file should be generated.
@bcm
bcm / dapx-data-eng-coding-exercise.md
Last active April 24, 2024 14:52
Data Engineer Coding Exercise (American Express | Digital Acquisition Platform Excellence)

This exercise consists of developing a distributed Extract-Transform-Load (ETL) application.

Your application should ingest the data from a source relational database system and use a distributed data processing tool such as Apache Hadoop or Apache Spark to compute some statistics and output them in a form that can be loaded into some destination storage system for consumption.

Please write your application in Python, Java, Scala or Kotlin. The application must be buildable from the command line; it should not require an IDE to build or run.

The exercise should generally not take more than 3 or 4 hours, although you're free to take as much time as you'd like to work on it. If you don't finish within a few hours, that's okay; submit what you've got anyway.

Source database

@peters
peters / Sony WH-1000XM4.md
Last active April 24, 2024 14:52
Connecting Sony WH-1000XM4 to Ubuntu 22.04 (Jammy)

Connecting Sony WH-1000XM4 to Ubuntu 22.04 (Jammy)

This guide will help you connect your Sony WH-1000XM4 headset to Ubuntu 22.04 using Bluetooth. Once connected, you'll be able to listen to music and use the microphone on apps like Microsoft Teams.

1. Connect to Bluetooth Headset

Steps:

  1. Open a terminal and launch bluetoothctl:
@SahilMahadwar
SahilMahadwar / bing-wallpaper.sh
Last active April 24, 2024 14:51
You can use this script to automatically set Bing's image of the day as your wallpaper. It downloads the image and saves it to a chosen folder. It also keeps track of downloaded images using a JSON file, so it won't download the same one twice. Just set it to run on every login to keep your wallpaper fresh!
#!/bin/bash
# Check internet connectivity
check_internet() {
wget -q --spider http://example.com
return $?
}
# Wait for internet connectivity
while ! check_internet; do
@rxaviers
rxaviers / gist:7360908
Last active April 24, 2024 14:48
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: