Skip to content

Instantly share code, notes, and snippets.

View macx's full-sized avatar
🚲

David Maciejewski macx

🚲
View GitHub Profile
@macx
macx / HAWK-GT1191.code-profile
Last active March 29, 2024 11:29
VS Code Profile for Beginners
{"name":"HAWK-GT1191","settings":"{\"settings\":\"{\\n \\\"workbench.colorTheme\\\": \\\"Cobalt2\\\",\\n \\\"editor.tabSize\\\": 2,\\n \\\"editor.formatOnSave\\\": true,\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\",\\n \\\"editor.fontSize\\\": 15,\\n \\\"window.zoomLevel\\\": 0,\\n \\\"editor.stickyScroll.enabled\\\": true,\\n \\\"editor.bracketPairColorization.independentColorPoolPerBracketType\\\": true,\\n \\\"editor.guides.bracketPairs\\\": true,\\n \\\"editor.wordWrapColumn\\\": 90,\\n \\\"editor.lineHeight\\\": 1.5,\\n \\\"emmet.triggerExpansionOnTab\\\": true,\\n \\\"emmet.showSuggestionsAsSnippets\\\": true,\\n \\\"prettier.bracketSameLine\\\": true,\\n \\\"prettier.singleQuote\\\": true,\\n \\\"prettier.printWidth\\\": 90,\\n \\\"terminal.integrated.fontSize\\\": 16,\\n \\\"indentRainbow.colors\\\": [\\n \\\"rgba(255,255,64,0.07)\\\",\\n \\\"rgba(127,255,127,0.07)\\\",\\n \\\"rgba(255,127,255,0.07)\\\",\\n \\\"rgba(79,236,236,0.07)\\\"\\n ],\\n \\
@macx
macx / PHP mit Visual Studio Code.md
Last active November 9, 2023 14:45
PHP Server mit Visual Studio Code
@macx
macx / README.md
Created November 16, 2021 12:18
My Visual Studio Code Settings

...

@macx
macx / com.example.KeyRemapping.plist
Last active September 4, 2020 09:16 — forked from chuyeow/com.example.KeyRemapping.plist
macOS key remapping
<!--
Simple Key Remapping for maxOS
Based on an article from Chu Yenow:
https://blog.codefront.net/2020/06/24/remapping-keys-on-macos
Create a LaunchAgent to automatically remap your keys when maxOS starts:
https://hidutil-generator.netlify.app/
and put this file an ~/Library/LaunchAgents/com.example.KeyRemapping.plist. to
automatically remap your keys when macOS starts.
@macx
macx / What are you using.md
Last active January 10, 2020 16:04
These are the libraries and tools I am using.

The answer of: What are you using?

Often my students and followers ask me, what tools and libraries I am using and why. Here is a small but growing list of some of them.

Shortlink: bit.ly/what-are-you-using

General Questions My Answer
Are you using a CSS preprocessor? Yes, I'm using Sass
Isn't a CSS postprocessor better? Depends. I'm using Sass and PostCSS together
@macx
macx / README.md
Last active October 17, 2019 12:44
git CheatSheet

git CheatSheet

Remove a file from last commit

# put files back to staging
$ git reset --soft HEAD^

# unstage the file
:root {
--header-height: 40px;
--control-panel-width: 140px;
}
._2c4vB {
float: none;
width: auto;
margin: 0;
}
:root {
--copper-drawer-width: 360px;
}
.gb_Kc {
position: fixed;
top: 62px;
right: 14px;
}
@macx
macx / README.md
Last active December 3, 2018 11:18
Sauber strukturierter Quellcode

Sauber strukturierter Quellcode

Es gibt gute Gründe, für sauber strukturierten Quellcode. Einheitliche Einrückungen durch Leerzeichen (Spaces) oder Tabs helfen der Übersichtlichkeit, der Fehlersuche und der schnelleren Navigation. Man kann ihn also besser lesen und schneller verstehen. Anbei ein paar gute und schlechte Beispiele.

HTML

Schlechtes Beispiel