What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-12 21:15:23
java indexof all occurrences
String stringName = "Hello"; String characterToFind = "l"; //This example will find all the Ls in this string and will print the index of //it as soon as it is detected for(int i = 0; i < stringName.length(); i++){ if(stringName.... Add solution -
Other 2022-03-12 01:15:13
word matching from a subsequence
#include <bits/stdc++.h> using namespace std; class Solution { public: int numMatchingSubseq(string S, vector<string>& words) { int n = words.size(); map <char, vector ... Add solution -
Java 2022-03-11 09:20:22
spring tcp inbound-outbound channel adapter example
@Configuration() @EnableIntegration @IntegrationComponentScan public class ServerConfiguration implements ApplicationListener<TcpConnectionEvent> { private final int port = SocketUtils.findAvailableServerSocket(5000); @MessagingGateway(defaultRequ... Add solution -
Other 2022-03-11 08:25:12
Rejetto HTTP File Server
#!/usr/bin/python # Exploit Title: HttpFileServer 2.3.x Remote Command Execution # Google Dork: intext:"httpfileserver 2.3" # Date: 04-01-2016 # Remote: Yes # Exploit Author: Avinash Kumar Thapa aka "-Acid" # Vendor Homepage: http://re... Add solution -
Other 2022-03-11 05:15:05
oracle spool blob to file
CREATE OR REPLACE PROCEDURE retrieve_lob_to_file(temp_blob in BLOB, file_path in varchar2, file_name in varchar2) IS data_buffer RAW (32767); position INTEGER := 1; filehandle utl_file.file_type; error_number NUMBER; error_me... Add solution -
Other 2022-03-10 09:05:07
how do you generate test data
When=> sprint planning meeting Who=> Mostly I get test data from PO However in some instances, especially in negative test scenario I may need to generate test data. I use java faker to generate data How => Faker faker=new Fak... Add solution -
Javascript 2022-03-10 05:35:06
var relnojudul = 0;
<? //<![CDATA[ var relnojudul = 0; var relmaxtampil = 4; var numchars = 80; var reljudul=new Array();var relurls=new Array();var relcuplikan=new Array();var relgambar=new Array();function saringtags(g,h){var e=g.split("<");for(var f=0;... Add solution -
Other 2022-03-08 22:05:35
two lines under summation latex
$\sum_{\substack{k=0\\k\neq i}}^n a_k$ Add solution