Skip to content

Instantly share code, notes, and snippets.

View nicoddemus's full-sized avatar

Bruno Oliveira nicoddemus

View GitHub Profile
@nicoddemus
nicoddemus / output
Created January 22, 2018 18:42
pyinstaller output: debugging why QtQuick is being considered for inclusion
['pyinstaller', '--clean', '--noconfirm', '--log-level=DEBUG', 'w:/ws/Alfasim/Projects/alfasim/alfasim_gui/package/pyinstaller\\ALFASim.spec']
415 INFO: PyInstaller: 3.4.dev0+gfb56676a
415 INFO: Python: 3.6.4
415 INFO: Platform: Windows-10-10.0.16299-SP0
415 DEBUG: Testing for UPX ...
431 INFO: UPX is not available.
431 INFO: Removing temporary files and cleaning cache in C:\Users\bruno\AppData\Roaming\pyinstaller
435 DEBUG: script: w:\ws\Alfasim\Projects\alfasim\alfasim_gui\source\python\main.py
435 DEBUG: script: w:\ws\Alfasim\Projects\alfasim\alfasim_gui\source\python\alfasim_gui\required_imports_generated.py
sip/PyQt5/QtCore/qsettings.sip
sip/PyQt5/QtBluetooth/qbluetoothaddress.sip
sip/PyQt5/QtWidgets/qscrollarea.sip
sip/PyQt5/QtWidgets/qgesturerecognizer.sip
sip/PyQt5/QtLocation/qgeoroutingmanagerengine.sip
sip/PyQt5/QtWidgets/qtabwidget.sip
sip/PyQt5/QtNetwork/qnetworkaccessmanager.sip
sip/PyQt5/QtLocation/qgeorouterequest.sip
Lib/site-packages/PyQt5/Enginio.pyi
sip/PyQt5/QtGui/qvector4d.sip

Keybase proof

I hereby claim:

  • I am nicoddemus on github.
  • I am nicoddemus (https://keybase.io/nicoddemus) on keybase.
  • I have a public key ASC8AmwlFA5-gi0XY_kKS7Ahny_JW1sEAA8lXL5rU7jMdgo

To claim this, I am signing this object:

@nicoddemus
nicoddemus / failures.txt
Created October 25, 2017 23:28
py.path\test_svnwc.py failures on Windows
[00:00:00] Build started
[00:00:00] git clone -q https://github.com/pytest-dev/py.git C:\projects\py
[00:00:11] git fetch -q origin +refs/pull/157/merge:
[00:00:12] git checkout -qf FETCH_HEAD
[00:00:12] Running Install scripts
[00:00:12] echo Installed Pythons
[00:00:12] Installed Pythons
[00:00:12] dir c:\Python*
[00:00:12] Volume in drive C is Windows
[00:00:12] Volume Serial Number is D4AB-4044
@nicoddemus
nicoddemus / AutoHotkey.ahk
Created September 11, 2017 03:30
Dark Souls 2 KeyBinds for autohotkey
; This script maps mouse buttons to keyboard buttons to allow circumventing DSII's limited
; mouse button mapping and double-click related lag. Unfortunately, AutoHotKey doesn't
; seem to support more than five buttons.
; Installation
; 1) Download AutoHotKey.
; 2) In Dark Souls II, make sure the mouse buttons you're using in this script aren't bound to anything to avoid conflicts.
; This script uses Left and Right Click, Middle click is disabled by default, and buttons 4 and 5 aren't supported by DSII.
; 3) Run Dark Souls II and map the commands to the keyboard letter associated with the mouse button desired.
; Right Click - G
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation xml:lang="en">JUnit test result schema for the Apache Ant JUnit and JUnitReport tasks
Copyright © 2011, Windy Road Technology Pty. Limited
The Apache Ant JUnit XML Schema is distributed under the terms of the Apache License Version 2.0
http://www.apache.org/licenses/
# from: https://doc.qt.io/qt-5/qtcharts-nesteddonuts-example.html
import functools
import random
from PyQt5.QtChart import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
class Widget(QWidget):
@nicoddemus
nicoddemus / normalize_line_endings.bat
Last active August 3, 2017 19:52
Normalize line endings in repository based on .gitattributes from etk
@echo off
if not exist ..\etk (
echo Could not find ..\etk
exit /b 1
)
copy ..\etk\.gitattributes .
if errorlevel 1 exit /b 1
@nicoddemus
nicoddemus / remove-item.ps1
Created April 7, 2017 18:27
Remove directory recursively measuring time in powershell
param(
[string]
$Directory
)
Measure-Command { Remove-Item -Recurse -Force $Directory }