Skip to content

Instantly share code, notes, and snippets.

View MuffinKing-jpeg's full-sized avatar
😺
(╯°□°)╯︵ ┻━┻

Andrii Dobrus MuffinKing-jpeg

😺
(╯°□°)╯︵ ┻━┻
View GitHub Profile
@MuffinKing-jpeg
MuffinKing-jpeg / npp-log-linter.xml
Created December 31, 2023 22:53
notepad++ .log linter
<NotepadPlus>
<UserLang name="LOGGO" ext="log" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="1" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00[ 01 02]: 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@MuffinKing-jpeg
MuffinKing-jpeg / readme.md
Last active December 3, 2023 15:16
Electron dev environment with PM2

Electron dev environment with PM2

Config for PM2 to automatically restart Electron on save. I'm using angular in examples. You can use any other framework.

Set up

Instal dependencies

  • Install pm2 globally npm i -g pm2
@MuffinKing-jpeg
MuffinKing-jpeg / .eslintrc.js
Created May 27, 2023 20:53
ESLint for my web projects
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
@MuffinKing-jpeg
MuffinKing-jpeg / .gitattributes
Created May 27, 2023 20:33
.gitattributes For web projects
## GITATTRIBUTES FOR WEB PROJECTS
######################################################################
# Auto detect
##* text=auto
# Source code
*.bash text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf