Skip to content

Instantly share code, notes, and snippets.

View findli's full-sized avatar
🇦🇮
GG WP

Yan Burtovoy findli

🇦🇮
GG WP
View GitHub Profile
package counter;
import static io.restassured.RestAssured.get;
import static org.hamcrest.Matchers.equalTo;
import org.jooby.test.JoobyRule;
import org.junit.Test;
import org.junit.ClassRule;
public class AppTest {
import java.security.InvalidParameterException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class AlgoDeep {
Integer maxHeight;
Integer maxHeightIndex;
Integer maxNextHeight;
Integer maxNextHeightIndex;
@findli
findli / bash
Created April 20, 2018 16:10 — forked from jonashackt/bash
Remote debugging Spring Boot
### java -jar
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8001,suspend=y -jar target/cxf-boot-simple-0.0.1-SNAPSHOT.jar
### Maven
Debug Spring Boot app with Maven:
mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8001"
@findli
findli / React Native Clear Cache
Created June 30, 2018 10:04 — forked from jarretmoses/React Native Clear Cache
Clearing the Cache of your React Native Project
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache
@findli
findli / HelloWorld.java
Created July 19, 2018 16:37 — forked from lolzballs/HelloWorld.java
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
package hackerrank.cracking;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
public class BalancedBrackets {
static class LIFOQueue {
Node head; // get from head
@findli
findli / .block
Last active September 15, 2018 15:18
hierarchy
license: mit
@findli
findli / .block
Last active September 15, 2018 15:28
Scale & Axis example
license: mit
border:
scrolling:
@findli
findli / .block
Last active September 15, 2018 16:42
Scale & Axis simple1 example
license: mit
border:
scrolling:
@findli
findli / .block
Created September 16, 2018 11:45
FEM: Exercise 1 starter
license: mit