Skip to content

Instantly share code, notes, and snippets.

View masoudei's full-sized avatar
💻
is coding ...

Masoud Ehteshami masoudei

💻
is coding ...
View GitHub Profile
@masoudei
masoudei / git.migrate
Created April 17, 2024 11:47 — forked from niksumeiko/git.migrate
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/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.
@masoudei
masoudei / index.html
Created June 11, 2022 23:36
SVG Dotted World Map trial
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="735.729px" height="372.081px" viewBox="0 0 735.729 372.081" enable-background="new 0 0 735.729 372.081"
xml:space="preserve">
<g id="Map">
<path class="map-dot" fill-rule="evenodd" clip-rule="evenodd" fill="#656565" d="M666.882,258.055c0,1.078-0.873,1.95-1.949,1.95
s-1.948-0.872-1.948-1.95c0-1.074,0.872-1.948,1.948-1.948S666.882,256.981,666.882,258.055z"/>
<path class="map-dot" fill-rule="evenodd" clip-rule="evenodd" fill="#656565" d="M672.466,258.055c0,1.078-0.873,1.95-1.95,1.95
@masoudei
masoudei / index.html
Created June 11, 2022 23:35
SVG Dotted World Map trial
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="735.729px" height="372.081px" viewBox="0 0 735.729 372.081" enable-background="new 0 0 735.729 372.081"
xml:space="preserve">
<g id="Map">
<path class="map-dot" fill-rule="evenodd" clip-rule="evenodd" fill="#656565" d="M666.882,258.055c0,1.078-0.873,1.95-1.949,1.95
s-1.948-0.872-1.948-1.95c0-1.074,0.872-1.948,1.948-1.948S666.882,256.981,666.882,258.055z"/>
<path class="map-dot" fill-rule="evenodd" clip-rule="evenodd" fill="#656565" d="M672.466,258.055c0,1.078-0.873,1.95-1.95,1.95
@masoudei
masoudei / index.html
Created June 11, 2022 23:30
SVG Dotted World Map
<svg viewBox="0 0 845.2 458">
<circle class="st0" cx="826.1" cy="110.3" r="1.9"/>
<circle class="st0" cx="819.3" cy="110.3" r="1.9"/>
<circle class="st0" cx="819.3" cy="117.1" r="1.9"/>
<circle class="st0" cx="812.6" cy="90" r="1.9"/>
<circle class="st0" cx="812.6" cy="103.5" r="1.9"/>
<circle class="st0" cx="812.6" cy="110.3" r="1.9"/>
<circle class="st0" cx="805.8" cy="90" r="1.9"/>
<circle class="st0" cx="805.8" cy="103.5" r="1.9"/>
<circle class="st0" cx="805.8" cy="110.3" r="1.9"/>
@masoudei
masoudei / index.html
Created May 28, 2022 04:25
Todrick Triangle - Neon Glow Effect Using CSS Drop Shadows and Clip Paths
<div class="shadow">
<div class="triangle-wrapper">
<div class="triangle">
<p>Todrick</p>
</div>
</div>
</div>