Skip to content

Instantly share code, notes, and snippets.


Benoit Averty BenoitAverty

View GitHub Profile
BenoitAverty / userChrome.css
Last active Dec 4, 2021
Hide tab bar on firefox 89 when there is only one tab
View userChrome.css
How To:
1. Find your firefox profile folder :
2. create a "chrome" folder if it doesn't exist
3. Paste content of this gist in a "userChrome.css" file
4. Go to about:config and set toolkit.legacyUserProfileCustomizations.stylesheets to true
5. Restart Firefox
Don't hesitate to say if there are bugs, I only tested this for my workflow : I don't use tabs
at all but I want to see the bar if I open a tab by mistake (otherwise I sometimes lose a tab)

Keybase proof

I hereby claim:

  • I am benoitaverty on github.
  • I am benoitaverty ( on keybase.
  • I have a public key ASBTsd2VjaQMhew_2cjsuvKjQDMXkckwnoxyMTVJhD7VoQo

To claim this, I am signing this object:

View PlacingOrderSpec.scala
package com.example.unit.testing.application
import ...
classes = Array(classOf[OrderApplicationSpecContext]),
loader = classOf[SpringApplicationContextLoader])
class PlacingOrderSpec extends path.FunSpec with org.scalatest.Matchers {
package com.example.unit.testing.application;
import ...;
classes = OrderApplicationTestContext.class,
loader = SpringApplicationContextLoader.class)
public class PlacingOrderTest {
package com.example.unit.testing.application;
import ...;
public class OrderApplicationTest {
// System under test
package com.example.unit.testing.application;
import ...;
public class OrderApplicationTest {
CustomerRepository customerRepository;
package com.example.unit.testing.domain;
import ...;
public interface CreditCardService {
boolean isMaxedOut(String creditCardNumber, Double amount);
LocalDate expirationDate(String creditCardNumber);