Skip to content

Instantly share code, notes, and snippets.

Majid Mushtaq majidmushtaq91

Block or report user

Report or block majidmushtaq91

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:391c3115fb8049884b2af3c411972d8a
This file has been truncated, but you can view the full file.
JvmtiExport can_access_local_variables 0
JvmtiExport can_hotswap_or_post_breakpoint 0
JvmtiExport can_post_on_exceptions 0
# 542 ciObject found
instanceKlass com/intellij/openapi/vcs/LineHandlerHelper
instanceKlass git4idea/history/GitLogUtil$$Lambda$1674
instanceKlass git4idea/history/GitLogOutputSplitter
instanceKlass git4idea/history/GitLogParser$$Lambda$1673
instanceKlass git4idea/history/GitLogParser
@majidmushtaq91
majidmushtaq91 / php_password_validate
Created Mar 26, 2015
PHP - Validate password limit and special characters.
View php_password_validate
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>
<body>
<?php if($_POST) {
@majidmushtaq91
majidmushtaq91 / password_validate
Created Mar 26, 2015
Javascript validate password limit and special characters.
View password_validate
$(document).ready(function () {
$("#password").blur(function () {
var valid = /^[ A-Za-z0-9@.?(),!/-]*$/
if($(this).val().length < 8 || $(this).val().length > 12 ) {
console.log("Please enter password between 8-12");
return false;
You can’t perform that action at this time.