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
""" | |
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 December 2021 ~ | |
# | |
# | |
# 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 - jacob@ycnrg.org | |
# | |
# 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" |
cd ~/git/nginx | |
rm -rf nginx-1* | |
rm -rf openssl-1* | |
wget https://www.openssl.org/source/openssl-1.0.1k.tar.gz | |
wget http://nginx.org/download/nginx-1.7.10.tar.gz | |
tar xzvf openssl* && rm -rf openssl-1.0.1k.tar.gz | |
tar -xzvf nginx-1*.tar.gz | |
rm -rf nginx-1*.tar.gz | |
cd echo-nginx-module && git pull && cd ../ | |
cd headers-more-nginx-module && git pull && cd ../ |