Skip to content

Instantly share code, notes, and snippets.

View Shywim's full-sized avatar

Matthieu Harlé Shywim

View GitHub Profile
@Shywim
Shywim / hide_native_tabs.css
Last active August 1, 2019 06:59 — forked from stevelandeyasana/hide_native_tabs.css
CSS to hide Firefox's tab bar but keep macOS window buttons (close/minimize/maximize)
/* add to your userChrome.css */
#TabsToolbar {
visibility: collapse;
overflow: visible;
}
#TabsToolbar > * {
visibility: collapse;
}
### Keybase proof
I hereby claim:
* I am shywim on github.
* I am shywim (https://keybase.io/shywim) on keybase.
* I have a public key ASC6Ji82Usqo9im0GaecEwrruHe2Jo2wJKu5ftN1bFiV5go
To claim this, I am signing this object:
@Shywim
Shywim / CursorRecyclerAdapter.java
Last active February 27, 2024 13:42
A custom Adapter for the new RecyclerView, behaving like the CursorAdapter class from previous ListView and alike. Now with Filters and updated doc.
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Matthieu Harlé
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is