I hereby claim:
- I am siamak on github.
- I am siamak (https://keybase.io/siamak) on keybase.
- I have a public key whose fingerprint is 7B41 72B1 B793 DF9C 6406 E6B6 B14A 2D8D 9C3C B03E
To claim this, I am signing this object:
یک مورد از زیر را کپی کنید و در نرمافزار پیس کنید | |
vmess://eyJhZGQiOiJzbmFwcGZvb2QuaXIiLCJhaWQiOiIwIiwiaG9zdCI6ImFiZG9sbGFoaWFuLmlyIiwiaWQiOiJiODMxMzgxZC02MzI0LTRkNTMtYWQ0Zi04Y2RhNDhiMzA4MTEiLCJuZXQiOiJ3cyIsInBhdGgiOiIvZ3JhcGhxbCIsInBvcnQiOiI4MCIsInBzIjoiQXphZGktMiIsInNjeSI6ImNoYWNoYTIwLXBvbHkxMzA1Iiwic25pIjoiIiwidGxzIjoiIiwidHlwZSI6IiIsInYiOiIyIn0= | |
vmess://eyJhZGQiOiJpcGhvbmUuYXBhcmF0Y2xvdWQuY29tIiwiYWlkIjoiMCIsImhvc3QiOiIiLCJpZCI6ImI4MzEzODFkLTYzMjQtNGQ1My1hZDRmLThjZGE0OGIzMDgxMSIsIm5ldCI6IndzIiwicGF0aCI6Ii9ncmFwaHFsIiwicG9ydCI6IjgwIiwicHMiOiJBemFkaS00Iiwic2N5IjoiY2hhY2hhMjAtcG9seTEzMDUiLCJzbmkiOiIiLCJ0bHMiOiIiLCJ0eXBlIjoiIiwidiI6IjIifQ== | |
vmess://eyJhZGQiOiJjcnlwdG8uYXBhcmF0Y2xvdWQuY29tIiwiYWlkIjoiMCIsImhvc3QiOiIiLCJpZCI6ImI4MzEzODFkLTYzMjQtNGQ1My1hZDRmLThjZGE0OGIzMDgxMSIsIm5ldCI6IndzIiwicGF0aCI6Ii90cmFkZXMiLCJwb3J0IjoiODAiLCJwcyI6Ilphbi0yIiwic2N5IjoiY2hhY2hhMjAtcG9seTEzMDUiLCJzbmkiOiIiLCJ0bHMiOiIiLCJ0eXBlIjoiIiwidiI6IjIifQ== | |
vmess://eyJhZGQiOiJtcXR0LmFwYXJhdGNsb3VkLmNvbSIsImFpZCI6IjAiLCJob3N0IjoiIiwiaW |
Location: #United_Kingdom | |
Key type: #Free | |
Hosting: OVH | |
Quality and stability: 99% | |
Optimized for: Iran | |
ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTpVbHRyQHIwMHRfMjAxNw==@ak1427.free.www.outline.network:811#www.outline.network%20(united-kingdom) | |
<i class="cursor"></i> | |
<div class="container"> | |
<h1>My Cursor</h1> | |
<p>Move your mouse — See article</p> | |
<div class="gallery"> | |
<a href="https://siamak.me" class="gallery--item"> | |
<img class="gallery--img link" src="https://source.unsplash.com/q99oeAG46BY/400x288/" /> | |
</a> |
import React from "react"; | |
import { createGlobalStyle } from "styled-components"; | |
import Board from "./components/Board/Board"; | |
const GlobalStyle = createGlobalStyle` | |
body { | |
margin: 0; | |
padding: 0; | |
background: #f4f1de; | |
letter-spacing: -0.04em; |
class MemoryCache { | |
memoryStore: Map<string, string>; | |
constructor() { | |
this.memoryStore = new Map(); | |
} | |
async setItem(key: string, value: string): Promise<void> { | |
this.memoryStore.set(key, value); | |
} | |
async getAllKeys(): Promise<string[]> { |
function expiration() { | |
// const due_date = new Date('2019-02-12'); // this date will be current date in most case | |
const due_date = new Date(); // this date will be current date in most case | |
const days_deadline = 7; // this is no. of days remaining for expiry date. In this case it will 2019-02-16 | |
/* stop changing here */ | |
const current_date = new Date(); | |
const utc1 = Date.UTC(due_date.getFullYear(), due_date.getMonth(), due_date.getDate()); | |
const utc2 = Date.UTC(current_date.getFullYear(), current_date.getMonth(), current_date.getDate()); | |
const days = Math.floor((utc2 - utc1) / (1000 * 60 * 60 * 24)); |
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
I hereby claim:
To claim this, I am signing this object:
React for Developers at #irDevConf ■ Presentation Cover.
A Pen by Siamak Mokhtari on CodePen.