#815
http://www.pihomeserver.fr/2015/01/23/raspberry-pi-home-server-arduino-lier-les-deux-via-serieuart/
Just another Code Snippet site
#815
http://www.pihomeserver.fr/2015/01/23/raspberry-pi-home-server-arduino-lier-les-deux-via-serieuart/
#1623
mount a shared drive
net use z: \servername\sharedfolder /user:username password /persistent:yes
if no user/password :
net use z: \servername\sharedfolder /persistent:yes
#1300
ZipFile zipFile = new ZipFile(outputFile); Enumeration<? extends ZipEntry> entries = zipFile.entries(); while (entries.hasMoreElements()) { ZipEntry entry = entries.nextElement(); InputStream stream = zipFile.getInputStream(entry); IOUtils.copy(stream, new FileOutputStream(new File(OUTPUT_FOLDER, entry.getName()))); }
#1295
select deptno, rtrim (xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enames from emp group by deptno
#2151
Install cURL :
RUN apk --no-cache add curl
Notice: This command it’s only available from Alpine version 3.3
How to install telnet into a alpine docker container :
apk add busybox-extras busybox-extras telnet localhost 6900