Skip to content

Instantly share code, notes, and snippets.

View PurpleBabar's full-sized avatar

PurpleBabar PurpleBabar

  • Otterwise IT
  • Paris
View GitHub Profile
@PurpleBabar
PurpleBabar / milligram_checkbox.css
Created June 27, 2018 11:44
Milligram CSS for checkbox
[type="checkbox"], [type="radio"]
{
position: absolute;
left: -9999px;
}
[type="checkbox"] + label,[type="radio"] + label
{
position: relative;
padding-left: 28px;
cursor: pointer;
@PurpleBabar
PurpleBabar / README.md
Last active December 15, 2017 10:39
Docker formats available

When using docker ps, here are the formats you can use:

  • {{.ID}}
  • {{.Image}}
  • {{.Command}}
  • {{.RunningFor}}
  • {{.Status}}
  • {{.Ports}}
  • {{.Names}}

docker ps --format {yourFormat}

@PurpleBabar
PurpleBabar / README.md
Last active February 18, 2021 11:11
Cerebro available as a desktop app

To make Cerebro available as an app, just put this desktop file in the .local/share/application folder

@PurpleBabar
PurpleBabar / README.md
Last active December 18, 2017 08:04
Postman available as an app

To make Postman available as an app, just put this desktop file in the .local/share/application folder