Skip to content

Instantly share code, notes, and snippets.

@quangIO
quangIO / wezterm.lua
Created March 15, 2022 15:08
My wezterm config with tmux-like bindings
local wezterm = require 'wezterm';
return {
color_scheme = "Dracula",
-- colors = {
-- background = "#0c0e14",
-- },
window_decorations = "NONE",
font = wezterm.font("Iosevka"),
font_size = 10.0,
-- dpi = 192.0,
@kepano
kepano / obsidian-web-clipper.js
Last active April 18, 2024 20:47
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@fabidick22
fabidick22 / migrate-ecr.py
Last active March 12, 2024 21:25
Migrate AWS ECR images from one account to another in different regions
"""
MIT License
Copyright (c) 2021 fabidick22
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@xbb
xbb / README
Last active April 17, 2024 20:21
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
@mandeepbal
mandeepbal / gist:3448eaa6dee9468dbe4dc5470323ca1e
Created June 10, 2016 22:53
List of All AWS East-1 & West-2 RSS feeds for Slack Feed Subscription
/feed subscribe http://status.aws.amazon.com/rss/aml-us-east-1.rss
/feed subscribe http://status.aws.amazon.com/rss/analytics-us-east-1.rss
/feed subscribe http://status.aws.amazon.com/rss/apigateway-us-east-1.rss
/feed subscribe http://status.aws.amazon.com/rss/apigateway-us-west-2.rss
/feed subscribe http://status.aws.amazon.com/rss/appstream-us-east-1.rss
/feed subscribe http://status.aws.amazon.com/rss/autoscaling-us-east-1.rss
/feed subscribe http://status.aws.amazon.com/rss/autoscaling-us-west-2.rss
/feed subscribe http://status.aws.amazon.com/rss/awsiot-us-east-1.rss
/feed subscribe http://status.aws.amazon.com/rss/awsiot-us-west-2.rss
/feed subscribe http://status.aws.amazon.com/rss/awswaf.rss
@sunix
sunix / scantofile.sh
Created August 5, 2012 08:49
My Brother brscan scanner S-KEY tool scan to file script. Scan from ADF, convert to PDF and merge PDFs files into a single one.
#! /bin/sh
set +o noclobber
#
# $1 = scanner device
# $2 = friendly name
#
#
# 100,200,300,400,600
#