See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/usr/bin/env php | |
<?php | |
if ($argc < 3) { | |
die("Usage: ./jtt.php ISSUE-1 30m optional comment here\n"); | |
} | |
$username = 'EMAIL_GOES_HERE'; | |
$token = 'API_KEY_HERE'; // see https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/ | |
$team = 'TEAM_NAME_HERE'; |
#!/bin/sh | |
if [ $# -ne 2 ] | |
then | |
echo "Pass 2 params" | |
echo -e "show_app.sh <Window Title to check for> <app to open>" | |
echo -e "\nNotes\n\t<Window url> should be an exact string match" | |
echo -e "\t<app to open> should be path to the executable" | |
exit | |
fi |
# Disable Commercial Repo | |
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list | |
apt-get update | |
# Add PVE Community Repo | |
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list | |
apt-get update | |
# Remove nag | |
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script |
#!/bin/bash | |
for d in $(find /sys/kernel/iommu_groups/ -type l | sort -n -k5 -t/); do | |
n=${d#*/iommu_groups/*}; n=${n%%/*} | |
printf 'IOMMU Group %s ' "$n" | |
lspci -nns "${d##*/}" | |
done; |
var http = require('http'); | |
var server = http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end('Hello ' + req.connection.remoteAddress + '!'); | |
// Client address in request -----^ | |
}); | |
server.on('connection', function(sock) { | |
console.log('Client connected from ' + sock.remoteAddress); | |
// Client address at time of connection ----^ | |
}); |
# To install on Arch-based distros(like Manjaro) | |
# sudo pacman -Syu xdotool | |
# To install on Ubuntu-based distros | |
# sudo apt-get install xdotool | |
xdotool key Caps_Lock | |
# Especially useful in VM scenarios where the parent OS has disabled Caps Lock, | |
# but somehow the child OS thinks that caps is active. |
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Edwin Clement", | |
"label": "Software Engineer at BrowserStack", | |
"email": "[email protected]", | |
"phone": "+91 98335 82185", | |
"url": "https://blog.edwinclement08.com", | |
"summary": "An avid learner interested in various domains. Primarily skilled in Python, Deep Learning, App Development and Full Stack Apps. ", | |
"location": { |
Create a DWORD called "AltTabSettings" in | |
\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer | |
and set it to 1. | |
This will get you back your beloved classic (and super zippy) Windows XP AltTab. |
1) Pair ALL bluetooth devices in linux (it is to have the files you will need to edit later)
2) Pair ALL bluetooth devices in Windows 10. If you know how, get the MAC address
id from your bluethooth keyboard, we will need it later
3) Reboot and go back to Linux
4) Install chntpw
package, this is needed to read the registry keys from Wintendo
sudo apt-get install chntpw