Skip to content

Instantly share code, notes, and snippets.

View osa1's full-sized avatar

Ömer Sinan Ağacan osa1

View GitHub Profile
@osa1
osa1 / share_send_app_endpoints.md
Created June 23, 2022 20:12 — forked from StephenBlackWasAlreadyTaken/share_send_app_endpoints.md
DexcomShare Endpoints for the Uploader App
  • these are the calls used by the dexcom uploader app
  • these are in no particular order!
  • User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

General

Read Dexcoms System time clock

GET

@osa1
osa1 / dotfiles
Created October 14, 2021 18:58 — forked from rosghub/dotfiles
Manjaro i3 Hi-DPI config
#
# Configuration files for Manjaro i3 on Lenovo Yoga 2 pro
# to scale properly on HiDPI (3200x1800)
#
#####################################################
~/.profile #
#####################################################
# UI element scaling, icons
export GDK_SCALE=2
@osa1
osa1 / Unboxed.hs
Last active January 5, 2016 15:57 — forked from vagarenko/Unboxed.hs
Unboxed polymorphic types
{-# LANGUAGE MagicHash, TypeFamilies #-}
module Data.Unboxed where
import GHC.Exts
--------------------------------------------------------------------------------
-- Hash (#) types are second-class citizens in GHC (in our case, we can't use
-- them in associated types / type families), so here we add dummy types that
-- stand for "unboxed" variants of some standard GHC types.
[
{ "keys": ["ctrl+shift+r"], "command": "expand_selection_to_paragraph" },
{ "keys": ["ctrl+u"], "command": "scroll_lines", "args": {"amount": 30.0}, "context": [{ "key": "setting.command_mode" }]},
{ "keys": ["ctrl+d"], "command": "scroll_lines", "args": {"amount": -30.0}, "context": [{"key": "setting.command_mode"}]},
{ "keys": ["j", "k"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]