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
-- MIT License | |
-- | |
-- Copyright (c) 2021 JackMacWindows | |
-- | |
-- 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, subject to the following conditions: |
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
--- The qrcode library is licensed under the 3-clause BSD license (aka "new BSD") | |
--- To get in contact with the author, mail to <[email protected]>. | |
--- | |
--- Please report bugs on the [github project page](http://speedata.github.com/luaqrcode/). | |
-- Copyright (c) 2012-2020, Patrick Gundlach and contributors, see https://github.com/speedata/luaqrcode | |
-- All rights reserved. | |
-- | |
-- Redistribution and use in source and binary forms, with or without | |
-- modification, are permitted provided that the following conditions are met: | |
-- * Redistributions of source code must retain the above copyright |
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
{ | |
"background":"#000000", | |
"black":"#000000", | |
"blue":"#2980b9", | |
"brightBlack":"#7f8c8d", | |
"brightBlue":"#3498db", | |
"brightCyan":"#1abc9c", | |
"brightGreen":"#2ecc71", | |
"brightPurple":"#9b59b6", | |
"brightRed":"#e74c3c", |
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
#You probably want to do this in root to reduce the amount of sudos required | |
su - | |
#Install iptables if you haven't already | |
#Alternatively use packet manager of your choice | |
apt-get install iptables | |
#Allow all incoming traffic to begin with | |
iptables -P INPUT ACCEPT | |
#Clean out any existing input rules. You may also remove the "INPUT" argument and run only "iptables -F" to clear all chains. When doing so, make sure there are no rules in other chains that you still need (list via "iptables -L"), for example Oracle cloud servers will have preset rules, which should not be removed. |