Skip to content

Instantly share code, notes, and snippets.

@CodeBrauer
CodeBrauer / GMGetCoordinates.php
Last active March 26, 2019 12:42
get coordinates from address with google maps api
<?php
function GMGetCoordinates($address) {
$address = urlencode($address);
$url = "http://maps.google.com/maps/api/geocode/json?address=$address&sensor=false";
$ch = curl_init();
$options = array(
CURLOPT_SSL_VERIFYPEER => false,
@henfiber
henfiber / KB-Buying-guide-EU.md
Last active November 9, 2024 13:35
Buying keyboards and keyboard components from EU

Europe

  • SkinFlint : Price comparison site which has some nice filtering options per switch type etc. Searches for offers in UK, Germany, Poland and Austria
  • mykeyboard.eu : Keyboards, keycaps and accessories. Based in Belgium.
  • candykeys.com : European Store selling Vortex, Leopold, KBP, Anne Pro keyboards, keycap sets and components (ISO + ANSI). Based in Germany, ships to EU.
  • falba.tech : custom wooden bamboo cases, and some acrylic and carbon ones. Switch packs (65 browns at 48EUR). Other parts for the GH60, Atreus, ErgoDox. Also Microcontrollers, diodes, leds etc.
  • 42keebs.eu - Mostly PCBs, tools and accessories. Located in Czech Republic.
  • KEYGEM : Switches, Keycaps, lubes, cables, DIY kits and deskmats. Based in Germany, ships to the EU and worldwide.
  • [Eloquent Clicks - Custom Mechanical Keyboard Store](https://www.eloquen
@zergon321
zergon321 / main.go
Created February 26, 2021 20:28
Change the display resolution in Golang on Windows
package main
import (
"fmt"
"os"
"syscall"
"unsafe"
)
const (