Skip to content

Instantly share code, notes, and snippets.

View Pragalbha-Patil's full-sized avatar
👨‍💻
God is real, unless declared integer.

Pragalbha Patil Pragalbha-Patil

👨‍💻
God is real, unless declared integer.
View GitHub Profile
@Pragalbha-Patil
Pragalbha-Patil / bouncing-dvd-logo.markdown
Last active November 12, 2022 15:41
Bouncing DVD Logo

Bouncing DVD Logo

@Pragalbha-Patil
Pragalbha-Patil / github_desktop_ubuntu.sh
Created July 19, 2021 14:48 — forked from berkorbay/github_desktop_ubuntu.md
To install Github Desktop for Ubuntu
#sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb
#sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb
# UPDATE (2021-03-05): Thanks to PaoloRanzi81's comment, the updated code is as follows https://gist.github.com/PaoloRanzi81
sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb
### Uncomment below line if you have not installed gdebi-core before
# sudo apt-get install gdebi-core
sudo gdebi GitHubDesktop-linux-2.6.3-linux1.deb
@Pragalbha-Patil
Pragalbha-Patil / install-toolbox.sh
Created July 4, 2021 15:27 — forked from greeflas/install-toolbox.sh
JetBrains Toolbox installation script for Ubuntu - https://www.jetbrains.com/toolbox/app/
#!/bin/bash
set -e
if [ -d ~/.local/share/JetBrains/Toolbox ]; then
echo "JetBrains Toolbox is already installed!"
exit 0
fi
echo "Start installation..."
@Pragalbha-Patil
Pragalbha-Patil / index.html
Created June 20, 2020 11:19
String interpolation example
<div id="container-fluid">
<table class="table table-responsive table-striped">
<thead class="thead-dark">
<th>ID</th>
<th>Branch Name</th>
<th>Name</th>
<th>Phone</th>
<th>Email</th>
<th>Status</th>
</thead>
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@Pragalbha-Patil
Pragalbha-Patil / script.js
Created August 11, 2019 14:46
A javascript Tic-tac-toe using Minimax algorithm
var origBoard;
const huPlayer = 'O';
const aiPlayer = 'X';
const winCombos = [
[0, 1, 2],
[3, 4, 5],
[6, 7, 8],
[0, 3, 6],
[1, 4, 7],
[2, 5, 8],