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
| # Email spoofing | |
| https://emkei.cz/ | |
| # Spell checker | |
| https://www.grammarcheck.net/editor/ |
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
| # Removes program problem report pop up | |
| sudo rm /var/crash/* | |
| # Remove completely and reinstall nvidia driver (https://ubuntuforums.org/showthread.php?t=2419319) | |
| $ sudo apt-get remove --purge '^nvidia-.*' | |
| $ sudo apt-get autoremove | |
| $ sudo rm /usr/share/X11/xorg.conf.d/20-intel.conf | |
| $ sudo rm /etc/X11/xorg.conf | |
| $ sudo rm /var/log/Xorg.* | |
| $sudo apt install nvidia-prime |
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
| // Native elements | |
| let id = driver.findElement('id', 'resource-id') | |
| driver.elementClick(id.ELEMENT) | |
| driver.elementClick(id.ELEMENT) | |
| driver.getElementText(id.ELEMENT) | |
| $('~Front page').click() // Android elements with description-context | |
| $('//*[@resource-id="resource id here"]') |
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
| console.log("\x1b[33m%s\x1b[0m" ,"I Am Using Yellow"); | |
| console.log("\x1b[44m%s\x1b[0m" ,"Background Color Is Blue"); | |
| echo -e "\033[31mText will be red for this message\033[0m" | |
| Reset = "\x1b[0m" | |
| Bright = "\x1b[1m" | |
| Dim = "\x1b[2m" | |
| Underscore = "\x1b[4m" | |
| Blink = "\x1b[5m" | |
| Reverse = "\x1b[7m" |
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
| git rebase --interactive 'bbc643cd^' #include carret ^ at the end to rebase to the commit before the one to edit | |
| # In the default editor, modify pick to edit in the line mentioning 'bbc643cd'. | |
| # Rebase will stop at the requested commit, i.e. bbc643cd | |
| # Make and stage changes | |
| git commit --amend # or git commit --amend -m "an updated commit message" if you want to change message too | |
| git rebase --continue # this will apply the rest of the commits and bring you to HEAD | |
| # WARNING: Note that this will change the SHA-1 of that commit as well as all children | |
| # https://stackoverflow.com/questions/1186535/how-to-modify-a-specified-commit |
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
| const express = require('express'); | |
| const morgan = require('morgan'); | |
| const cors = require('cors'); | |
| const createError = require('http-errors'); | |
| const bodyParser = require('body-parser'); | |
| const { initializeApp } = require('firebase/app'); | |
| const { | |
| getStorage, | |
| ref, | |
| uploadBytes, |
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
| const fs = require('fs/promises'); | |
| const express = require('express'); | |
| const morgan = require('morgan'); | |
| const cors = require('cors'); | |
| const createError = require('http-errors'); | |
| const bodyParser = require('body-parser'); | |
| const { initializeApp } = require('firebase/app'); | |
| const { | |
| getStorage, | |
| ref, |