Skip to content

Instantly share code, notes, and snippets.

@EugeneKay
EugeneKay / README.md
Last active May 17, 2022 17:32
Winode Instructions

NOTE: This Gist concerns the old Linode KVM Beta, NOT the current Manager. Please see linode/docs#501 (comment) for more up-to-date instructions.

You will need:

On the KVM source, run the following to create a VM:

@ChaseFlorell
ChaseFlorell / Deploy-TeamCityBuildToOctopus.ps1
Last active September 5, 2020 08:48
a script for TeamCity to get git commits and pass them along to Octopus Deploy
# credit for getting me going in the right direction
# http://blogs.lessthandot.com/index.php/uncategorized/access-git-commits-during-a-teamcity-build-using-powershell/
# these properties should be entered into your configuration parameters section
$project = "%Octopus.Project%"
$deployTo = "%Octopus.DefaultEnvironment%"
$buildVersion = "%BuildVersion%"
$octopusApiKey = "%Octopus.BuildDeployBot.APIKey%"
$octopusServer = "%Octopus.Server.Url%"
@areinull
areinull / transcode.c
Created July 17, 2014 12:34
Transcode audio from amr-nb/amr to vorbis/ogg with ffmeg libs
#include <stdio.h>
#include <libavutil/samplefmt.h>
#include <libavutil/timestamp.h>
#include <libavutil/audio_fifo.h>
#include <libavutil/avstring.h>
#include <libavformat/avformat.h>
#include <libswresample/swresample.h>
/** The number of output channels */
#define OUTPUT_CHANNELS 2
@jpluimers
jpluimers / fix-TiWorker.exe-high-CPU-usage.txt
Created December 11, 2013 11:38
Fixing the high CPU usage of TiWorker.exe
C:\bin>DISM /online /cleanup-image /restorehealth
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was repaired.
The operation completed successfully.