Dejavu: audio fingerprinting and recognition in Python

Audio fingerprinting and recognition algorithm implemented in Python, see the explanation here: How it works Dejavu can memorize audio by listening to it once and fingerprinting it. Then by playing a song and recording microphone input, Dejavu attempts to match the audio against the fingerprints held in the database, returning the song being played. Note that for voice recognition, Dejavu is not the right tool! Dejavu excels at recognition of exact signals with reasonable amounts of noise. Installation and Dependencies: Read INSTALLATION.md Setup First, install the above dependencies. Second, you’ll need to create a MySQL database where Dejavu can store fingerprints. […]

Ejecutar un ejemplo de reconocimiento de imágenes con TensorFlow realizando una conexión SSH a un contenedor Docker desde PowerShell en Windows

Crear contenedor Docker con TensorFlow desde un Terminal

Instalar desde el contenedor Docker que se está ejecutando con TensorFlow el servidor SSH para poder acceder desde PowerShell

Ejecutar un ejemplo de reconocimiento de imágenes con TensorFlow (más información en https://www.tensorflow.org/tutorials/image_recognition) realizando una conexión SSH a un contenedor Docker desde PowerShell en Windows La imagen que se va a reconocer es la de un oso panda Ejecutar los siguientes cmdlets desde PowerShell

Sarah Smith (SCAM)

Hello, I got your email from a website where you registered to make money online and I’m sure you’re still looking to do so. Our company is looking for 100 members in each state to make this amazing system work upto its full potential. You can take home $297 to $323 per day working 2-3 hours per day part-time. Sounds too good to be true? Check it out yourself. You’ll be blown away I promise. Sincerely, Sarah Smith CEO Online Success Strategies Unsubscribe

Account notice: Your username needs attention‏ (PHISHING)

Hello, YYY It’s been a while since you’ve been on Tumblr, and we wanted to make sure that you’re still interested in using the username YYY. If so, just hit this button: I’m still YYY If not, you don’t have to do anything. If we don’t hear from you within two weeks, we’ll just give you a temporary username and release your old one back into the wild. You can come back and change your temporary name to whatever you want, whenever you’re ready. Your content will all still be here when you get back. 35 East 21st St, 1st […]

Raspberry Pi 2 is now

Let’s get the good stuff out of the way above the fold. Raspberry Pi 2 is now on sale for $35 (the same price as the existing Model B+), featuring: A 900MHz quad-core ARM Cortex-A7 CPU (~6x performance) 1GB LPDDR2 SDRAM (2x memory) Complete compatibility with Raspberry Pi 1 Because it has an ARMv7 processor, it can run the full range of ARM GNU/Linux distributions, including Snappy Ubuntu Core, as well as Microsoft Windows 10. BCM2836 AND RASPBERRY PI 2 Since we launched the original Raspberry Pi Model B, back in 2012, we’ve done an enormous amount of software work to get […]

Replicating (and Extending) the DIR Command

In its basic form the Get-ChildItem cmdlet provides functionality similar to the dir command. For example, if you simply type Get-ChildItem at the Windows PowerShell prompt you’ll get back information about the objects in the current location:

  That’s all well and good, but you can do a lot more with Get-ChildItem than simply list the items found in the current location. For example, in the output above you might have noticed that there wasn’t much to look at; that’s because the current location happened to be a folder that contained only a handful of subfolders. Because of that you […]

Moving a File or Folder

You know how it is: as soon as you have everything set up just perfect, you’ll invariably want (or need) to change things. The files you put in the C:\Scripts folder? Turns out they should really be in C:\Test. Or maybe just the .zip files should be in C:\Test. Or maybe – well, you get the idea. Can you use Windows PowerShell to move items from one location or another? Let’s put it this way: if you couldn’t, it would be pretty silly to have a cmdlet named Move-Item. Let’s take a look at a very simple example: moving a […]

Listing Date and Time Information

Let’s start with the simplest scenario first. If all you want is the current date and time then simply call Get-Date without any additional parameters:

In return, you’ll get back something similar to this:

Ah, but suppose you want only the date, not the date and the time? Then just use the -displayhint parameter and specify date:

Or, if you’d prefer just the time:

You can also use Get-Date to create a date-time object for any date/time. For example, this command creates a variable named $A that maps to 12:00 AM on May 1, 2006:


Deleting a file or folder (or other type of object)

The Remove-Item cmdlet does exactly what the name implies: it enables you to get rid of things once and for all. Tired of the file C:\Scripts\Test.txt? Then delete it:

  You can also use wildcard characters to remove multiple items. For example, this command removes all the files in C:\Scripts:

  There is one catch, however. Suppose C:\Scripts contains subfolders. In that case, you’ll be prompted as to whether or not you really do want to delete everything in the Scripts folder:

  Is there a way to bypass this prompt? Yep; just tack the -recurse parameter […]