Skip to content

Instantly share code, notes, and snippets.

View herroldreal's full-sized avatar
🏠
Working from home

Herrold H. Real herroldreal

🏠
Working from home
View GitHub Profile
@jeromecoupe
jeromecoupe / webstoemp-gulpfile.js
Last active March 7, 2026 05:03
Gulp 4 sample gulpfile.js. For a full explanation, have a look at https://www.webstoemp.com/blog/switching-to-gulp4/
"use strict";
// Load plugins
const autoprefixer = require("autoprefixer");
const browsersync = require("browser-sync").create();
const cp = require("child_process");
const cssnano = require("cssnano");
const del = require("del");
const eslint = require("gulp-eslint");
const gulp = require("gulp");
@jk2K
jk2K / extract_realm_database_android.sh
Last active February 22, 2023 15:04 — forked from medyo/extract_realm_database_android.sh
how to export realm database, work on Android 5.0+
#!/bin/bash
ADB_PATH="/Users/lee/Library/Android/sdk/platform-tools"
PACKAGE_NAME="com.yourcompany.app"
DB_NAME="default.realm"
DESTINATION_PATH="/Users/lee/Downloads/${DB_NAME}"
NOT_PRESENT="List of devices attached"
ADB_FOUND=`${ADB_PATH}/adb devices | tail -2 | head -1 | cut -f 1 | sed 's/ *$//g'`
if [[ ${ADB_FOUND} == ${NOT_PRESENT} ]]; then
echo "Make sure a device is connected"
else
{ fileName: 'FacturaNo.94605',
date: '8/8/2014',
clientName: 'UNIVERSIDAD POLITECNICA ( UPOLI)',
addess: 'VILLA RUBEN DARIO',
documentNumber: '0000094605',
phoneNumber: '',
sellerName: 'Neyra Vanessa Jiron ',
rows:
[ { units: '10.00',
code: '115020116.00',
xmlns: Controles = "clr-namespace: Microsoft.Phone.Maps.Controls; assembly = Microsoft.Phone.Maps"