Skip to content

Instantly share code, notes, and snippets.

View AsharDweedar's full-sized avatar

As-har Dweedar AsharDweedar

View GitHub Profile
@AsharDweedar
AsharDweedar / userChrome.css
Created July 13, 2026 11:32
Firefox css for searchbox to the top-right corner [chrome style]
/*
1- enable "toolkit.legacyUserProfileCustomizations.stylesheets"
2- 'about:config' -> 'Open Directory'
3- create folder 'chrome'
4- place file userChrome.css in it
*/
/* Position the Find Bar as a spacious floating box at the top right */
.browserContainer > findbar {
-moz-box-ordinal-group: 0 !important;
@AsharDweedar
AsharDweedar / elixir_types.ex
Last active December 23, 2019 23:29
get type of elixir term or compare types
defmodule Types do
@doc """
## Examples:
iex>Types.typeof("Hello World")
"binary"
iex>Types.typeof(1)
/* I wrote a complete code including main fumction
The test data I used:
Latitude Longtitude Address
--------- ----------- ----------
A: 37.643861 -122.427852 358 Alida way, south san francisco, ca
B: 37.611749 -122.402334 1500 elcamino real, san bruno, ca
C: 37.621548 -122.408184 277 carlton ave, san bruno, ca
D: 37.621313 -122.378955 San Francisco Airport
this is extra file
*/