1 - Instalar nmap
brew install nmap
2 - Buscar por eliminación
sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
3 - Conexión SSH
1 - Instalar nmap
brew install nmap
2 - Buscar por eliminación
sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
3 - Conexión SSH
var t = Date.parse(endtime) - Date.parse(new Date()); | |
var seconds = Math.floor((t / 1000) % 60); | |
var minutes = Math.floor((t / 1000 / 60) % 60); | |
var hours = Math.floor((t / (1000 * 60 * 60)) % 24); | |
var days = Math.floor(t / (1000 * 60 * 60 * 24)); | |
var imagenes = document.querySelectorAll('.article-home-figure img'); | |
var imagenesLog = []; | |
for(var i = 0; i < imagenes.length; i++){ | |
var url = document.querySelectorAll('.article-home-figure img')[i].src; | |
var ancho = document.querySelectorAll('.article-home-figure img')[i].width; | |
var alto = document.querySelectorAll('.article-home-figure img')[i].height; | |
var sustituto = "http://lorempixel.com/"+ancho+"/"+alto+"/cats"; | |
var datos = [url, ancho, alto, sustituto] | |
imagenesLog.push(datos); | |
document.querySelectorAll('.article-home-figure img')[i].src = sustituto; |
Descargar estos archivos de GeekFactory
#!/usr/bin/env node | |
var http = require('http'); | |
if (!process.argv[2]) { | |
console.error('Necesito un parámetro para afinar mis resultados'); | |
process.exit(1); | |
} else { | |
if (process.argv[2] !== "all" && | |
process.argv[2] !== "1.0" && |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
function updateHTML (datosdb){ | |
console.log("Data from Ajax request: ", datosdb); | |
/* | |
-- UPDATE HTML -- | |
*/ | |
} | |
function errorDatos (err){ | |
console.warn("Error in Ajax Request: ", err); | |
/* |
'use strict'; | |
module.exports = function(grunt) { | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.initConfig({ | |
karma: { | |
options: { | |
configFile: 'karma.conf.js' | |
}, | |
unit: { |
{ | |
"name": "koapp-spinner-doc-complex", | |
"authors": "Ulises Gascón", | |
"description": "Documentation complex sample spinner for King of App", | |
"main": "koapp-spinner-doc-complex.html", | |
"moduleType": [ | |
"globals" | |
], | |
"keywords": [ | |
"kingofapp", |
{ | |
"name": "koapp-spinner-doc-simple", | |
"authors": "Ulises Gascón", | |
"description": "Documentation simple sample spinner for King of App", | |
"main": "koapp-spinner-doc-simple.html", | |
"moduleType": [ | |
"globals" | |
], | |
"keywords": [ | |
"kingofapp", |