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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.bartnett.itermonlogin</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> |
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
+-------------------+ | |
| +----------+ | | |
| | +-+ | | | |
| ^ ^ | | | | |
*(size_t *)p = size;| | | |
^ ^ ^ | | | | |
| | +---+ | | | |
| +-----------------+ | | |
+---------------------+ |
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
# Michael's PYTHONSTARTUP file | |
def dofile(filename): | |
import subprocess | |
import sys | |
process = subprocess.Popen([sys.executable, filename], stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT) | |
out, err = process.communicate() | |
print out |
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
void SoundEventEntity::Serialize(VArchive &ar) | |
{ | |
VisBaseEntity_cl::Serialize(ar); | |
char iLocalVersion = 0; | |
if (ar.IsLoading()) | |
{ | |
ar >> iLocalVersion; | |
VASSERT(iLocalVersion==0 && "Invalid version number"); | |
ar.Read(EventName, sizeof(EventName)); |
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 System; | |
using System.Net; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Documents; | |
using System.Windows.Ink; | |
using System.Windows.Input; | |
using System.Windows.Media; | |
using System.Windows.Media.Animation; | |
using System.Windows.Shapes; |
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 Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; | |
namespace ProjectDaHooch | |
{ | |
public static class FirstLevel | |
{ | |
public static int PlayerID = 0; | |
public static int backdropID = 0; |
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
var oldItemQuery = from i in Items | |
where (json["response"]["inbox"].FirstOrDefault( | |
(target) => target["meta"]["group_id"].Value<string>() == i.ID) | |
) == null | |
select i; |
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
% Michael Bartnett | |
% mrb402 | |
% Friday October 14, 2011 | |
% siggen.m | |
% | |
% Function siggen | |
% | |
% Generates a signal of the specified type and writes it to a wav file. | |
% | |
% Usage: siggen(sampleRate, duration, frequency, numberOfOvertones, signalType, outputFilename) |
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
% Michael Bartnett | |
% mrb402 | |
% Friday November 4, 2011 | |
% spectrumAnalyzer.m | |
% | |
% Function spectrumAnalyzer | |
% | |
% Reads a wav file and generates a STFT | |
% | |
% Usage: spectrumAnalyzer(filename, winLength, overlapLength, winType[, fftLength]) |
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
% Michael Bartnett | |
% mrb402 | |
% Monday November 21, 2011 | |
% convolver.m | |
% | |
% Function convolver | |
% | |
% Convolves two audio files, a signal and an impulse response | |
% | |
% Usage: convolver(IRfilename, SIGfilename, OUTfile, convMethod[, chunkLength]) |
OlderNewer