Skip to content

Instantly share code, notes, and snippets.

:octocat:
online

Amir Shokri amirshnll

:octocat:
online
Block or report user

Report or block amirshnll

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 hologram
close all;
clear all;
I = imread('DH256.bmp', 'bmp'); % 256256 pixels, 8bit image
I = double(I);
% parameter setup
M = 256;
deltax = 0.001; % pixel pitch 0.001 cm (10 um)
@amirshnll
amirshnll / camelCase user exercises #5
Created Dec 16, 2019
camelCase user exercises #5
View camelCase user exercises #5
<!DOCTYPE html>
<html>
<head>
<title>Habib Form</title>
<style type="text/css">
* {
font-size: 13px;
font-family: tahoma;
}
@amirshnll
amirshnll / Convert Integer Number to Persian String Number
Created Dec 12, 2019
Convert Integer Number to Persian String Number
View Convert Integer Number to Persian String Number
<?php
class Number2Word {
protected $digit1 = array(
0 => 'صفر',
1 => 'یک',
2 => 'دو',
3 => 'سه',
4 => 'چهار',
View camelCase user exercises #4
#include "stdafx.h"
#include "iostream"
using namespace std;
void main()
{
int p;
View sublime text licence
// New ...............
— BEGIN LICENSE —–
ZYNGA INC.
50 User License
EA7E-811825
927BA117 84C9300F 4A0CCBC4 34A56B44
985E4562 59F2B63B CCCFF92F 0E646B83
0FD6487D 1507AE29 9CC4F9F5 0A6F32E3
0343D868 C18E2CD5 27641A71 25475648
@amirshnll
amirshnll / camelCase user exercises #3
Created Nov 13, 2019
camelCase user exercises #3
View camelCase user exercises #3
#include "stdafx.h"
#include "iostream"
using namespace std;
void main()
{
int number_count;
int numbers[10];
@amirshnll
amirshnll / camelCase user exercises #2
Last active Nov 8, 2019
camelCase user exercises #2
View camelCase user exercises #2
// A.shokri - amirsh.nll@gmail.com
#include "stdafx.h"
#include "iostream"
using namespace std;
void main()
{
@amirshnll
amirshnll / camelCase user exercises #1
Created Oct 31, 2019
camelCase user exercises #1
View camelCase user exercises #1
// A.shokri - amirsh.nll@gmail.com
#include "stdafx.h"
#include "iostream"
using namespace std;
void main()
{
int a[3];
@amirshnll
amirshnll / Persian date regular expression
Created Oct 4, 2019
Persian date regular expression
View Persian date regular expression
^[1-4]\d{3}\/((0[1-6]\/((3[0-1])|([1-2][0-9])|(0[1-9])))|((1[0-2]|(0[7-9]))\/(30|31|([1-2][0-9])|(0[1-9]))))$
View gist:447a0a2a046f7518c88472de2038daea
<!DOCTYPE html>
<html>
<head>
<title>Girl With HTML+CSS | By Amirshnll</title>
<meta http-equiv="refresh" content="1">
<style type="text/css">
body {
background:#b4fddd;
You can’t perform that action at this time.