Skip to content

Instantly share code, notes, and snippets.

View SethuSenthil's full-sized avatar
🌟
This is the way

Sethu Narayan Senthil SethuSenthil

🌟
This is the way
View GitHub Profile
@SethuSenthil
SethuSenthil / README.MD
Created November 23, 2023 23:43
Edit Hosts File on MacOS (Ventura and above)

Unlock File (Requried on Ventura and above)

sudo chflags nouchg /private/etc/hosts

Edit the file

sudo nano /etc/hosts or to use VS Code: sudo code /etc/hosts

@SethuSenthil
SethuSenthil / README.MD
Created March 30, 2023 19:43
Download Kaltura (Zoom Cloud) Videos

Download Kaltura (Zoom Cloud) Videos

Some instutions and entriprises ristrict zoom recording to cloud recording and upload them to the Kaltura hosting solution Kaltura does not let you download the video to your disk :( this makes it annoying to downlooad the video to your computer so you can do whatever you want to it.

The following simple guide lets you download videos from Kaltura to your disk

How does it work

The video is in a m3mu format which is basically a text file with a bunch mp4 urls to clips of the video, the following code extracts the URLs and merges them into one MP4 file

@SethuSenthil
SethuSenthil / README.md
Last active September 22, 2019 21:37
AutoSSH for serevo.net

autoServeo - AutoSSH for serevo.net

Why?

serveo.net does not support autossh and the serveralive flag will eventually fail, disconnecting you from the remote server

What does this do?

This script aims to reconnect immidieatly after your disconnected esseintaly autoSSH.

How to use

Grant permissions to the script (you will need to do this if it your first time running it) chmod +x PATH/TO/autoServeo.bash Run the script /path/to/autoServeo.bash port subdomain

@SethuSenthil
SethuSenthil / gamecontrols.js
Created December 22, 2018 03:54
Game Controls JS --> A simple game controls boiler plate using javascript event codes
window.addEventListener("keydown", function(event) {
let key = event.code;
if(key === 'ArrowUp' || key === 'KeyW' /*|| key === 'Space'*/){
//jump up
}else if(key === 'ArrowDown' || key === 'KeyS'){
//go down
}else if(key === 'ArrowRight' || key === 'KeyD'){
//move right
}else if(key === 'ArrowLeft' || key === 'KeyA'){
//move left
@SethuSenthil
SethuSenthil / gwqyyx.markdown
Last active November 26, 2018 21:27
GwQyYX
@SethuSenthil
SethuSenthil / sample.txt
Created June 8, 2018 02:24
Most fast and efficient way of loading WebP images
<picture>
<source srcset="media/image.webp" type="image/webp">
<source srcset="media/image.png" type="image/jpeg">
<img src="media/bootstrap.png" height="138" width="138">
</picture>
@SethuSenthil
SethuSenthil / Hiding_Weebly_Footer.html
Created July 31, 2017 16:30
Hiding Weebly Footer
@SethuSenthil
SethuSenthil / apple-touch-icon.html
Last active July 31, 2017 16:00
Template and syntax for apple-touch-icon
<link rel="apple-touch-icon" href="LINK OF PNG IMAGE">
<link rel="apple-touch-icon" sizes="76x76" href="LINK OF PNG IMAGE">
<link rel="apple-touch-icon" sizes="120x120" href="LINK OF PNG IMAGE">
<link rel="apple-touch-icon" sizes="152x152" href="LINK OF PNG IMAGE">
@SethuSenthil
SethuSenthil / weeblyfavicon.txt
Last active July 30, 2017 21:17
Custom Favicon for Free Weebly Websites
𝐇𝐚𝐫𝐝 𝐌𝐞𝐭𝐡𝐨𝐝:
<link rel="shortcut icon" href="http://<Your Site Name>.weebly.com/files/theme/<Image Name>.ico"/>
𝐄𝐚𝐬𝐲 𝐌𝐞𝐭𝐡𝐨𝐝:
<link rel="shortcut icon" href="Paste the link you copied"