What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-02 18:10:02
Please specify classes allowed for unserialization in 2nd argument
PHP supports a method known as 'serialize (Object)' that is used to serialize the object. In PHP 7, an additional security feature has been added by introducing filtering 'unserialize (arg1, arg2)' method. This feature seeks to provide better security ... Add solution -
Python 2022-02-28 10:35:11
python tornado install
# install tornado (basic, if path is not set yet) py -m pip install tornado # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install tornado # or pip3 install tornado --upgrade # if "connection e... Add solution -
Shell/Bash 2022-02-28 00:50:25
login to linux server from windows putty
The server’s host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server’s rsa2 key fingerprint is: <string>. If you trust this host, hit **Yes** to add the key to PuTTY&rsquo... Add solution -
SQL 2022-02-26 23:35:10
excel export from sql using python
import pandas as pd import xlsxwriter import pyodbc conn = pyodbc.connect('Driver={SQL Server}; Server=ServerIP; uid=UID; pwd=Password; Trusted_Connection=No;') with pd.ExcelWriter("Output.xlsx", engine="xlsxwriter", options = {'str... Add solution -
Other 2022-02-25 03:45:02
macos localhost self signed certificate
cd /usr/local/etc/httpd/extra/cert sudo openssl genrsa -out ./localhost.key 2048 sudo openssl rsa -in ./localhost.key -out ./localhost.key.rsa sudo openssl req -new -key ./localhost.key.rsa -subj "/C=ar/ST=caba/L=caba/O=localhost/CN=localhost/" ... Add solution -
Shell/Bash 2022-02-18 17:25:02
bash script wget
#!/bin/sh # Linux wget=/usr/bin/wget tar=/bin/tar apachectl=/usr/sbin/apache2ctl # FreeBSD #wget=/usr/local/bin/wget #tar=/usr/bin/tar #apachectl=/usr/local/sbin/apachectl TXT="GOT TO THE END, YEAH" WORKING_DIR="/var/asl/updates" TA... Add solution -
Other 2022-02-12 06:40:12
argumentexception: format of the initialization string does not conform to specification starting at index 0.
Check your connection string. If you need help with it check Connection Strings, which has a list of commonly used ones. Commonly used Connection Strings: SQL Server 2012 Standard Security Server=myServerAddress;Database=myDataBase;User Id=myUsername;P... Add solution