Skip to content

Instantly share code, notes, and snippets.

Avatar
🥸
unit testing life.

Saninn Salas Diaz distante

🥸
unit testing life.
View GitHub Profile
@distante
distante / adb.md
Last active Aug 13, 2020
Setup adb for remote development with local devices
View adb.md
@distante
distante / beforeAndroidBuild.js
Created May 13, 2018
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
distante / .bashrc
Created Aug 11, 2017 — 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
distante / SineWave.cs
Last active Jan 2, 2017 — 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