Skip to content

Instantly share code, notes, and snippets.


Edward Navarro EdwardNavarro

View GitHub Profile
EdwardNavarro / ConsultaNitRUES.js
Created Mar 27, 2019 — forked from cdiaz/ConsultaNitRUES.js
Consulta NIT en el Registro Único Empresarial y Social (RUES)
View ConsultaNitRUES.js
var request = require('request');
// Digite el NIT sin puntos ni guiones, el dígito de Verificación no es requerido.
{ form: {strNIT: '891190346' } },
function (error, response, result) {
if (!error && response.statusCode == 200) {
EdwardNavarro / TrmSoapClient.php
Created Mar 27, 2019 — forked from cdiaz/TrmSoapClient.php
Obtener la tasa de cambio representativa del mercado para Colombia con PHP
View TrmSoapClient.php
$date = date("Y-m-d");
try {
$soap = new soapclient("", array(
'soap_version' => SOAP_1_1,
'trace' => 1,
"location" => "",
View catch-cf7-values.php
function contactform7_before_send_mail( $form_to_DB ) {
global $wpdb;
$form_to_DB = WPCF7_Submission::get_instance();
if ( $form_to_DB )
$formData = $form_to_DB->get_posted_data();
EdwardNavarro /
Created Jul 21, 2018 — forked from rnwolf/
Tutorial shows how to make backups to Google Cloud Storage.

Google Cloud Storage backup tutorial


This tutorial shows how to make backups to Google Cloud Storage. The backups are:

  • automatic
  • stored off site
  • incremental
EdwardNavarro / storage.js
Created Mar 24, 2018 — forked from rohozhnikoff/storage.js
[react-native] wrapped AsyncStorage with JSON support
View storage.js
import { AsyncStorage } from 'react-native';
const JSONAsyncStorage = Object.assign({}, AsyncStorage, {
getItem() {
return AsyncStorage.getItem.apply(null, arguments).then((res) => JSON.parse(res));
setItem(key, value) {
return AsyncStorage.setItem(key, JSON.stringify(value))
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src=""></script>
<script src=""></script>
body {font-family:Fira code; font-size:13px;}

Keybase proof

I hereby claim:

  • I am EdwardNavarro on github.
  • I am edwardnavarro ( on keybase.
  • I have a public key whose fingerprint is C138 1080 A054 D1C9 DB47 669C 7014 26CA 35A8 D2E2

To claim this, I am signing this object:

View dataToFromWebViewTitanium.js
//Send data to webView in Titanium
var timeGraph = Ti.UI.createWebView({ url:'graphs/timeGraph.html', touchEnabled:true });
timeGraph.addEventListener('load', function(){
Ti.App.fireEvent('graphCareer', series);
<!-- Receive data in webView -->
<script type="text/javascript">
### Starting from a Fresh CentOS 6.2 Linode
### Enable the native kernel to boot from pvgrub
### It will autoconfigure itself with each yum update.
### This is adapted from a previous script for CentOS 5.5 found here:
### Provided via the linode wiki
### Provided without warranty, although since it should only be run
### on first box build if your box gets broken simply rebuild it