What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-27 08:20:18
basic java interview questions
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
Java 2022-03-25 07:40:02
convert base64 to pdf in java
import java.io.File; import java.io.FileOutputStream; import java.util.Base64; class Base64DecodePdf { public static void main(String[] args) { File file = new File("./test.pdf"); try ( FileOutputStream fos = new FileOutputStream(fil... Add solution -
Python 2022-03-25 00:20:01
python list as stack and queue
def isEmpty(stk): # checks whether the stack is empty or not if stk==[]: return True else: return False def Push(stk,item): # Allow additions to the stack stk.append(item) &... Add solution -
Python 2022-03-24 23:05:02
python convert array to linked list
# credit to the Stack Overflow user in the source link linked_list = {'a':'b', 'b': 'c', 'c': 'd', 'd': None} def next_ll(state=['a']): value = state[0] if value is not None: state[0] = linked_list[value] return value [x for x in iter(next_l... Add solution -
Javascript 2022-03-24 13:45:35
javascript sanitize input slug
// https://stackoverflow.com/a/1054862/485063 jq('.input.slug, .slug, input .slug').unbind().bind('keyup paste', function(){ var low= jq(this).val().toLowerCase() .replace(/ /g,'-') .replace(/\_/g,'-') .replace(/[^\w-]+/g,'') .replace(/\-\... Add solution -
Javascript 2022-03-23 01:45:15
do i have to include jquery files at head of bootstrap
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdn... Add solution