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
using System; | |
using System.Runtime.InteropServices; | |
namespace Vt100Test | |
{ | |
public class Program | |
{ | |
// ReSharper disable InconsistentNaming |
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 | |
set -e | |
# Update sudoers file | |
if [ -f /etc/sudoers ]; then | |
sudo perl -i -pe 's/(^%sudo.*)(ALL=\(ALL:ALL\) ALL)/$1ALL=\(ALL:ALL\) NOPASSWD:ALL/' /etc/sudoers | |
else | |
echo "/etc/sudoers not found, check your system configuration" | |
exit 1 | |
fi |
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 | |
set -e | |
# Check if miniconda3 is installed | |
if [ ! -d "miniconda3" ]; then | |
echo "miniconda3 directory not found, please run the init.sh script first" | |
exit 1 | |
fi | |
# Source Conda shell script |
OlderNewer