<?php | |
/** | |
* Recursivly Iterates a directory finding MP3s and then loading the ID3 info via 'mediainfo' for each. | |
* it then builds a list of genre popularity by artist (how many songs for each artist use which genre) | |
* working with genre beingset to multiple genres and split with either a semicolon (;) or foreslash (/) | |
* | |
* - Automatic Backups every 120 seconds (configurable) | |
* @see $backupSeconds | |
* - Intelligent Reprocessing of MP3s only updating when the "Last Modified Time" is newer than what we stored in the db | |
* - Commands Optimization drastically cutting back on the number of times "mediainfo" is ran |
{ | |
"Smileys & Emotion": [], | |
"face-smiling": [ | |
{ | |
"code": "U+1F600", | |
"char": "\ud83d\ude00", | |
"name": "grinning face" | |
}, | |
{ | |
"code": "U+1F603", |
- copy the open-in-editor.js and register editor handler.cmd somewhere on your system. (They must be in the same directory)
- edit the open-in-editor.js and uncomment the editor you use commenting the other out
- change the mappings lines around to rewrite the remote filename paths into the path your editor will expect
- run the register editor handler.cmd (You must reload any existing browser tabs before it will work in them)
Here are the steps to use the Media Creation Tool and Rufus to create a Windows 10 bootable media.
You can create a Windows 10 USB installation media with multiple tools, and in this guide, we'll show you how. When a new version of Windows 10 becomes available, not everyone gets the latest release the same day. Instead, Microsoft upgrades computers gradually, and it takes some time until the new version reaches every device.
However, if you do not want to wait for the automatic upgrade, the company lets you download the Windows 10 installation files using the Media Creation Tool. The tool helps perform an in-place upgrade or create an installation media using a USB f
To regain access to your account after forgetting your password, create a Windows 10 USB media, and then use these steps:
Important: Before proceeding to reset your password in Windows 10, note that this workaround only works with local accounts, not when using a Microsoft Account. If this is your case, you'll need to use the online Microsoft password recovery tool. On the page, you will be greeted with the "Why can't you sign in?" question, where you would choose the "I forgot my password" option. Then the online form will guide you through the different ways to verify that you are "you", by using a secondary email, sending an SMS text to your phone, and other methods to recover your password.
- Start computer with Windows 10 USB bootable media.
Quick note: To start your device with
#!/bin/bash | |
d="https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=debian&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx" | |
n=$(basename $(curl -s -I "$d"|grep "^location"|sed s#"^location: \(.*\)\r"#"\1"#g)) | |
echo "Latest is: $n" | |
if [ ! -e "$n" ]; then | |
echo "Downloading update" | |
wget -q -c "$d" -O "$n" | |
dpkg --install "$n" | |
else | |
echo "Up to date" |
Create a new Gist Dheia/JsonGoDB: JsonGoDB is an easy-to-use, lightweight, JSON file-based database library for PHP. It provides basic CRUD functionality and supports querying and indexing. Perfect for small projects, prototypes and learning purposes. GregaMohorko/BlueDB: MySQL ORM library with Database First model that lets you create Entities with complex relationships and queries. awaydian/json-sql: query .json files with sql (PHP) axp-dev/FileParser: File Parser Library for PHP. List of formats: json, xml, query string, serialize, ini, csv, yaml bhoogter/xml-file: An easy XML File wrapper class for direct queries, including sets on non-existent nodes celsowhite/php-data-cacher: Cache json data returned from a REST query. [clue/php-js
1 / 1
generate appropriate gauges using gaugeJS and these sensor readings: ``` [ {"label": "CPU1 Temp", "scale": "degrees C", "status": "ok", "current": 37, "lower_critical": 0, "upper_critical": 90, "lower_non_critical": 0, "upper_non_critical": 85, "lower_non_recoverable": 0, "upper_non_recoverable": 90}, {"label": "FAN1", "scale": "RPM", "status": "ok", "current": 3900, "lower_critical": 500, "upper_critical": 25400, "lower_non_critical": 700, "upper_non_critical": 25300, "lower_non_recoverable": 300, "upper_non_recoverable": 25500}, {"label": "12V", "scale": "Volts", "status": "ok", "current": 12.189, "lower_critical": 10.299, "upper_critical": 13.26, "lower_non_critical": 10.74, "upper_non_critical": 12.945, "lower_non_recoverable": 10.173, "upper_non_recoverable": 13.386}, {"label": "Chassis Intru", "scale": "discrete", "status": "0x0000", "current": "0x0", "lower_critical": "na", "upper_critical": "na", "lower_non_critical": "na", "upper_non_critical": "na