bgproute () {
if [ -z "$1" ]
then
echo "Usage: bgproute IP-address"
return 1
fi
dig +short TXT `echo $1 | awk -F. '{print $4 "." $3 "." $2 "." $1 ".aspath.routeviews.org" }'` | awk -F\" '{print "AS path: " $2 "\nRoute: " $4 "/" $6}'
}
This file contains 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
https://download.cyanogenmod.org/get/tf201-latest.zip | |
https://download.cyanogenmod.org/get/tf700t-latest.zip | |
https://download.cyanogenmod.org/get/tf300t-latest.zip | |
https://download.cyanogenmod.org/get/tf701t-latest.zip | |
https://download.cyanogenmod.org/get/Z00A-latest.zip | |
https://download.cyanogenmod.org/get/Z008-latest.zip | |
https://download.cyanogenmod.org/get/Z00L-latest.zip | |
https://download.cyanogenmod.org/get/Z00T-latest.zip | |
https://download.cyanogenmod.org/get/P024-latest.zip | |
https://download.cyanogenmod.org/get/encore-latest.zip |
This file contains 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
# Licence : AGPLv3+ | |
# rule:[Privacy] | |
if anyof ( | |
address :is :domain "From" "gmail.com", | |
address :is :domain "From" "live.com", | |
address :is :domain "From" "msn.com", | |
address :is :domain "From" "hotmail.com", | |
address :is :domain "From" "hotmail.fr", | |
address :is :domain "From" "yahoo.com", | |
address :is :domain "From" "yahoo.fr" |
This file contains 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
Reach me at https://twitter.com/nusenu_ (or via email) | |
if you have more details. | |
+---------------------+----------+-----------------+---------------------+--------------------------------+ | |
| last_seen | FP | IP | nickname | contact | comments | |
+---------------------+----------+-----------------+---------------------+--------------------------------+ | |
| 2017-05-14 22:00:00 | 9E339307 | 37.187.18.109 | 1001001de2 | Admin 0671 D82 F F0 E1 9 3AA | | |
| 2017-05-18 23:00:00 | 0C2E5558 | 51.255.211.2 | AmnesicProsecutor | NULL | | |
| 2017-05-15 15:00:00 | 0639612F | 92.222.20.130 | Baki | tor0517@kiito.xyz | seized (confirmed by operator) | |
| 2017-05-12 17:00:00 | F0A13CA9 | 163.172.185.161 | caf4f922534cea81d13 | NULL | |
To sync changes you make in a fork with the original repository, you must configure a remote that points to the upstream repository in Git.
- Open a Terminal
- List current configured remote repository for your fork
git remote -v
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
This file contains 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
cd /home/forge/pixelfed.social | |
git pull origin dev | |
composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader | |
echo "" | sudo -S service php7.2-fpm reload | |
php artisan config:cache | |
php artisan migrate --force | |
php artisan horizon:purge | |
php artisan horizon:terminate |
This file contains 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
# frozen_string_literal: true | |
Account | |
.local.without_suspended | |
.where('accounts.created_at < ?', 30.days.ago) | |
.where(note: '') | |
.where(display_name: '') | |
.where(avatar_file_name: nil) | |
.where( | |
Account.arel_table[:fields].eq(nil).or( | |
Account.arel_table[:fields].eq([]) |
This file contains 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
/* | |
* dropbox_ext4.c | |
* | |
* Compile like this: | |
* gcc -shared -fPIC -ldl -o libdropbox_ext4.so dropbox_ext4.c | |
* | |
* Run Dropbox like this: | |
* LD_PRELOAD=./libdropbox_ext4.so ~/.dropbox-dist/dropboxd | |
*/ | |
This file contains 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
echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf | |
echo -e 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf | |
echo 'ulimit -n 4096' | sudo tee -a /etc/profile |
This file contains 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
sys.path.insert(0, 'lib/') | |
extensions += ['sphinxcontrib_phpautodoc'] |
OlderNewer