Skip to content

Instantly share code, notes, and snippets.

View M6268's full-sized avatar

Manu KS M6268

  • CODMENTOR PRIVATE LIMITED
  • INDIA
  • 16:05 (UTC +05:30)
View GitHub Profile
@tomdaley92
tomdaley92 / README.md
Last active May 25, 2024 05:52
Proxmox - SPICE Client setup for MacOS

Proxmox - SPICE client setup for MacOS

  1. Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.

    brew tap jeffreywildman/homebrew-virt-manager
    brew install virt-viewer
  2. Once that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface

@marlosirapuan
marlosirapuan / gist:778d6beda5f8ab95695748011c864b19
Last active May 23, 2024 08:26
Download .m3u8 files on MacOS

Install ffmpeg

brew install ffmpeg

Download file through url, like this:

ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
@pavankjadda
pavankjadda / How to fix gitignore not working issue.md
Last active May 30, 2024 07:58
How to fix "gitignore not working" issue

FYI: Created blog post with more details

How to fix ".gitignore not working" issue?

Sometimes git does not exclude files/folders added .gitignore especially if you had commited them before. Here is how to fix it. I am ignoring node_modules from Angular project as an example

  1. Update .gitignore with the folder/file name you want to ignore. You can use anyone of the formats mentioned below (prefer format1)
### Format1  ###
node_modules/
@insdavm
insdavm / WireGuard-site-to-site.md
Last active May 3, 2024 21:19
Accessing a subnet that is behind a WireGuard client using a site-to-site setup

WireGuard Site-to-Site

Accessing a subnet that is behind a WireGuard client using a site-to-site setup

Problem Summary

We want to access a local subnet remotely, but it is behind a NAT firewall and we can't setup port forwarding. Outgoing connections work, but all incoming connections get DROPPED by the ISP's routing policy.

Solution Summary

@ravnoor
ravnoor / plexDatabaseRestoreScript.sh
Created December 25, 2018 23:05 — forked from ssmereka/plexDatabaseRestoreScript.sh
Plex Media Server database backup restore script.
#!/bin/bash
# Restore a Plex database.
# Author Scott Smereka
# Version 1.0
# Script Tested on:
# Ubuntu 12.04 on 2/2/2014 [ OK ]
# Plex Database Location. The trailing slash is
@ichiTechs
ichiTechs / docker-compose.yml
Last active June 5, 2024 04:31
NextCloud with Maria DB docker-compose file
# NextCLoud with MariaDB/MySQL
#
# Access via "http://localhost:80" (or "http://$(docker-machine ip):80" if using docker-machine)
#
# During initial NextCLoud setup, select "Storage & database" --> "Configure the database" --> "MySQL/MariaDB"
# Database user: nextcloud
# Database password: nextcloud
# Database name: ncdb
# Database host: replace "localhost" with "maria-db" the same name as the data base container name.
#
@slopeofhope81
slopeofhope81 / gist:9093298
Created February 19, 2014 14:35
I made this quiz app that has following: 1)radio button choices 2)it will show score upon completion 3)can show any # of questions and choices4)tally the user's score and remove everything else in the form
<html>
<head><!--html-->
<title>example1</title>
<link rel="stylesheet" type="text/css" href="do.css">
</head>
<body>
<div id="point"></div>
<div id="question"></div>
<form name="radioAnswers">