Skip to content

Instantly share code, notes, and snippets.

View jS5t3r's full-sized avatar
🍊
Focusing

Peter Lorenz jS5t3r

🍊
Focusing
View GitHub Profile
@jS5t3r
jS5t3r / Intall
Last active January 17, 2017 13:52
Arch LInux
sudo pacman -S yaourt atom yakuake dropbox thunderbird python2 tk
sudo pacman -S python2-pip
pip install virtualenv
sudo pip install requests
# http://docs.python-guide.org/en/latest/dev/virtualenvs/
# pip freeze > requirements.txt
pip install -r requirements.txt
@jS5t3r
jS5t3r / CMakeLists.txt
Created January 10, 2017 19:59 — forked from ClintLiddick/CMakeLists.txt
wxWidgets Hello World
cmake_minimum_required(VERSION 3.1)
project(wxApp CXX)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
if(COMPILER_SUPPORTS_CXX11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
else()
message(ERROR "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
endif()

Keybase proof

I hereby claim:

  • I am jS5t3r on github.
  • I am js5t3r (https://keybase.io/js5t3r) on keybase.
  • I have a public key whose fingerprint is E1B8 ECAC A98D 9073 DABE 23B7 74DB 0F48 DBC9 DB42

To claim this, I am signing this object:

@jS5t3r
jS5t3r / itsec
Created January 4, 2017 15:34
uni
IF (CHECK_INCLUDE_DIR)
# Already in cache, be silent
SET(CHECK_FIND_QUIETLY TRUE)
ENDIF (CHECK_INCLUDE_DIR)
FIND_PATH(CHECK_INCLUDE_DIR NAMES check.h)
# Look for the library.
FIND_LIBRARY(CHECK_LIBRARY NAMES check)
https://postimg.org/
@jS5t3r
jS5t3r / warnings
Created December 21, 2016 01:01
wx widgets warning when using propertygrid
g++ `wx-config --gl-libs --cxxflags --libs std stc propgrid richtext` -std=c++11 -Wall -Iinclude source/wxwidget/GUIMemLayMgr.h source/wxwidget/gui.h source/wxwidget/GUIMemLayMgr.cpp source/wxwidget/gui.cpp source/wxwidget/main.cpp -o output/wxwidget
In file included from /usr/include/wx-3.0/wx/propgrid/propgrid.h:26:0,
from source/wxwidget/gui.h:31,
from source/wxwidget/GUIMemLayMgr.h:9:
/usr/include/wx-3.0/wx/propgrid/property.h: In member function 'void wxPGChoices::Set(const wxArrayString&, const wxArrayInt&)':
/usr/include/wx-3.0/wx/propgrid/property.h:1049:22: warning: the compiler can assume that the address of 'values' will always evaluate to 'true' [-Waddress]
if ( &values )
^
/usr/include/wx-3.0/wx/propgrid/property.h:1049:22: warning: the compiler can assume that the address of 'values' will always evaluate to 'true' [-Waddress]
In file included from /usr/include/wx-3.0/wx/propgrid/propgrid.h:26:0,