Skip to content

Instantly share code, notes, and snippets.

View thongtd's full-sized avatar

Thong Tran thongtd

View GitHub Profile
@thongtd
thongtd / gist:36954f3e23761c0c66684afaeb2f0fbf
Created October 21, 2023 15:31 — forked from Mikodes/gist:be9b9ce42e46c3d4ccb6
All Media queries for resolutions
/* (320x480) iPhone (Original, 3G, 3GS) */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
/* insert styles here */
}
/* (320x480) Smartphone, Portrait */
@media only screen and (device-width: 320px) and (orientation: portrait) {
/* insert styles here */
}
@thongtd
thongtd / oracle_guid_helpers.sql
Created April 6, 2023 13:24 — forked from sandcastle/oracle_guid_helpers.sql
Oracle GUID helper functions for converting between GUID and RAW(16)
set serveroutput on;
declare
raw_guid raw(16);
guid varchar2(64);
begin
raw_guid := guid_to_raw ('88c6a267-65d2-48d6-8da2-6f45e2c22726');
guid := raw_to_guid('67A2C688D265D6488DA26F45E2C22726');