ChatGPT:astonished:
Run Powershell script from command prompt(assuming script directory has been added to PATH)
powershell -ExecutionPolicy Bypass -Command "& 'alwayson.ps1'"
Plan or be planned.
Life is 10% of what happens to you, and 90% of how you react to it
Command Line Weather.. wttr.in the right way to check the weather
curl wttr.in/44087
Piqu
My life
Schema
Import csv data into google calendar
Take a full page screen shot:
Open DevTools (f12) by going to View ➙ Developer ➙ Developer Tools (Option + ⌘ + I)
Go to ellipses menu ➙ Run command (Shift + ⌘ + P)
Type “screenshot”
Select the type of screenshot your want to take: area, full size, node, or regular.
PimEyes: Face Recognition Search Engine and Reverse Image Search
Read up on functional programming on the github readme project.
Overwrite changes to a file with a file from another branch: git checkout master -- README.md
Checkout the last brach you were on: git checkout -
Reference logs, or “reflogs” git reflog
Connected? Verify you’re connected ssh -T git@github.com
Set user email for directory git config user.email "address@coolmail.com"
fatal: The current branch main has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream main main
solved with git push --set-uprstream github.com:0mj/rspec3_book.git main
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
Solved with git remote add main git@github.com:0mj/rspec3_book.git
Add local code to GitHub
GitHub Readme - Intentional Creation
A collection lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools n more. Book of Secret Knowledge
curl a gist
Google Hacking Database
inurl: searchterm updated: 2023
Google Dorks List - boxpiper
Mozilla Developer Network
hotkeys.js - capture keyboard input
document.body.contentEditable = true
Markdown Guide
Markdown - Github
Darknet Diaries
Defense in Depth
Malicious Life
Security Now
Smashing Security
Atomic Habits
A Mind for Numbers
Clean Code: A Handbook of Agile Software Craftsmanship
Google Books API
Digital Minimalism - Choosing a Focused Life in a Noisy World
operating procedure
(Use apps and digital tools of value)
once a month download and upload pics and vids worth saving and delete the rest
solitude deprevation
Indistractable: How to Master the Skill of the Century
Program or Be Programed
Smarter Than You Think
Shikake : the Japanese art of shaping behavior through design Matsumura, Naohiro
xkcd
Powershell Documentation
Getting Started
Prevent lock out on windows machine
“C:\Users\mattjamison\path\1on1”
New-Guid
What version is this? $PSVersionTable.PSVersion
Call one script from another. Assumming the same directory..
$PSScriptRoot
& "$PSScriptRoot\alwayson.ps1"
Ruby documentation
Ruby documentation - 2.6.6 Standard Library Documentation
Ruby Programming books
Effective Testing with RSpec 3
Conditional Assignment Operator ||=
Example: ` a ||= b `
If a is undefined or falsey, evaluate b and set a to the result
Error - “wrong number of arguments (given 3, expected 1..2)” thrown when calling super
in a child class method that was overwriting it’s parent method
# view list of tables in a rails console
ActiveRecord::Base.connection.tables
Recall to remember
“C:\Users\mattjamison\path\System”
Error - “super: no superclass method create_password_instructions
for #<DeviseMailer:0x0000000004d8c8>”
Run tests in specific directory bundle exec rspec spec/directory
¯_(ツ)_/¯
Update dependencies..
$ sudo apt -y update
$ sudo apt install postgresql-client-common/focal-pgdg
$ sudo apt install postgresql-common/focal-pgdg
$ sudo apt-get install --reinstall libpq-dev
$ sudo apt-get install --reinstall imagemagick
$ sudo apt-get install --reinstall libmagickwand
malicious.life podcast on Vishing
Control Panel\Hardware and Sound\Power Options\System Settings
Run a powershell script from Windows Run command
powershell -file "C:\Users\mattjamison\path\alwayson.ps1"
a-z index of windows cmd
Zone files? dir /r