What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-22 03:57:03
install php fpm windows
Here how to setup php-fpm on Windows: Download the .zip file from http://windows.php.net/download/. The .zip file should be VC9 which has the FastCGI file (php-cgi.exe). Don't download VC6, and don't download the .msi file because it requires that you ha... Add solution -
C# 2022-01-22 03:45:23
C# Create new file
//File and path you want to create and write to string fileName = @"C:\Temp\Temp.txt"; //Check if the file exists if (!File.Exists(fileName)) { // Create the file and use streamWriter to write text to it. //If the file existence is not ch... Add solution -
Other 2021-11-22 05:30:15
download files in from github
# To do this you would need to get the raw file contents # You can get this by go to the file and clicking on the "Raw" button # This button will redirect you to a url containing raw.githubusercontent.com # Copy this url and use it with the foll... Add solution -
Python 2021-11-22 03:13:14
python exception list
AssertionError #Raised when assert statement fails. AttributeError #Raised when attribute assignment or reference fails. EOFError #Raised when the input() functions hits end-of-file condition. FloatingPointError #Raised when a floating point opera... Add solution -
Other 2021-11-22 01:38:10
arduino sd card reader
#include <SPI.h>#include <SD.h>File myFile;void setup() {// Open serial communications and wait for port to open:Serial.begin(9600);while (!Serial) {; // wait for serial port to connect. Needed for native USB port only}Serial.print("Initi... Add solution -
Shell/Bash 2021-11-21 07:06:16
dos findstr with plus
# EXAMPLE: display the files (within the given folder) that contain the text "+renew" findstr /n /l "+renew" "C:\Users\LongW\*" # SYNTAX # findstr <options-if-any> "<string-to-find>" "<path(s)-... Add solution -
PHP 2021-11-20 05:23:10
create config value file in php
<?php return (object) array( 'host' => 'localhost', 'username' => 'root', 'pass' => 'password', 'database' => 'db' ); ?> This allows you to use the object syntax when you include the php : $configs->host instead o... Add solution -
TypeScript 2021-11-19 20:45:17
Write a Python program to create a file containing student records where each record contain rollno and marks in 3 subjects separated by a comma (marks to be considered as list of 3 values).
##Write a Python program to create a file of elements of any data type (mixed data type, i.e. some elements maybe of type int, some elements of type float and some elements of type string). Split this file into three file containing elements of same dat... Add solution