Assume that you want to set 127.0.0.1:10809 as HTTP proxy and 127.0.0.1:10808 as SOCKS proxy.
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
| #!/bin/sh | |
| _usage="Usage:\n ffspeed input output speed\n ffspeed input output speed from\n ffspeed input output speed from to" | |
| _version="0.0.1" | |
| function display_usage() { | |
| echo -e "\nffspeed version $_version" | |
| echo -e "$_usage" | |
| } | |
| function all_speed { |
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
| sudo usermod -a -G wireshark $USER | |
| # Then Reboot Or "Log Out and Log In" |
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
| /dev/sdb1 /home/user/Data ntfs-3g defaults,locale=en_US.utf8 0 0 |
Opera does not play some videos and shows this error message:
"The media could not be loaded, either because the server or network failed or because the format is not supported."
Opera has a liciensing issue. It has a libffmpeg.so library but does not works.
There is a solution for debian based distros. Link
Opera is based on Chromium which has a working libffmpeg.so. Just replace opera's.
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
- Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any
*nixbased command prompt (but not the default Windows Command Prompt!) - Type
cd ~/.ssh. This will take you to the root directory for Git (LikelyC:\Users\[YOUR-USER-NAME]\.ssh\on Windows) - Within the
.sshfolder, there should be these two files:id_rsaandid_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Typelsto see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be namedid_rsaandid_rsa.pubin order for Git, GitHub, and BitBucket to recognize them by default. - To create the SSH keys, type
ssh-keygen -t rsa -C "your_email@example.com". Th
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
| #!/usr/bin/env python3 | |
| ''' | |
| Thanks to Andres Torres | |
| Source: https://www.pythoncentral.io/introduction-to-sqlite-in-python/ | |
| ''' | |
| import sqlite3 | |
| # Create a database in RAM |
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
| // this is the background code... | |
| // listen for our browerAction to be clicked | |
| browser.browserAction.onClicked.addListener(function (tab) { | |
| // for the current tab, inject the "inject.js" file & execute it | |
| browser.tabs.executeScript(tab.id, { | |
| file: 'inject.js' | |
| }); | |
| }); |
python3 -m pip install -U $(python3 -m pip freeze | cut -d"=" -f1)
python2 -m pip install -U $(python2 -m pip freeze | cut -d"=" -f1)