Skip to content

Instantly share code, notes, and snippets.

View justinbalaguer's full-sized avatar
💻
:q!

Justin justinbalaguer

💻
:q!
View GitHub Profile
@justinbalaguer
justinbalaguer / index.html
Created August 6, 2018 13:21
Particles Background
<div id="particles-js">
</div>
@justinbalaguer
justinbalaguer / BLUETOOTH_CAR.ino
Created October 20, 2019 15:04
AF & Servo motor controller
//Arduino Bluetooth Controlled Car//
// Before uploading the code you have to install the necessary library//
//AFMotor Library https://learn.adafruit.com/adafruit-motor-shield/library-install //
#include <AFMotor.h>
#include <Servo.h>
Servo name_servo;
//initial motors pin
@justinbalaguer
justinbalaguer / myservice.js
Last active August 7, 2020 02:45
Run a Node.js app as a windows service
// - on the root of the project directory create a `myservice.js`
// - code:
const Service = require('node-windows').Service;
// Create a new service object
const svc = new Service({
name:'My Service Name',
description: 'My service description',
script: 'C:\\Path\\to\\myservice.js',
@justinbalaguer
justinbalaguer / Microsoft.PowerShell_profile.ps1
Created November 7, 2021 06:05
PowerShell Profile for Oh My Posh
oh-my-posh --init --shell pwsh --config ~fullPathHere\justinbalaguer.omp.json | Invoke-Expression
#change fullPathHere to path of .omp.json file
@justinbalaguer
justinbalaguer / justinbalaguer-windows.omp.json
Last active March 9, 2022 03:30
Oh My Posh theme for WSL and Windows
/* Windows */
{
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "plain"
Announcent here, Announcent here, Announcent here, Announcent here, some <a href='https://google.com/'>link</a>
@justinbalaguer
justinbalaguer / git-commit-message-convention.md
Last active June 10, 2022 09:46
Git commit message convention

build: Build related changes (e.g npm related/ adding external dependencies)
chore: A code change that external user won't see (eg: change to .gitignore file or .prettierrc file)
feat: A new feature
fix: A bug fix
docs: Documentation related changes
refactor: A code that neither fix bug nor adds a feature. (eg: You can use this when there is semantic changes like renaming a variable/ function name)
perf: A code that improves performance
style: A code that is related to styling
test: Adding new test or making changes to existing test

@justinbalaguer
justinbalaguer / project.json
Created August 31, 2022 12:43
Projects JSON structure
[
{
"id": 1661505036392,
"name": "Project 1",
"description": "Project Description 1",
"color": "#2196F3"
},
{
"id": 1661770079941,
"name": "Test 2",
@justinbalaguer
justinbalaguer / kanban.json
Created August 31, 2022 12:46
Kanban board JSON structure
{
"lanes": [
{
"id": "bbee5a30-2543-11ed-bdb4-d9bfb75d740e",
"title": "To:Do",
"cards": [
{
"id": "c71e3ee0-2546-11ed-88d8-e9102625d80a",
"tags": [],
"createdAt": "2022-08-26T13:55:37.691Z",
Configure Monitor with XRANDR (resolution and monitor hz etc)
https://linuxconfig.org/how-to-configure-your-monitors-with-xrandr-in-linux