This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Well this is embarrassing... I found the solution I was looking for and it couldn't be simpler. I used the following code to get the desired result. Hope this helps someone in the future. Thanks everyone for your help. | |
<input id="fileSelect" type="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" /> | |
Valid Accept Types: | |
For CSV files (.csv), use: | |
<input type="file" accept=".csv" /> | |
For Excel Files 97-2003 (.xls), use: | |
<input type="file" accept="application/vnd.ms-excel" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref - https://www.pgadmin.org/download/pgadmin-4-container/ | |
Command | |
sudo docker run -p 5050:80 --restart=always -d -v /home/dpc2/pgadmin:/var/lib/pgadmin/storage -e 'PGADMIN_DEFAULT_EMAIL=postgres' -e 'PGADMIN_DEFAULT_PASSWORD=avesta' dpage/pgadmin4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1 | |
xrandr - check the monitor name, here in our example it is - eDP-1 | |
Step 2 | |
cvt 1600 900 | |
Step 3 | |
sudo xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync | |
Step 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" data-dnd="true"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> | |
<!--[if !mso]><!--> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> | |
<!--<![endif]--> | |
<!--[if (gte mso 9)|(IE)]><style type="text/css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you just switched from bash to zsh and have issues with rbenv and gem, then you should move rbenv initialization to ~/.zshenv | |
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv | |
$ echo 'eval "$(rbenv init -)"' >> ~/.zshenv | |
$ echo 'source $HOME/.zshenv' >> ~/.zshrc | |
$ exec $SHELL |