Skip to content

Instantly share code, notes, and snippets.

View superusercode's full-sized avatar
🌴
On vacation

Code. superusercode

🌴
On vacation
View GitHub Profile
@tech234a
tech234a / README.md
Last active June 10, 2023 14:03
Using unmodified third-party Reddit apps with a custom server
@psydvl
psydvl / !Win postinstall.md
Last active March 28, 2024 13:52
My Windows minimal post-install (probably abandoned)

Install programms and neccesesary tools in Windows

Scoop.sh | Winget.run | winget

To run init.ps1, you should execute next two lines

Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iwr -useb git.io/psydvl-win | iex

Script also doing little $PROFILE (both PowerShell 5&7) enhancement with functions:

@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active May 8, 2024 10:37
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@samthecodingman
samthecodingman / bookmarklet-gcache.js
Last active April 20, 2024 09:08
Reload the current page using Google's Web Cache [Javascript Bookmarklet] [CC-BY License]
javascript:(window.location.href.indexOf("webcache.googleusercontent.com")>-1)?alert("Error:%20You%20are%20on%20the%20cached%20version."):window.location.assign("http://webcache.googleusercontent.com/search?q=cache:"+encodeURIComponent(window.location.href.replace(/(^\w+:|^)\/\//,'')));

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r