Skip to content

Instantly share code, notes, and snippets.

View iammuttaqi's full-sized avatar
🏠
Working from home

Muttaqi iammuttaqi

🏠
Working from home
View GitHub Profile
@iammuttaqi
iammuttaqi / coordinatestoname.js
Created July 30, 2025 04:50 — forked from AmirHossein/coordinatestoname.js
Get City and Country name by coordinates via Google Maps api
// Demo: http://jsfiddle.net/xuyp8qb5/
// Note: You need Google Map API Key to run demo; bit.ly/2pBgToW
var latlng;
latlng = new google.maps.LatLng(40.730885, -73.997383); // New York, US
//latlng = new google.maps.LatLng(37.990849233935194, 23.738339349999933); // Athens, GR
//latlng = new google.maps.LatLng(48.8567, 2.3508); // Paris, FR
//latlng = new google.maps.LatLng(47.98247572667902, -102.49018710000001); // New Town, US
//latlng = new google.maps.LatLng(35.44448406385493, 50.99001635390618); // Parand, Tehran, IR
//latlng = new google.maps.LatLng(34.66431108560504, 50.89113940078118); // Saveh, Markazi, IR
@iammuttaqi
iammuttaqi / Clear .gitignore cache.md
Last active March 26, 2025 12:46 — forked from ainsofs/gist:2b80771a5582b7528d9e
Clear .gitignore cache

remove specific file from git cache

git rm --cached filename

remove all files from git cache

git rm -r --cached . git add . git commit -m ".gitignore is now working"