What do you want to save?
Add Code snippet
New code examples
-
Java 2022-01-27 18:41:28
java read xml
String dir = System.getProperty("user.dir"); File inputFile = new File(dir + File.separator + "dats.xml"); DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder dBuilder = dbFactory.newDocumentBuilde... Add solution -
Html 2022-01-26 08:12:27
animated border gradient css
@import url('//raw.githubusercontent.com/necolas/normalize.css/master/normalize.css'); html { /* just for showing that background doesn't need to be solid */ background: linear-gradient(to right, #DDD 0%, #FFF 50%, #DDD 100%); padding: 10px; ... Add solution -
Python 2022-01-23 08:56:00
python measure volum from audio file
import os, sys, pygst pygst.require('0.10') import gst, gobject gobject.threads_init() def get_peaks(filename): global do_run pipeline_txt = ( 'filesrc location="%s" ! decodebin ! audioconvert ! ' 'audio/x-raw-int,chann... Add solution