Tuesday, December 21, 2021

Sunday, December 19, 2021

Migrate old backups of DS4Windows Profiles

files are stored in C:\Users\[username]\AppData\Roaming\DS4Windows\Profiles

 Just copy over the old profiles, and delete the newest "default" profile. 



Adding A Flatiron Customization To Your Terminal in VSCode

 

Adding A Flatiron Customization To Your Terminal

  1. Start out by making a backup for your .bashrc

    mv .bashrc .bashrc.bak
    
  2. We will want a tool for converting Windows endings to Unix endings for our new .bashrc

    sudo apt-get install dos2unix
    
  3. download the new .bashrc

    curl -R "https://raw.githubusercontent.com/flatiron-school/dotfiles/master/.bashrc-windows" >> $HOME/.bashrc
    
  4. We'll use our converter to convert our bashrc to use the right unix endings:

    dos2unix .bashrc
If you get error, try completely closing VSCODE and reopening, and it should be a customized terminal now.


Sunday, November 14, 2021

Win10 Duplicate accounts at login screen - how to remove

 Add a NEW user through user accounts settings.

Then login as new user, and delete the old user.

Monday, November 8, 2021

Adding A Flatiron Customization To Your Terminal

 

Adding A Flatiron Customization To Your Terminal

  1. Start out by making a backup for your .bashrc

    mv .bashrc .bashrc.bak
    
  2. We will want a tool for converting Windows endings to Unix endings for our new .bashrc

    sudo apt-get install dos2unix
    
  3. download the new .bashrc

    curl -R "https://raw.githubusercontent.com/flatiron-school/dotfiles/master/.bashrc-windows" >> $HOME/.bashrc
    
  4. We'll use our converter to convert our bashrc to use the right unix endings:

    dos2unix .bashrc

Tuesday, September 7, 2021

How to start PGsql Postgres server

 Try directly using:

sudo /etc/init.d/postgresql start

else:

pgrep -u postgres -fa -- -D

How to start Postgres
There again are several ways to start Postgres. If you’re running a Debian-based distribution, you should find the perl wrappers pretty handy.

For Debian or Debian-based (including Ubuntu) Linux distributions
First, issue pg_lsclusters to find out your cluster name:

pg_lsclusters

Ver Cluster Port Status Owner Data directory Log file
12 main 5432 online postgres /var/lib/postgresql/12/main /var/log/postgresql/postgresql-12-main.log

To start that particular cluster, you just need to issue:

pg_ctlcluster <Version> <Name> start

So, in our example, it will be:

pg_ctlcluster 12 main start

if that gives an error, use:

sudo /etc/init.d/postgresql start

may need to then run:

584 rake db:drop
586 rake db:create
587 rake db:migrate
588 rake db:seed

Tuesday, August 17, 2021

chrome create desktop shortcut for user profile

 settings > search for 'customize profile' page > at bottom of page, toggle the shortcut switch

Friday, June 4, 2021

MacBook Pro 13 External Displays limit

 13 inch has Intel graphics (limited to 3 displays; 2 external, 1 internal)



Sunday, May 30, 2021

Jlab Go Air: Turn up volume

 tap the left or right earbud to adjust volume up or down

Sunday, April 25, 2021

SMX controller gamepad program buttons

 To program the M1-M4 buttons hold one of them and then press the Back (for single button) or Start (for combination of buttons) and the colour of the right thumbstick will change to purple. Let go of the M button and then press the buttons or button you want and then finally press the M button again. That M button will now mirror those buttons/button. I've found it very useful for using the controller in one hand whilst using the mouse in the other.


https://www.amazon.com/gp/product/B086PF8J6H/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

Sunday, March 21, 2021

Dell Laptop 17 inch 7773 Tips

 Undervolt GPU: Msi Afterburner, Ctrl-F for voltage editor


https://www.reddit.com/r/overclocking/comments/ga2v4e/msi_afterburner_voltage_curve_key_shortcuts/