What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-27 17:30:06
c# convert byte to char
byte[] bytes = {Byte.MinValue, 40, 80, 120, 180, Byte.MaxValue}; char result; foreach (byte number in bytes) { result = Convert.ToChar(number); Console.WriteLine("{0} converts to '{1}'.", number, result); } // The example displays the foll... Add solution -
-
Shell/Bash 2022-03-11 17:25:03
snap in linux
------------ [On Debian and Ubuntu] ------------ $ sudo apt update $ sudo apt install snapd ------------ [On Fedora Linux] ------------ # dnf install snapd ------------ [On CentOS and RHEL] ------------ # yum install epel-release # yum install sna... Add solution -
PHP 2022-03-11 16:00:11
upgrade php 5.6 to 7 centos 7
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum -y install epel-release yum-utils sudo yum-config-manager --disable remi-php54 sudo yum-config-manager --enable remi-php73 sudo yum update chmod -R 777 vendor php ... Add solution -
SQL 2022-02-01 09:20:24
update mysql centos
# WARNING: Backup before you do this as it will delete all your databases wget http://repo.mysql.com/mysql57-community-release-el7.rpm -P /tmp/ yum remove mysql-community-release rpm -ivh /tmp/mysql57-community-release-el7.rpm yum update mysql sudo system... Add solution