Skip to content

Instantly share code, notes, and snippets.

View distante's full-sized avatar
unit testing life.

Saninn Salas Diaz distante

unit testing life.
View GitHub Profile
distante /
Last active August 13, 2020 08:45
Setup adb for remote development with local devices
distante / beforeAndroidBuild.js
Created May 13, 2018 17:34
Folder fixes for Cordova 8 (Android 7.0.0)
View beforeAndroidBuild.js
const fs = require('fs-extra');
console.log("\n\nBefore Run Script\n\n");
function copyDirs(fromPath, toPath, dirsToCopy) {
for (let i = 0; i < dirsToCopy.length; i++) {
let fromDir = fromPath + dirsToCopy[i];
let toDir = toPath + dirsToCopy[i];
let dirExist = fs.existsSync(toDir);
distante / .bashrc
Created August 11, 2017 18:08 — forked from wzup/.bashrc
alias for Git Bash on Windows
View .bashrc
# create a file C:\Users\[user]\.bashrc
# add this content
# add your onw aliases or changes these ones as you like
# to make a dot (.bashrs) file in windows, create a file ".bashrs." (without extention) and save. windows will save it as ".bashrc"
alias ls='ls -alh'
alias cdnginx='cd /c/nginx && ls'
alias cdmcga='cd /c/Users/[user]/sbox/node/mcga && ls'
alias cdfood9='cd /c/Users/[user]/sbox/node/food9 && ls'
alias cdmysql='cd /c/nginx/mysql/bin && ls'
distante / SineWave.cs
Last active January 2, 2017 20:00 — forked from benkitzelman/SineWave.cs
Generate WAV formatted dtmf tones in C#
View SineWave.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ConversionLayer.Wave
internal class SineWave
#region Fields