A validator for Iranian (Persian) national identifier or social number
c#, java, javascript, php
parameter: string (It doesn't support arabic or persian numbers)
return: boolean
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <!-- | |
| Copyright (c) 2014-2017, Jan Bösenberg & Jürg Lehni | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| """ | |
| Assuming you have | |
| a UFO open in RoboFont | |
| a current glyph selected | |
| and furthermore that | |
| this glyph is part of a git repository | |
| and that you have done some work on it | |
| and would like to compare the current state in robofont |
| # === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated September 2024 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
| let res = Services.io.getProtocolHandler("resource").QueryInterface(Ci.nsIResProtocolHandler); | |
| res.setSubstitution("rawr", Services.io.newURI('http://www.bing.com/',null,null)); | |
| // now try navigating to resource://rawr it will load bing |
| from selenium import webdriver | |
| from PIL import Image | |
| import datetime | |
| filename = "miri_regev_"+datetime.datetime.now().strftime("%Y.%m.%d.%H:%M:%S")+".png" | |
| fox = webdriver.Firefox() | |
| fox.get('https://www.facebook.com/miri.regev.il') | |
| fox.save_screenshot(filename) # saves screenshot of entire page | |
| fox.quit() |
| { | |
| "require": { | |
| "khr/react-curl": "~2.0", | |
| "sunra/php-simple-html-dom-parser": "~1.5" | |
| } | |
| } |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| <?php | |
| namespace App\Controller; | |
| use App\Controller\AppController; | |
| /** | |
| * Bookmarks Controller | |
| * | |
| * @property App\Model\Table\BookmarksTable $Bookmarks | |
| */ |
| #!/bin/bash | |
| # | |
| # Nginx build script - [email protected] | |
| # | |
| # Updates code from git/hg repos (or clones if it doesn't exist) for both | |
| # nginx and extra modules, then fires off make | |
| # | |
| # Revision: 3 | |
| # | |
| PREFIX="/usr" |