geolocation 이용한 위치정보 – DEV Community

if (navigator.geolocation) { // GPS를 지원하면//navigator.geolocation.watchPosition(function(position) { //위치정보를 계속해서 관제navigator.geolocation.getCurrentPosition(function(position) { //단발성으로 현재 위치값 var latitude = position.coords.latitude; // 위도 var longitude = position.coords.longitude; // 경도 var xhr = new XMLHttpRequest(); //결과를 받아오기위한 xhr객체 선언 var formData = new FormData(); //POST로 보내기 위한 폼데이터 객체 formData.append(‘latitude’, latitude); //위도 객체 추가 formData.append(‘longitude’, longitude); // 경도 객체…

Read More

Element: The Open-Source Federated System for Secure Messaging, Voice, and Video

Discover Element: The Open-Source Federated System for Secure Messaging, Voice, and Video Element is a free, open-source app built on the Matrix protocol. It enables secure chats, voice calls, and video calls with end-to-end encryption (E2EE), group rooms, and file sharing. Why Element Stands Out Federated & Decentralized – Communicate across different servers without vendor…

Read More

Day 85: When Motivation Posts Miss the Point

Why do all motivation posts revolve around the gym? Like, I get it, physical fitness matters, but can we acknowledge that sitting down and actually writing backend code for 20 minutes straight without getting distracted is also pretty damn hard? No gym again today, but I’m focusing on different stats. Sometimes you gotta pick your…

Read More