Discover gists
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
print "Hello, world\n"; |
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
import os, os.path | |
import sys, time, re, shutil | |
from subprocess import Popen, PIPE | |
from threading import Thread | |
from traceback import print_exc | |
"""The greatest Warez-Unpacking tool of all times!""" | |
## stuff to set | |
RARPATH = "C:/Programme/WinRAR/rar.exe" | |
RARFILEPATTERN = re.compile("Entpacke aus (.*)") ##match what file we extract from |
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
class Test(object): | |
def __init__(self): | |
self.test1 = "lala" | |
def __call__(self): | |
print self.__dict__ | |
if __name__ == '__main__': | |
Test()() |
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
This is a test again |
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
# The only way I have found so far to get all hard_macro cells in DC. | |
# Sucks that there isn't an "is_hard_macro" attribute like there is in ICC :( | |
# The area of 200 is arbitrary. YMMV | |
set all_hard_macros [get_cells * -hierarchical -filter {is_hierarchical==false && area > 200}] | |
# Tags: Synopsys, Design Compiler, DC, Tcl, get_cells, macro cells |
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
<?php | |
echo "test"; | |
?> |
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
humm? |
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
888 |