This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Generate PNG spectrograms using SoX | |
### Use the input file name as the title within the image as well as the output file name | |
### Set the width to 2000 (seems to output a ~2140px wide image) | |
### Generate for FLAC | |
for file in *.flac;do | |
outfile="${file%.*}.png" | |
title_in_pic="${file%.*}" | |
sox "$file" -n spectrogram -t "$title_in_pic" -o "$outfile" -x 2000 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ICities; | |
using ColossalFramework; | |
namespace SkylinesMod | |
{ | |
public class EnableAchievements : IUserMod | |
{ | |
public string Name | |
{ | |
get { return "Enable Achievements"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Open in Steam Client Button | |
// @include http://store.steampowered.com/app/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; | |
$J('.apphub_OtherSiteInfo').after('<div class="apphub_OtherSiteInfo">' + | |
'<a class="btnv6_blue_hoverfade btn_medium" style="margin-right: 3px;" href="steam://advertise/' + window.location.href.split('app/')[1] +'">' + |