Skip to content

Instantly share code, notes, and snippets.

View abenezerBelachew's full-sized avatar
🐴
🏇️🏇️🏇️🐎️🐎️🐎️

Abenezer Belachew abenezerBelachew

🐴
🏇️🏇️🏇️🐎️🐎️🐎️
View GitHub Profile
@mtrung
mtrung / Android TimeZone Ids
Last active July 23, 2024 13:39 — forked from arpit/Android TimeZone Ids
As of July 2015, there are 582 Java/Android TimeZone Ids. Note that this list is subject to change (there are 23 additions and 2 deletions from 2011 to 2015).
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
.
├── books
│   ├── handlers.go
│   └── models.go
├── config
│   └── db.go
└── main.go
@alexedwards
alexedwards / gist:dc3145c8e2e6d2fd6cd9
Last active May 6, 2025 13:58
Example of working with Go's database/sql and NULL fields
CREATE TABLE books (
isbn char(14) NOT NULL,
title varchar(255),
author varchar(255),
price decimal(5,2)
);
INSERT INTO books (isbn, title, author, price) VALUES
('978-1503261969', 'Emma', 'Jayne Austen', 9.44),
('978-1514274873', 'Journal of a Soldier', NULL, 5.49),