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 urllib.request | |
def getSolutionFor(i): | |
f = urllib.request.urlopen('http://www.entwickler-ecke.de/files/eeags2012paranuss.php?q=' + str(i)) | |
s = str(f.read()) | |
return s.split('\'')[1] | |
def saveSolutionsToFile(lowerBound, upperBound, fileName): | |
pass |
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 urllib.request | |
def getSolutionFor(i): | |
f = urllib.request.urlopen('http://www.entwickler-ecke.de/files/eeags2012paranuss.php?q=' + str(i)) | |
s = str(f.read()) | |
return s.split('\'')[1] | |
def saveSolutionsToFile(lowerBound, upperBound, fileName): | |
pass |
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 urllib.request | |
def getSolutionFor(i): | |
f = urllib.request.urlopen('http://www.entwickler-ecke.de/files/eeags2012paranuss.php?q=' + str(i)) | |
s = str(f.read()) | |
return s.split('\'')[1] | |
def saveSolutionsToFile(lowerBound, upperBound, fileName): | |
pass |
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 urllib.request | |
def getSolutionFor(i): | |
f = urllib.request.urlopen('http://www.entwickler-ecke.de/files/eeags2012paranuss.php?q=' + str(i)) | |
s = str(f.read()) | |
return s.split('\'')[1] | |
def saveSolutionsToFile(lowerBound, upperBound, fileName): | |
pass |
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 Client{ | |
public: | |
bool sendMessage(std::string msg); | |
vector<Ant*> getAnts(); | |
vector<Ant*> updateAnts(); // = setAnts() | |
private: | |
vector<Ant*> ants; | |
} |
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
#include <iostream> | |
#include <string> | |
#include <locale> | |
using namespace std; | |
int main() | |
{ | |
locale loc; | |
string t; |
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
package main | |
import "fmt" | |
// works | |
func main(){ | |
c := make(chan int) | |
go func(c chan int){ | |
fmt.Println(<-c) | |
}(c) | |
go func(){ |
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
cd qpy/ && ( test -e Makefile || /opt/qt5.1.1/5.2.0/gcc_64/bin/qmake /opt/PyQt/PyQt-gpl-5.2/qpy/qpy.pro -o Makefile ) && make -f Makefile install | |
make[1]: Betrete Verzeichnis '/opt/PyQt/PyQt-gpl-5.2/qpy' | |
cd QtCore/ && ( test -e Makefile || /opt/qt5.1.1/5.2.0/gcc_64/bin/qmake /opt/PyQt/PyQt-gpl-5.2/qpy/QtCore/QtCore.pro -o Makefile ) && make -f Makefile install | |
make[2]: Betrete Verzeichnis '/opt/PyQt/PyQt-gpl-5.2/qpy/QtCore' | |
make[2]: Für das Ziel »install« ist nichts zu tun. | |
make[2]: Verlasse Verzeichnis '/opt/PyQt/PyQt-gpl-5.2/qpy/QtCore' | |
cd QtGui/ && ( test -e Makefile || /opt/qt5.1.1/5.2.0/gcc_64/bin/qmake /opt/PyQt/PyQt-gpl-5.2/qpy/QtGui/QtGui.pro -o Makefile ) && make -f Makefile install | |
make[2]: Betrete Verzeichnis '/opt/PyQt/PyQt-gpl-5.2/qpy/QtGui' | |
make[2]: Für das Ziel »install« ist nichts zu tun. | |
make[2]: Verlasse Verzeichnis '/opt/PyQt/PyQt-gpl-5.2/qpy/QtGui' |
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
python3.3 configure.py | |
Querying qmake about your Qt installation... | |
Determining the details of your Qt installation... | |
This is the GPL version of PyQt 5.2 (licensed under the GNU General Public | |
License) for Python 3.3.2+ on linux. | |
Type 'L' to view the license. | |
Type 'yes' to accept the terms of the license. | |
Type 'no' to decline the terms of the license. |
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
Traceback (most recent call last): | |
File "[...]/main.py", line 120, in <module> | |
main() | |
File "[...]/main.py", line 117, in main | |
MainApp().run() | |
File "/usr/local/lib/python3.3/dist-packages/kivy/app.py", line 792, in run | |
runTouchApp() | |
File "/usr/local/lib/python3.3/dist-packages/kivy/base.py", line 481, in runTouchApp | |
EventLoop.window.mainloop() | |
File "/usr/local/lib/python3.3/dist-packages/kivy/core/window/window_pygame.py", line 381, in mainloop |
OlderNewer