Skip to content

Instantly share code, notes, and snippets.

@borjaburgos
borjaburgos / gist:1237dca02802669eef4d2aaa83393478
Last active January 20, 2025 21:07
Arcade Coder Serial Boot
I (30) boot: ESP-IDF v3.3 2nd stage bootloader
I (30) boot: compile time 10:35:25
I (30) boot: Enabling RNG early entropy source...
I (32) boot: SPI Speed      : 80MHz
I (34) boot: SPI Mode       : DIO
I (36) boot: SPI Flash Size : 4MB
I (39) boot: Partition Table:
@fewwwww
fewwwww / config.md
Created May 18, 2024 04:58
常熟阿诺 GPT
@stanorama
stanorama / iis_streamlit.md
Last active January 20, 2025 21:06
IIS Reverse Proxy and Windows Authentication for Streamlit

IIS Reverse Proxy and Windows Authentication for Streamlit

Introduction

Setting up a reverse proxy on IIS (Internet Information Services) allows us to take advantage of windows authentication.

This means we can limit access to a streamlit app to a specific Active Directory group, Local group or list of Active Directory users.

(I haven't tested https support yet).

@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active January 20, 2025 21:06
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@teocci
teocci / how-to-ssh-into-windows.md
Created October 13, 2022 08:07
How to SSH into Windows 10 or 11?

How to SSH into Windows 10 or 11?

The latest builds of Windows 10 and Windows 11 include a build-in SSH server and client that are based on OpenSSH. This means now you can remotely connect to Windows 10/11 or Windows Server 2019 using any SSH client, like Linux distros. Let's see how to configure OpenSSH on Windows 10 and Windows 11, and connect to it using Putty or any other SSH client.

OpenSSH is an open-source, cross-platform version of Secure Shell (SSH) that is used by Linux users for a long time. This project is currently ported to Windows and can be used as an SSH server on almost any version of Windows. In the latest versions of Windows Server 2022/2019 and Windows 11, OpenSSH is built-in to the operating system image.

@rxaviers
rxaviers / gist:7360908
Last active January 20, 2025 21:03
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:
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# /etc/screenrc
#
# This is the system wide screenrc.
#
# You can use this file to change the default behavior of screen system wide
# or copy it to ~/.screenrc and use it as a starting point for your own
# settings.
@markodvornik
markodvornik / Hack-WD-MCHD.md
Last active January 20, 2025 20:54
How to hack the "WD My Cloud Home Duo" into a decent home media center

WD My Cloud Home Duo Hack

🚩 NOTE: in late 2022 WD introduced a firmware release in which they locked root user access over "serial connection". The methods described in this post are therefore irrelevant and do not work anymore. Feel free to discus other alternatives in the comments below. This was also the final firmware release for this product as it entered EOL in June 2023.

TL;DR

A simple How-To on turnning your WD My Cloud Home in to fully pledged Linux box and install some usefull apps (SSH & SFTP server, Torrent client, ...).

  • Connect to the device with USB serial cable.
@cirippo
cirippo / ReadMe.md
Last active January 20, 2025 20:54
Download Google Drive protected PDF without TrustedScriptURL error at higher resolution

Easy step by step guide to download view only PDF from Google Drive - no TrustedScriptURL error and better quality


  1. Open the document in Google Docs
  2. Zoom in 2 times using Ctrl and + (VERY IMPORTANT!)
  3. Open Developer Tools
  4. Hit Ctrl + R to reload the document.
  5. Scroll to the bottom of the document to load all pages.
  6. To check if all pages are loaded, go to "Network" tab, type "img" in search bar. At the bottom bar you see "xx/yyy requests", "xx" must be equal to document's pages; if not scroll up to load missing pages
  7. Go to "Console" tab
  8. Paste the updated and improved script (download_pdf.js) that avoids TrustedScriptURL error and allows better file's quality