This file contains hidden or 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
; | |
;#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
;SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
;SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; | |
; ############## Pandora ############## | |
; Ctrl+Forward -> next song | |
; Play/Pause -> play/pause | |
; |
This file contains hidden or 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
cmd /k "date /t >> envvars.txt && time /t >> envvars.txt && set >> envvars.txt" |
This file contains hidden or 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
#region (c)2009-2011 Lokad - New BSD license | |
// Copyright (c) Lokad 2009 | |
// Company: http://www.lokad.com | |
// This code is released under the terms of the new BSD licence | |
#endregion | |
#if !SILVERLIGHT2 |
This file contains hidden or 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
@if "%1"=="" ( | |
@echo Usage: %0 sourceFile file1 [file2 file3 ...] | |
goto :eof | |
) | |
@set sourceFile=%1 | |
@shift | |
:parseparams | |
@if [%1] neq [] ( | |
@if not exist %1 echo F | xcopy %sourceFile% %1 /F /-Y | |
REM If you don't want the prompts displayed onscreen, use the next line instead (but it won't show the paths of the files copied) |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Author: Pat Kujawa | |
#------------------------------------------------------------------------------- | |
#!/usr/bin/env python | |
import numpy as np | |
from pprint import pprint, pformat | |
class Cell(object): | |
def __init__(self): | |
self.is_terminal = False |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Author: Pat Kujawa | |
#------------------------------------------------------------------------------- | |
#!/usr/bin/env python | |
import numpy as np | |
import random | |
from collections import defaultdict | |
from pprint import pprint, pformat | |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Purpose: Coffee cooling simulation | |
# Author: Pat (Hecuba) | |
#------------------------------------------------------------------------------- | |
#!/usr/bin/env python | |
from pprint import pprint, pformat | |
## Coffee cooling | |
# Start at 90 C, target temp is 75 C | |
# Cream drops temp 5 C immediately |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Purpose: | |
# Author: Pat | |
#------------------------------------------------------------------------------- | |
#!/usr/bin/env python | |
import math | |
import numpy as np | |
import pylab as pl | |
from pprint import pprint, pformat |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Purpose: | |
# Author: Pat | |
#------------------------------------------------------------------------------- | |
#!/usr/bin/env python | |
import math | |
import numpy as np | |
import pylab as pl | |
from pprint import pprint, pformat |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Purpose: | |
# Author: Pat | |
#------------------------------------------------------------------------------- | |
#!/usr/bin/env python | |
from __future__ import division | |
import math | |
import numpy as np | |
import pylab as pl |