/proxy add tor socks5 127.0.0.1 9050
/server add libera-tor libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion/6697
/set irc.server.libera-tor.addresses libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion/6697
/set irc.server.libera-tor.proxy tor
/set irc.server.libera-tor.ssl on
/set irc.server.libera-tor.ssl_cert /path/to/libera-tor.pem
/set irc.server.libera-tor.sasl_mechanism external
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# JWT Auth. | |
RewriteCond %{HTTP:Authorization} ^(.*) | |
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] | |
# App setup. | |
RewriteCond %(REQUEST_FILENAME) !-f |
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
/** | |
* Process profile edit submissions. | |
*/ | |
function process_edit_profile_submission() { | |
// Verify nonce, redirect, and exit. | |
$bad_nonce = ( ! isset( $_POST['cc_profile_edit_nonce'] ) || ! wp_verify_nonce( sanitize_key( $_POST['cc_profile_edit_nonce'] ), 'cc_profile_edit' ) ); | |
if ( $bad_nonce ) { | |
// Flash error message. | |
$flash_msg = [ |
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 axios = require('axios'); | |
const cheerio = require('cheerio'); | |
/** | |
* Checks if a proxy is accessible. | |
* | |
* @param host Host of the proxy | |
* @param port Port of the proxy | |
*/ | |
var stop = function(host, port, options, callback) { |
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
/* | |
* Bookmarklet which highlights nofollow links for 3 seconds. | |
* | |
* Usage as a bookmarklet: | |
* javascript:(()=>{let e=()=>{document.body.querySelectorAll('a[rel="nofollow"]').forEach(e=>e.style.border="none")};(()=>{document.body.querySelectorAll('a[rel="nofollow"]').forEach(e=>e.style.border="1px solid red")})(),setTimeout(e,3e3)})(); | |
*/ | |
(()=>{ | |
let run = () => { | |
highlight(); |
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
!function() { | |
function init() { | |
var photoUrl; | |
// Amazon | |
// photoUrl = jQuery('.imageViewContainer img')[0].src; // User review image. | |
photoUrl = jQuery('#ivLargeImage img')[0].src; // Product image. | |
openPhotoInNewTab( photoUrl ); |
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
var cmma_bootstrap = () => { | |
let until, | |
i = 0, | |
cmma_bg_img = "https://imagesvc.timeincapp.com/v3/fan/image?url=https%3A%2F%2Fcagepages.com%2Fwp-content%2Fuploads%2Fgetty-images%2F2016%2F08%2F596465956-ufc-202-diaz-v-mcgregor-2.jpg", | |
cmma_pg_title = "UFC Fight Night 139 :: Korean Zombie vs. Yair Rodriguess :: Coast MMA Live Stats", | |
cmma_remove_list = [ | |
'#header', | |
'#fightTickerContainer', | |
'#subtitleContainer', |
This gist is maintained for whenever I start fresh on a new OS. It's comprised of one-liners that I can copy-paste into a terminal and rapidly spin up my needed apps.
- Casks:
brew install --cask slack sublime-text transmission dropbox cyberghost-vpn spotify vlc signal whatsapp telegram google-chrome exodus skype sequel-pro brave-browser screaming-frog-seo-spider lulu mamp discord iterm2 omnidisksweeper visual-studio-code megasync yacreader transmit disk-inventory-x notion
- Bottles:
brew install nvm node weechat tor wget git wp-cli mysql composer yt-dlp ffmpeg rar mpv aria2c tree
- Global npm packages:
npm install -g peerflix js-beautify
NewerOlder