Skip to content

Instantly share code, notes, and snippets.

View guamacherox's full-sized avatar
🎯
Focusing

Juan Marval guamacherox

🎯
Focusing
View GitHub Profile
@zshanabek
zshanabek / elementary-todo.sh
Last active January 19, 2025 07:02
things to do after installing elementary os or any debian based linux distribution (ubuntu, linux mint)
sudo apt-get update # update all repositories
# git setup
sudo apt-get install git
sudo apt-get install gitk # for GUI representation of git history
sudo apt-get install xclip # xclip is for saving shell output in clipboard
git config --global color.ui true # for colourful output in terminal
# update git per-user configuration file
git config --global user.name "Zhunisali" # write here your name and email
git config --global user.email "[email protected]"
@johanlef
johanlef / README.md
Last active September 6, 2024 10:03
Use CSS custom properties (--var) with bootstrap 4 (SCSS)

The file _functions-override.scss contains the custom functions to handle color conversions within sass and bootstrap.

Bootstrap does not like its sass variables set to css custom properties, e.g. var(--primary). If you use the code snippets below, you can do so, under some conditions.

In the most basic case, you should provide your color variables using the hsl format.

If you insert this using javascript, you can use the script apply-colors.jsx to let js handle the conversion from hex or rgb to hsl.

Reference the main.scss file to import the files in the correct order.

@gokulkrishh
gokulkrishh / media-query.css
Last active July 31, 2025 19:43
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */