Skip to content

Instantly share code, notes, and snippets.

View MP3Martin's full-sized avatar
💭
🇨🇿

MP3Martin

💭
🇨🇿
View GitHub Profile
@Artistan
Artistan / a ngrok_background.sh
Last active February 23, 2024 22:02 — forked from rjz/ngrok_hostname.sh
Get ngrok hostname from command line
#!/bin/sh
########################################################################################
# I do not need to use the ngrok subdomains...
# start ngrok for my local box (vagrant homestead) in th background
# get the cname from command line for the ngrok alias
# update my subdomain cname to point at new ngrok name
# use it!!!
########################################################################################
# requires ngrok and jq installed.
@bmaupin
bmaupin / free-backend-hosting.md
Last active June 27, 2025 04:10
Free backend hosting
@dmurawsky
dmurawsky / index.js
Last active April 22, 2025 13:06
How to make a page full height in Next.js
const FullHeightPage = () => (
<div>
Hello World!
<style global jsx>{`
html,
body,
body > div:first-child,
div#__next,
div#__next > div {
height: 100%;
javascript: (function () {
function c() {
var e = document.createElement("link");
e.setAttribute("type", "text/css");
e.setAttribute("rel", "stylesheet");
e.setAttribute("href", f);
e.setAttribute("class", l);
document.body.appendChild(e)
}
function h() {
@JanSeW
JanSeW / apache 2 error log.txt
Last active April 21, 2022 16:01
Nextcloud Log
[Mon Oct 09 12:57:30.848892 2017] [authz_core:error] [pid 1138] [client ip:49912] AH01630: client denied by server configuration: /home/admin/web/abi19.eu/public_html/data/.ocdata
[Mon Oct 09 12:58:43.983927 2017] [authz_core:error] [pid 32523] [client ip:49984] AH01630: client denied by server configuration: /home/admin/web/abi19.eu/public_html/data/.ocdata
[Mon Oct 09 12:58:51.748225 2017] [authz_core:error] [pid 1137] [client ip:50028] AH01630: client denied by server configuration: /home/admin/web/abi19.eu/public_html/data/.ocdata
[Mon Oct 09 12:58:57.469848 2017] [authz_core:error] [pid 1138] [client ip:50054] AH01630: client denied by server configuration: /home/admin/web/abi19.eu/public_html/data/.ocdata
[Mon Oct 09 12:59:43.926199 2017] [authz_core:error] [pid 1239] [client ip:50168] AH01630: client denied by server configuration: /home/admin/web/abi19.eu/public_html/data/.ocdata
[Mon Oct 09 12:59:51.802676 2017] [authz_core:error] [pid 1133] [client ip:50202] AH01630: client denied by server configur
@matthewzring
matthewzring / markdown-text-101.md
Last active June 30, 2025 12:29
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@MoOx
MoOx / README.md
Last active May 11, 2023 13:59
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active June 28, 2025 20:00
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
@jimmywarting
jimmywarting / readme.md
Last active June 29, 2025 03:40
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@nicolasdao
nicolasdao / open_source_licenses.md
Last active June 12, 2025 20:47
What you need to know to choose an open source license.