ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
/* | |
Renders a table with rows dynamically created from an array of objects and a list of property names. | |
Use Object.keys(), Array.prototype.filter(), Array.prototype.includes() and Array.prototype.reduce() | |
to produce a filteredData array, containing all objects with the keys specified in propertyNames. | |
Render a <table> element with a set of columns equal to the amount of values in propertyNames. | |
Use Array.prototype.map to render each value in the propertyNames array as a <th> element. | |
Use Array.prototype.map to render each object in the filteredData array as a <tr> element, | |
containing a <td> for each key in the object. |
<?php | |
/* | |
// OTHER OPTION | |
// ---------------------- | |
// Put your ZPL code in a file e.g "barcode.zpl" | |
// Share your Zebra Printer, so that it can be accessed In Windows Explorer by typing | |
// e.g "\192.168.1.113[YOUR PRINTER NAME]"; | |
// Create PHP File, and write code: |
sudo su | |
apt-get update | |
apt-get upgrade | |
apt-get dist-upgrade | |
apt-get autoremove | |
apt-get install ssh | |
shutdown -r now | |
sudo su | |
apt-get update |
angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) | |
.run(function(DB) { | |
DB.init(); | |
}); |
// MARK: Using NSURLSession | |
// Get first post | |
let postEndpoint: String = "http://jsonplaceholder.typicode.com/posts/1" | |
guard let url = NSURL(string: postEndpoint) else { | |
print("Error: cannot create URL") | |
return | |
} | |
let urlRequest = NSURLRequest(URL: url) |
cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git |
Ionic: Advanced HTML5 Hybrid Mobile App Framework. It is built with HTML5 technologies on Apache Cordova and AngularJS.
Ionic's ultimate goal is to make it easier to develop native mobile apps with HTML5, also known as Hybrid apps.
Learn Ionic. Read the Docs and join the Forum. Keep up to date with the Blog. View the Source.
{ | |
"id": "641411508302", | |
"vendedor_id": "4", | |
"cliente_uid": "41441", | |
"cliente_sucursal_uid": "001", | |
"cliente_puntoenvio_uid": "000", | |
"cliente_clase": "C", | |
"mora": "0", | |
"visita_id": "1441411507716", | |
"fecha": "2014-09-23", |
<?php | |
$cadena = "esto es un salto de linea\n con una tabulación\t"; | |
$cadena = eregi_replace("[\n|\r|\n\r|\t|\0|\x0B]", "",$cadena); | |
echo $cadena; |