Skip to content

Instantly share code, notes, and snippets.

View Subhrato20's full-sized avatar

Subhrato Som Subhrato20

View GitHub Profile
@Subhrato20
Subhrato20 / avoid_colab_close.js
Created June 1, 2022 17:52 — forked from amrrs/avoid_colab_close.js
How to avoid Google Colab Session Closing automatically?
//credit - https://huggingface.co/blog/fine-tune-wav2vec2-english (Patrick von Platen)
// run this on your Chrome / Browser Console (where Colab is present)
function ConnectButton(){
console.log("Connect pushed");
document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click()
}
var colab = setInterval(ConnectButton,60000);
@Subhrato20
Subhrato20 / hyper.js
Created October 3, 2021 12:42 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',