Skip to content

Instantly share code, notes, and snippets.

View larrasket's full-sized avatar

Salih Muhammed larrasket

View GitHub Profile

Setup tor proxy on Arch Linux

Copied from this article.

Installation

  1. Install tor

         $ sudo pacman -S tor
         $ ## nyx provides a terminal status monitor for bandwidth usage, connection details and more.

$ sudo pacman -S nyx

@larrasket
larrasket / .tridactylrc
Created May 7, 2021 09:39
tridactylrc file for tridactyl with arabic support. دعم اللغة العربية لاختصارات tridactyl Make sure you've `:native` in tridactyl then put this file in your home dictionary. تأكد من تفعيل native في tridactyl ثم ضع الملف في مجلدك الرئيسي.
" bovine3dom's dogfood
" WARNING: This file defines and runs a command called fixamo_quiet. If you
" also have a malicious addon that operates on `<all_urls>` installed this
" will allow it to steal your firefox account credentials!
"
" With those credentials, an attacker can read anything in your sync account,
" publish addons to the AMO, etc, etc.
"
" Without this command a malicious addon can steal credentials from any site
@larrasket
larrasket / qucksort.java
Created May 6, 2021 18:58
Java implementation of QuickSort
// Java implementation of QuickSort
import java.io.*;
class GFG{
// A utility function to swap two elements
static void swap(int[] arr, int i, int j)
{
int temp = arr[i];
arr[i] = arr[j];