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 | |
set -e | |
echo "== Installing Palemoon 32 bits on Manjaro Linux 64 bits ==" | |
echo | |
echo "Installing deps (lib32) ..." | |
echo | |
yaourt -S --noconfirm lib32-gtk2 lib32-dbus-glib | |
echo |
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 | |
set -e | |
echo "== Installing Palemoon 32 bits on Manjaro Linux 64 bits ==" | |
echo | |
echo "Installing deps (lib32) ..." | |
echo | |
yaourt -S --noconfirm lib32-gtk2 lib32-dbus-glib bin-jre7 | |
echo |
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/bash | |
# installation jetbrains | |
j_url="https://data.services.jetbrains.com/products/download" | |
tmp_dir="$HOME/tmp_jb" | |
install_dir="/opt" | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "Sorry, you are not root." | |
exit 1 | |
fi |
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 perl | |
use strict; | |
use warnings; | |
my @lines = `cat /proc/net/dev`; | |
my @rx_fields = qw(bytes packets errs drop fifo frame compressed multicast); | |
my @tx_fields = qw(bytes packets errs drop fifo frame compressed); | |
for my $line (@lines) { | |
next if $line !~ /:/; |