Skip to content

Instantly share code, notes, and snippets.

rornor

Block or report user

Report or block rornor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:d99e47c91b1f188a89ea7a1491cd1911
>npm install
npm WARN prefer global npm@3.10.6 should be installed with -g
npm WARN prefer global node-gyp@3.4.0 should be installed with -g
> nslog@3.0.0 install D:\src\nteract\node_modules\nslog
> node-gyp rebuild
D:\src\nteract\node_modules\nslog>if not defined npm_config_node_gyp (node "C:\Users\user\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
View mp4split_stderr.py
mp4box = 'c:\Programs\GPAC\MP4Box.exe'
def tosec(s):
# convert time signature to seconds as float
from datetime import datetime
dt = datetime.strptime(s, '%H:%M:%S.%f')
return dt.hour * 3600 + dt.minute * 60 + dt.second + dt.microsecond * 10e-7
@rornor
rornor / nest.vb
Last active Aug 29, 2015
LinqPad example
View nest.vb
Try
Dim foo As New Foobar2000.Application07Class()
Dim artist As String = foo.Playback.FormatTitle("%artist%")
Dim title As String = foo.Playback.FormatTitle("%title%")
If Not String.IsNullOrEmpty(title) Then
Dim url As String = "http://developer.echonest.com/api/v4"
Dim song As XDocument = XDocument.Load(String.Format("{0}/song/search?api_key={1}&artist={2}&title={3}&results=1&format=xml", _
url, Util.GetPassword("api.echonest"), System.Uri.EscapeDataString(artist), System.Uri.EscapeDataString(title)))
@rornor
rornor / artistSearch.hta
Last active Jun 28, 2016
HTA application for artist search using Google, Bing and Amazon
View artistSearch.hta
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20121008/json2.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.js" data-dojo-config="parseOnLoad:true"></script>
<script>
dojo.require("dojo.parser");
dojo.require("dojox.image.LightboxNano");
</script>
<HTA:APPLICATION
View read.md
You can’t perform that action at this time.