Skip to content

Instantly share code, notes, and snippets.

View rmjoia's full-sized avatar
💭
Cool

Ricardo Melo Joia rmjoia

💭
Cool
View GitHub Profile
@rmjoia
rmjoia / notes.md
Last active November 16, 2023 20:58
githubooks cheat sheet

To activate the hooks, rename the existing *.sample file, by removing the .sample extension

The following example shows how to run a powershell script as a githook

the hooks can be found in your repo directory under .git/hooks/

pre-commit

#!/bin/sh
@rmjoia
rmjoia / launch.json
Created December 31, 2019 21:25
ng test vs code debugger config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Debug karma tests",
@rmjoia
rmjoia / launch.json
Created December 31, 2019 21:09
vs code debugger jasmine config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jasmine Tests",
@rmjoia
rmjoia / gulpfile.js
Created January 15, 2016 09:12 — forked from vincent-zurczak/gulpfile.js
Copy minified Bower dependencies with Gulp (better solution)
// Include our plug-ins
var gulp = require('gulp');
var mainBowerFiles = require('main-bower-files');
var exists = require('path-exists').sync;
// Create some task
gulp.task( 'copy-bower-dep', function() {
// Replace files by their minified version when possible
var bowerWithMin = mainBowerFiles().map( function(path, index, arr) {
{
/*
// Place your snippets for JavaScript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
@rmjoia
rmjoia / .gitignore
Last active January 9, 2016 12:39 — forked from Hagith/.gitignore
Tizen gitignore
### Tizen
# Tizen project folders
.*_delta*
.build*
.settings
.sign*
### Tizen project files
*signature*.xml
*.wgt