What do you want to save?
Add Code snippet
New code examples
-
Java 2021-08-27 17:29:01
check if string has special characters java
//1. Using Regex import java.util.regex.Matcher; import java.util.regex.Pattern; public class JavaHungry { public static void main(String args[]) { String inputString = "Alive*is*Awesome$"; Pattern pattern = Pattern.compi... Add solution -
Shell/Bash 2021-08-27 16:48:02
install bootstrap
<!-- Boostrap 4 CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" cross... Add solution -
C# 2021-08-27 16:43:02
3d fps movement script
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class SC_FPSController : MonoBehaviour { public float walkingSpeed = 7.5f; public float runningSpeed = 11.5f; ... Add solution -
Other 2021-08-27 16:41:03
bootstarp simple footer
<!-- Footer --> <footer class="page-footer font-small blue pt-4"> <!-- Footer Links --> <div class="container-fluid text-center text-md-left"> <!-- Grid row --> <div class="row"&... Add solution -
Java 2021-08-27 13:55:01
android how to determine if the edit text focus changes
for (EditText view : editList){ view.setOnFocusChangeListener(focusListener); } .... private OnFocusChangeListener focusListener = new OnFocusChangeListener() { public void onFocusChange(View v, boolean hasFocus) { if (hasFocus){ ... Add solution