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
| import os | |
| import click | |
| import numpy as np | |
| class RhymingDict: | |
| """ | |
| For use with file from http://www.speech.cs.cmu.edu/cgi-bin/cmudict | |
| """ |
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
| male(donnie). | |
| male(jimmy). | |
| male(jethro). | |
| male(cletus). | |
| female(krystal). | |
| female(ruthie). | |
| female(blanche). | |
| female(ruby). |
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
| import time | |
| from threading import Event, Semaphore, Thread | |
| import psutil | |
| class CPUMonitor(object): | |
| """Provide some sort of feedback based on the current CPU usage.""" | |
| def __init__(self, config): | |
| self.config = config |
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
| EntityFramework:CreateCppClassProxy("CPhysicsProp") | |
| CFooEntity = class( | |
| { | |
| -- Put instance variables here | |
| -- foo = "bar" | |
| }, | |
| { | |
| Specification = | |
| { |
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
| --============ Copyright (c) Valve Corporation, All rights reserved. ========== | |
| -- | |
| -- | |
| --============================================================================= | |
| ------------------------------------------------------------------------------- | |
| -- Class Mixins | |
| ------------------------------------------------------------------------------- |
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
| """ | |
| Computes the bitwise XNOR product. | |
| Adapted from: https://gist.github.com/craffel/e470421958cad33df550 | |
| which was adapted from: https://gist.github.com/aldro61/f604a3fa79b3dec5436a by Alexandre Drouin | |
| """ | |
| import numpy as np | |
| cimport numpy as np | |
| cimport cython | |
| from libc.stdint cimport int32_t, uint32_t, uint64_t |
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
| #!/usr/bin/env python | |
| """Extract edges from a glob of files.""" | |
| import argparse | |
| import glob | |
| import os | |
| import cv2 | |
| def main(config): |
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
| VBBBSVVVBBBBBEETTTETTEEETTEBBEEVBTBBBTE VEBBBVBBETT VBBTTTBTTTTTTBBBBESEETVV | |
| VE VBEVVVBBBBBEE TTTEETEEEEEE TBESVETSVE VEEVEVVEVE VSVBBEVEEVE SVVEEETBBBBBBSVVSVVV | |
| VB VVBBVBBE VVVBEBBETEEEEE TE VTS VT TTBTEEVSVEVEEVEVBSVVTE VSVVBEE VETES VVBBETBBBBVVV | |
| VE VVBVBEEBBBSTTTEEVVETEEEE TESBE BVBT TT TBTEVTTVE VBEEVTEESVVVVTEE VEEEVVBBEEVVVEEEEETTSVV | |
| VT VVEVBESVVVBBBBEEEETEEEE TE SVSV BBBTE TVBBBBTETTSVBTEVTTE VEVTEEVVTEEEVBEEE TBTEEEEEEEETTSV | |
| VE VBBBEVVEETSVV EEEEEEEEBSVV T TVE TE TSTT TTE TETTETET VTEVTEETTBTEVBBEEVTTBTEEEEEEEEEEESV | |
| V VBTEEVEESVVBEBBBBBEEEEEEESSV TBBVVTTEVVE TSETTTSS TT TSSE TBTETE TTET TETTEVBE TBBEEEEEEEEEBESV | |
| V VBVEBEEVBBEEEEEEVEEEEE VETEETSV TTTBBSETE S S S TTE TE BBT TTE TTT T TTTE TE TBEEEEEEETSEEVV | |
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
| VVVBBBBBB SSVVVVVBBBBBBBBBEEETTTBBTEETTTTTEETTTETTETTE SVTETEVTBBBBBBBEBTTTTEE VVTESBVVBBVVVVBBBTTTTT VVBBBTBTTBTBBETTTTTTTTTTSSVVVEEEEEEEBTEESTVVVVV | |
| VVB VVVBBBBBSEEVVVBVBBBBBBBBEETTTBBBVVETTTEEEEETTTEEEETTEEETS TBTEESEVTTBTTBTTTTTEEE VVBEEVVBBSSVVVEETTE VVVBBBSBTEEEETTEEETE VVSEVEEEBBTTTTTESVVSEVVSSVBSVV | |
| VVBE VVBTBESVVVVVVBBBBBBEEEEEET TTTTBSVVEETEEEETTEE TEEE VVTETTEBSVTEE TTSVVEEE VVTEEEVVTE VVVTESVEEE VEE SVVBBBEESVTEEESVEEEESSSVVVEEETEBSSETBVVEEVBBBSSVVEVVSSVVVV | |
| VVTE VVVBBBBVVBBBBBBBBBESSSTTSVVVVVVVBSVVETTTEETTEEETTE TEE VTEETTE VTTE TBVBTEEVVVEEE VE VVVEESVVEESVVTSVVVBESSTVVVBEE VTEE VVVVEEEEESSVVEBSETTESTTSSBBTBBBBBBBVVVVVVV | |
NewerOlder
