What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-03 01:35:14
code for searching and displaying data database
<?php // (A) DATABASE CONFIG - CHANGE TO YOUR OWN! define('DB_HOST', 'localhost'); define('DB_NAME', 'test'); define('DB_CHARSET', 'utf8'); define('DB_USER', 'root'); define('DB_PASSWORD', ''); // (B) CONNECT TO DATABASE try { $pdo = new PDO( &q... Add solution -
Javascript 2022-03-02 21:40:01
react native google places autocomplete
function initialize() { var options = { types: ['(cities)'], componentRestrictions: {country: "us"} }; var input = document.getElementById('searchTextField'); var autocomplete = new google.maps.places.Autocomplete(input, options); } Add solution -
Javascript 2022-03-02 10:10:03
google custom search 'Request contains an invalid argument.
cse.list({ q: 'Florin Relea', // <-- REQUIRED cx: 'placeholder' // <-- REQUIRED }) /* 1) Create your cx here: https://support.google.com/programmable-search/answer/2649143?hl=en 2) Go to https://cse.google.com/cse/ Enable Search the entire w... Add solution -
Other 2022-03-01 08:25:05
filebeat send syslog to logstash
root@ip-10-12-2-64:~# cat /etc/filebeat/filebeat.yml filebeat.prospectors: - input_type: log paths: - /var/log/*.log input_type: log document_type: syslog registry: /var/lib/filebeat/registry output.elasticsearch: hosts: ["https://ec184... Add solution -
Shell/Bash 2022-03-01 08:05:03
dir files windows
# For finding file use dir followed by string matching file name or regex # pattern and add "/s" for searching recursively in subfolders: dir /s "regex_or_file_name" # For finding file contained in a searched directory use "/b&quo... Add solution -
C++ 2022-03-01 07:40:25
hashtable linear probing ,insertion deletion searching
//all the basic opertaion insertion , deletion ,searching,displaying #include <iostream> using namespace std; void init(int arr[],int size) { for(int i=0;i<size;i++) { arr[i]=-1; } } void inserthash(int arr[],int size,int val... Add solution
Best helpers
Amine
+5
Asgs
+5
Jboeke
+5
Frank Gado
+5
Jim MacA
+5
Lightalloy
+5
PeterSalz
+5
Altendky
+5
GiantDuck
+5
Faerubin
+5
David Baucum
+5
Ravin Online
+5
Xemnarth
+5
Withkare
+5
DSM
+5
Njbair
+5
Troy Woo
+5