Skip to content

Instantly share code, notes, and snippets.

View crstnmac's full-sized avatar
🎵
NP: Ocean Eyes - Blackbear Remix (Billie Ei… (2:50/3:15)

Criston Mascarenhas crstnmac

🎵
NP: Ocean Eyes - Blackbear Remix (Billie Ei… (2:50/3:15)
View GitHub Profile
@crstnmac
crstnmac / Code_Of_Conduct.md
Created June 8, 2019 07:11
GLUG Infinite Code of Conduct

Contributor Covenant Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

Keybase proof

I hereby claim:

  • I am crstnmac on github.
  • I am crstnmac (https://keybase.io/crstnmac) on keybase.
  • I have a public key ASAAFLFqdMvwGhrRDj7T9RtaA1gfmfbZusjpKAc0nVn0vgo

To claim this, I am signing this object:

@crstnmac
crstnmac / Settings.json
Created May 15, 2022 11:17
VScode setttings
{
"workbench.iconTheme": "material-icon-theme",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"window.zoomLevel": 2,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
@crstnmac
crstnmac / extensions.txt
Created May 15, 2022 12:34
My Extensions
alexcvzz.vscode-sqlite
Angular.ng-template
antfu.icons-carbon
bradlc.vscode-tailwindcss
ceciljacob.code-plus-theme
ChakrounAnas.turbo-console-log
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CodeSandbox-io.codesandbox-projects-theme
cyrilletuzi.angular-schematics
@crstnmac
crstnmac / CMAKE_error.log
Created August 3, 2022 18:23
CMAKE error log RN 69.3
CMAKE error log
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: cl
Build flags:
Id flags:
The output was:
The system cannot find the file specified
@crstnmac
crstnmac / Microsoft.PowerShell_profile.ps1
Last active August 11, 2022 15:19
Powershell config
Import-Module posh-git
Import-Module PSReadLine
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/cris.omp.json" | Invoke-Expression
# This will enable the prediction source for IntelliSense
Set-PSReadLineOption -PredictionSource 'History'
# (Optional) Change the darker grey to a lighter grey to account for dark backgrounds
Set-PSReadLineOption -Colors @{ InlinePrediction = '#9CA3AF' }
@crstnmac
crstnmac / cris.omp.json
Created August 11, 2022 15:17
My Oh-my-posh custom theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#003543",
"foreground": "#00c983",
"leading_diamond": "\ue0b6",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
@crstnmac
crstnmac / useReactHTMLTableToExcel.js
Last active August 5, 2023 15:28
Convert data to excel format
import React, { useState } from "react";
export default function useReactHTMLTableToExcel() {
const [isLoading, setIsLoading] = useState(false);
function base64(s) {
return window.btoa(unescape(encodeURIComponent(s)));
}
function format(s, c) {
#!/bin/bash
# macOS Fullstack Developer Setup Script
# This script sets up a macOS environment for fullstack development with zsh completions
# Enhanced with senior developer tooling and configurations
# Exit on error
set -e
echo "🚀 Starting macOS Fullstack Developer Setup..."