Vittorio Romeo
http://vittorioromeo.info    | [email protected]
12 october 2014
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/bash | |
| function finish | |
| { | |
| xrandr --output HDMI-0 --off | |
| xrandr --output DVI-I-0 --off | |
| xrandr --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 | |
| xrandr --output DVI-I-0 --mode 1680x1050 --pos -1920x0 | |
| } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | template<typename TDerived> class VecBase | |
| { | |
| private: | |
| inline auto& getTD() noexcept { return reinterpret_cast<TDerived&>(*this); } | |
| inline const auto& getTD() const noexcept { return reinterpret_cast<const TDerived&>(*this); } | |
| public: | |
| template<typename T> inline bool has(const T& mValue) const noexcept { return getTD().is(getTD().lookup(mValue), mValue); } | |
| inline auto& getData() noexcept { return getTD().data; } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | inline void * operator new(std::size_t n) | |
| { | |
| return malloc(n); | |
| } | |
| inline void operator delete(void * p) noexcept | |
| { | |
| free(p); | |
| } | |
| inline void *operator new[](std::size_t s) | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Copyright (c) 2013-2014 Vittorio Romeo | |
| // License: Academic Free License ("AFL") v. 3.0 | |
| // AFL License page: http://opensource.org/licenses/AFL-3.0 | |
| #ifndef SSVU_JSON_IO_READER | |
| #define SSVU_JSON_IO_READER | |
| namespace ssvu | |
| { | |
| namespace Json | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Copyright (c) 2013-2014 Vittorio Romeo | |
| // License: Academic Free License ("AFL") v. 3.0 | |
| // AFL License page: http://opensource.org/licenses/AFL-3.0 | |
| #ifndef SSVU_JSON_IO_READER | |
| #define SSVU_JSON_IO_READER | |
| namespace ssvu | |
| { | |
| namespace Json | 
  
    
      This file contains hidden or 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
    
  
  
    
  | g++ -std=c++1y -O3 -I"." -I"./include" .\include\GGJ2015\main.cpp -I"./extlibs/SSVStart/include" -I"C:\SFML\include" -I"./extlibs/SSVUtils/include" -L"C:\SFML\lib" -lsfml-system -lsfml-graphics -lsfml-audio -lsfml-window | 
  
    
      This file contains hidden or 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 <type_traits> | |
| #include <tuple> | |
| #include <iostream> | |
| // Link: https://github.com/aeyakovenko/notes | |
| //count arguments | |
| //COUNT_ARGS :: ... -> Int | |
| #define COUNT_ARGS(...) COUNT_ARGS_(,##__VA_ARGS__,6,5,4,3,2,1,0) | |
| #define COUNT_ARGS_(z,a,b,c,d,e,f,cnt,...) cnt | 
  
    
      This file contains hidden or 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 BaseBtn | |
| { | |
| private: | |
| int pin; | |
| public: | |
| BaseBtn(int mPin) : pin(mPin) | |
| { | |
| pinMode(pin, INPUT); | |
| } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | dmenu-launch | |
| libcurl-compat | |
| lsx | |
| menda-themes-dark | |
| mint-x-icons | |
| numix-frost-themes | |
| numix-themes-archblue-git | |
| numix-themes-git | |
| oh-my-zsh-git | |
| python-gnupg |