Skip to content

Instantly share code, notes, and snippets.

🍎
Loving Creativity!

Mohammad Babazadeh bobycloud

🍎
Loving Creativity!
Block or report user

Report or block bobycloud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bobycloud
bobycloud / artilleryfedora
Created Jun 26, 2019
Install Artillery on Fedora
View artilleryfedora
sudo npm install -g artillery --unsafe-perm=true --allow-root
@bobycloud
bobycloud / markdownx-original-image-name
Last active Jun 19, 2019
set original name for markdownx editor django
View markdownx-original-image-name
Set original image file name in markdownx editor panel instead of random unique string.
file_name = "{original_name}_{unique_name}.{extension}".format(
original_name=file_name,
unique_name=uuid4(),
extension=path.splitext(file_name)[extension][extension_dot_index:]
)
View gist:282ddd29cb741e892843d36958793f69
Configuring Network
You should be able to configure these: - host address - network address - default route / default gateway - hostname - DNS server address
You can configure using the config files, commands or GUI apps
Files
Unfortunately Debian & RH based systems are different.
• Debian: /etc/network/interfaces
• RH: /etc/sysconfig/network-scripts
for Debian, this can be a sample file:
auto eth0
View cronjob
crontab -e
crontab -l
sudo systemctl status crond
sudo systemctl restart crond
/var/spool/mail/devops
You can’t perform that action at this time.