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
function verifyNationalCode(source, arguments) { | |
var nationalCode = arguments.Value; | |
arguments.IsValid = false; | |
if (nationalCode.length != 10) | |
return; | |
if (nationalCode == "0000000000" || nationalCode == "1111111111" || nationalCode == "2222222222" || | |
nationalCode == "3333333333" || nationalCode == "4444444444" || nationalCode == "5555555555" || |
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
<head> | |
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | |
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> | |
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %} | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" /> | |
{% if site.owner.twitter %}<!-- Twitter Cards --> | |
{% if page.image.feature %}<meta name="twitter:card" content="summary_large_image"> | |
<meta name="twitter:image" content="{{ site.url }}/images/posts/{{ page.image.feature }}"> |
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
/*** | |
* Contains basic SlickGrid editors. | |
* @module Editors | |
* @namespace Slick | |
*/ | |
(function ($) { | |
// register namespace | |
$.extend(true, window, { | |
"Slick": { |
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
# on | |
sudo networksetup -setsocksfirewallproxy "Wi-Fi" localhost 1080 | |
ssh -D 1080 -i ~/.ssh/proxy.pem [remote-user]@[remote-server] | |
# off | |
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" off |
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
SELECT name, profile_url, uid, friend_count, subscriber_count FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) order by subscriber_count desc |
NewerOlder