What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-01 03:25:12
recuperer des informations d'une table parent en sql
If you want to handle sessions with a class, I wrote this little class: <?php /* Use the static method getInstance to get the object. */ class Session { const SESSION_STARTED = TRUE; const SESSION_NOT_START... Add solution -
Javascript 2022-02-28 18:40:12
js multi section listbox
<p> Rank features important to you when choosing where to live. If a feature is unimportant, move it to the unimportant features list.</p><div class="listbox-area"> <div class="left-area&... Add solution -
Python 2022-02-27 12:00:02
hack wifi password using python
1 import pywifi 2 3 from pywifi import const Refer to some definitions 4 5 import time 6 7 8 def getwifi(wifilist, wificount): 9 wifi = pywifi.PyWiFi() Grab the NIC interface10 ifaces = wifi.interfaces()[0] Get NIC11 ifaces.scan()12 time.sleep(8)13 b... Add solution -
Shell/Bash 2022-02-27 08:05:02
find php files not used for x days
# /opt/script/delete-old-folders.sh #!/bin/bash prev_count=0 fpath=/var/log/app/app_log.* find $fpath -type d -mtime +10 -exec ls -ltrh {} \; > /tmp/folder.out find $fpath -type d -mtime +10 -exec rm -rf {} \; count=$(cat /tmp/folder.out | wc -l) if... Add solution -
Other 2022-02-27 05:10:44
Elastic search responses are blocked by cors
http.cors.enabled : true http.cors.allow-origin: "*" http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length http.cors.allow-credentials: true Add solution
Best helpers
Grin
+5
Hwsolutions
+5
SYJ
+5
A. Pelicker
+5
KMC
+5
Jonjie
+5
Blank
+5
Paul Knight
+5
WYSIWYG
+5
Required
+5
Saylestyler
+5
Deverejones
+5
Frank Jaeger
+5