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
#!/bin/bash | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2016 Tiberio A. Santos | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
# the Software, and to permit persons to whom the Software is furnished to do so, |
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
#!/usr/bin/env python | |
# | |
# written by jmoiron, <http://dev.jmoiron.net/xchat/> | |
# ported to hexchat by tiberio, <tiberiosantos.github.io> | |
# licensed under the GNU GPL v2 | |
# a copy of the license can be found: | |
# http://www.gnu.org/licenses/gpl.txt | |
# version 0.7: | |
# - initial port of plugin | |
# version 0.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
# -*- coding: utf-8 -*- | |
try: | |
input = raw_input | |
except NameError: | |
pass | |
def ip2list(ip): | |
ip = [int(i) for i in ip.split('.')] | |
if len(ip) == 4: |
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
# -*- coding: utf-8 -*- | |
try: | |
input = raw_input | |
range = xrange | |
except NameError: | |
pass | |
class IPv4: |
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
#!/bin/bash | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2017 Tiberio A. Santos | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
# the Software, and to permit persons to whom the Software is furnished to do so, |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2018 Tiberio A. Santos | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation |
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
## Debian Testing | |
#deb http://ftp.debian.org/debian testing main contrib non-free | |
deb http://ftp.br.debian.org/debian testing main contrib non-free | |
deb-src http://ftp.br.debian.org/debian testing main contrib non-free | |
#deb http://sft.if.usp.br/debian testing main contrib non-free | |
#deb http://linorg.usp.br/debian testing main contrib non-free | |
#deb http://httpredir.debian.org/debian testing main contrib non-free | |
## Debian Security | |
#deb http://security.debian.org/ testing/updates main contrib non-free |
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
#!/bin/bash | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2017 Tiberio A. Santos | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
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
# Apt upgrade roll back | |
# A release to downgrade. | |
v=testing | |
# An action to revert. | |
s=Upgrade | |
# The date the action was taken. | |
d="Start-Date: 0000-00-00 00:00:00" |
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
#!/bin/bash | |
# | |
# Script to sign linux kernel modules with a UEFIMOK key | |
# | |
# Reference: https://wiki.debian.org/SecureBoot | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2020 Tiberio A. Santos | |
# |
OlderNewer