What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 13:00:01
windows shortcuts
[Windows key] # Open the start menu [Windows-Taste] + [E] # Start Explorer [Windows key] + [R] # Run dialog [Windows key] + [pause] # System properties (= Control Panel \ System and Security \ System) [Windows key] + [L] # Locks the computer ## Arra... Add solution -
-
PHP 2021-08-28 14:35:01
create and download text file in php
$file = "test.txt"; $txt = fopen($file, "w") or die("Unable to open file!"); fwrite($txt, "lorem ipsum"); fclose($txt); header('Content-Description: File Transfer'); header('Content-Disposition: attachment; filenam... Add solution -
Shell/Bash 2021-08-28 10:06:01
setting up C# project with VSCode
# Setting up C# project with VSCode: # 1. Open File Explorer and create a folder on your disk, then select the # file path and to open the Command Prompt at the current path, type: cmd # (For the purpose of this guide, the folder is called 'MyFol... Add solution -
TypeScript 2021-08-27 10:59:01
read/write linked lists to file
#include <stdio.h> #include <stdlib.h> typedef struct Node { char name[50]; int age; struct Node *next; }Node; // user-defined functions void printPetRecord(Node *head); void writeToFile(FILE *fptr, Node *head); // main() int ma... Add solution -
-
Shell/Bash 2021-08-26 20:36:02
could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
cd /etc/postgresql/9.x/main/ ------- open file named postgresql.conf sudo nano postgresql.conf ------- add this line to that file listen_addresses = '*' ------- then open file named pg_hba.conf sudo nano pg_hba.conf ------- and add this line to that file ... Add solution
Best helpers
Ranking is empty