Skip to content

Instantly share code, notes, and snippets.

Mitmischer

  • RWTH Aachen
  • Germany
Block or report user

Report or block Mitmischer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:776e87407fce759408dc5736daaa8149
diff --git a/src/lib/ffmpeg-4.0/avcodec.pas b/src/lib/ffmpeg-4.0/avcodec.pas
index e717744d..cef8b16e 100644
--- a/src/lib/ffmpeg-4.0/avcodec.pas
+++ b/src/lib/ffmpeg-4.0/avcodec.pas
@@ -84,7 +84,7 @@ const
(* Supported version by this header *)
LIBAVCODEC_MAX_VERSION_MAJOR = 58;
- LIBAVCODEC_MAX_VERSION_MINOR = 35;
+ LIBAVCODEC_MAX_VERSION_MINOR = 54;
View gist:011c85a1a564041821cafe42ffddd61d
02-13 14:20:12.307 1318 1318 W PackageManager: Not granting permission android.permission.BROADCAST_WAP_PUSH to package org.thoughtcrime.securesms (protectionLevel=2 flags=0x38583e44)
02-13 14:20:12.307 1318 1318 W PackageManager: Not granting permission android.permission.READ_CONTACTS to package org.thoughtcrime.securesms because it was previously installed without
02-13 14:20:12.307 1318 1318 W PackageManager: Not granting permission android.permission.WRITE_CONTACTS to package org.thoughtcrime.securesms because it was previously installed without
02-13 14:20:12.307 1318 1318 W PackageManager: Not granting permission android.permission.RECEIVE_SMS to package org.thoughtcrime.securesms because it was previously installed without
02-13 14:20:12.307 1318 1318 W PackageManager: Not granting permission android.permission.RECEIVE_MMS to package org.thoughtcrime.securesms because it was previously installed without
02-13 14:20:12.307 1318 1318 W PackageManager: Not granting permission android.permissi
View gist:d483be1f08b5ba5ca189ce0a45565eb4
02-08 10:30:01.336 1353 1353 W PackageManager: Not granting permission android.permission.BROADCAST_WAP_PUSH to package org.thoughtcrime.securesms (protectionLevel=2 flags=0x38583e44)
02-08 10:30:01.336 1353 1353 W PackageManager: Not granting permission android.permission.READ_CONTACTS to package org.thoughtcrime.securesms because it was previously installed without
02-08 10:30:01.336 1353 1353 W PackageManager: Not granting permission android.permission.WRITE_CONTACTS to package org.thoughtcrime.securesms because it was previously installed without
02-08 10:30:01.336 1353 1353 W PackageManager: Not granting permission android.permission.RECEIVE_SMS to package org.thoughtcrime.securesms because it was previously installed without
02-08 10:30:01.336 1353 1353 W PackageManager: Not granting permission android.permission.RECEIVE_MMS to package org.thoughtcrime.securesms because it was previously installed without
02-08 10:30:01.336 1353 1353 W PackageManager: Not granting permission android.permissi
View gist:9952538
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
View gist:8677889
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.
View gist:8677780
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'
@Mitmischer
Mitmischer / gist:5852217
Last active Dec 18, 2015
Go zersetzt mein Gehirn!
View gist:5852217
package main
import "fmt"
// works
func main(){
c := make(chan int)
go func(c chan int){
fmt.Println(<-c)
}(c)
go func(){
View Kevin.cpp
#include <iostream>
#include <string>
#include <locale>
using namespace std;
int main()
{
locale loc;
string t;
View gist:4245787
class Client{
public:
bool sendMessage(std::string msg);
vector<Ant*> getAnts();
vector<Ant*> updateAnts(); // = setAnts()
private:
vector<Ant*> ants;
}
View gist:4196882
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
You can’t perform that action at this time.