This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Regular Expressions List | |
//Short Tutorial | |
\ // the escape character - used to find an instance of a metacharacter like a period, brackets, etc. | |
. // match any character except newline | |
x // match any instance of x | |
^x // match any character except x | |
[x] // match any instance of x in the bracketed range - [abxyz] will match any instance of a, b, x, y, or z | |
| // an OR operator - [x|y] will match an instance of x or y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Screen Template | |
package ${PACKAGE_NAME} | |
import androidx.compose.runtime.Composable | |
import androidx.navigation.NavController | |
@Composable | |
fun ${NAME}Screen( | |
${NAME}State: ${NAME}UIState, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="stage"> | |
<div class="ken stance"></div> | |
</div> | |
<div class="commands"> | |
<h1>Control Ken's moves with ur keyboard</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# phpstorm, webstorm | |
.idea/ | |
/.vscode | |
/nbproject | |
/node_modules | |
# sublime and other ide | |
.project | |
*.sublime-project | |
*.sublime-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="file" accept="image/jpg,image/jpeg,image/png,image/gif,image/bmp,image/tiff" /> | |
http://stackoverflow.com/questions/651700/how-to-have-jquery-restrict-file-types-on-upload | |
Ou | |
$('INPUT[type="file"]').change(function () { | |
var ext = this.value.match(/\.(.+)$/)[1]; | |
switch (ext) { | |
case 'jpg': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//iVal is your string of characters (with asterisks). | |
iVal = iVal.substr(i).replace(/[\S]/g, "*"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<main class="has-background-dark"> | |
<div class="is-family-sans-serif has-text-white has-text-centered"> | |
<h1 class="is-size-1 has-text-centered is-uppercase has-text-weight-bold">Sound check!</h1> | |
<p class="">See if your microphone and headphones are setup properly</p> | |
<p> For the Microphone test, a prompt will appear asking for permission to access your select output device </p> | |
<p>If you are not using headphones, it'll have a loop feedback</p> | |
<p></p> | |
<button class="button is-primary is-fullwidth is-large" id="micTest" type="button">Test Microphone</button> | |
<button class="button is-link is-light is-fullwidth is-medium" id="soundTest" type="button">Test Headphone/Speakers</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
URL: http://www.sitefromscratch.com/content/html-xhtml-css-testing | |
Great page for testing the style guide for a website. | |
---> | |
<!-- Sample Content to Plugin to Template --> | |
<h1>CSS Basic Elements</h1> | |
<p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Load jQuery Library | |
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline --> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/ext/jquery-1.7.2.min.js"><\/script>')</script> | |
<!-- Grab Google CDN's jQuery UI, with a protocol relative URL; fall back to local if offline --> | |
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script> | |
<script>window.jQuery.ui || document.write('<script src="js/ext/jquery-ui.min.js"><\/script>')</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//VALIDATE USER EMAIL | |
$(':input[name="uAcc"]').rules("add", | |
{ | |
"remote" : | |
{ | |
url: validateEmail.php', | |
type: "post", | |
data: | |
{ | |
emails: function() |
NewerOlder