Loading

Paste #ptatxemzw

  1. [repository]
  2. native = LF
  3.  
  4. [patterns]
  5. **.py = native

Paste #plhqsoroa

  1. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint())' | wc -l
  2. 81
  3. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint())' --template='{branch}\n' | wc -l
  4. 14

Paste #p22gkwobj

  1. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint())' --template='{branch}\n' | wc -l
  2. 14
  3. ingo@aeolus trunk default-r22157 (tip) ~/ottd/trunk $ hg log -u planetmaker -r'children(branchpoint()) and not closed()' --template='{branch}\n' | wc -l
  4. 14

Coding style genworld_gui

  1. # HG changeset patch
  2. # User chillcore
  3. # Date 1423430735 -3600
  4. #      zo feb 08 22:25:35 2015 +0100
  5. # Node ID 3a112fa300c7e566a64ce2554b104d2f103bf87c

GenerateLandscapeWindowMo

  1. # HG changeset patch
  2. # User chillcore
  3. # Date 1423428031 -3600
  4. #      zo feb 08 21:40:31 2015 +0100
  5. # Node ID 626e3398621f6061a450cce02f559bbdd177665b

Paste #paxe8ntdh

  1. (gdb) bt
  2. #0  0x000000000044922e in THSpriteSheet::_makeAltBitmap(THSpriteSheet::sprite_t*) ()
  3. #1  0x0000000000449010 in THSpriteSheet::drawSprite(THRenderTarget*, unsigned int, int, int, unsigned long) ()
  4. #2  0x0000000000458e72 in THAnimationManager::drawFrame(THRenderTarget*, unsigned int, THLayers_t const&, int, int, unsigned long) const ()
  5. #3  0x00000000004596e0 in THAnimation::draw(THRenderTarget*, int, int) ()

Paste #pnvpqvuml

  1. An error has occured!
  2. Almost anything can be the cause, but the detailed information below can help the developers find the source of the error.
  3. Running: The buttonup handler.
  4. A stack trace is included below, and the handler has been disconnected.
  5. ./CorsixTH/Lua/dialogs/place_objects.lua:384: bad argument #2 to 'setAnimation' (number expected, got nil)

Paste #plybnixxk

  1.     def get_name_substr(self):
  2.         # relies on name being in format "Foo [Bar]" for Name [Type Suffix]
  3.         name = self.title.decode('utf-8').split('[')[0]
  4.         # enforce a space if name is not empty
  5.         if len(name) is not 0:

Paste #pxbc9li0y

  1. import global_constants
  2. from train import EngineConsist, DieselLoco
  3. # for rest of stats, look up GE Evolution
  4. consist = EngineConsist(id = 'evolucao',
  5.               base_numeric_id = 2110,

Paste #pahrp9oek

  1. Python 3.4.1 (default, Nov  3 2014, 14:38:10)
  2. [GCC 4.9.1 20140930 (Red Hat 4.9.1-11)] on linux
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> title = u'Evoluc?a?o [Diesel]'.encode('utf-8')
  5. >>> print(title)

Paste #ptf7q2i3m

  1. Index: src/table/build_industry.h
  2. ===================================================================
  3. --- src/table/build_industry.h  (revision 27136)
  4. +++ src/table/build_industry.h  (working copy)
  5. @@ -254,7 +254,6 @@

Paste #pd7bmlckx

  1. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  2. index a378245..a756c06 100644
  3. --- a/src/CMakeLists.txt
  4. +++ b/src/CMakeLists.txt
  5. @@ -85,11 +85,10 @@ IF(SDL2_FOUND)

Paste #pptkm5kon

  1.  95 static int DecodeUtf8Char(uint8 *data, size_t length, uint32 *codepoint)
  2. 96 {
  3. 97  if (length < 1) return 0;
  4. 98  uint32 value = *data;
  5. 99  data++;

Paste #pqkqld7wy

  1. /*
  2.    -4 -3 -2 -1 00 01 02 03 04 05 ->>> x
  3. -4 xx xx xx xx xx xx xx xx xx xx
  4. -3 xx                         xx
  5. -2 xx                         xx

Paste #pdwmepcjb

  1. ingo@aeolus hg-test default-r11 (tip) (foo2) ~/hg-test $ hg tag -r6 blah
  2. ingo@aeolus hg-test default-r12 (tip) ~/hg-test $ hg tags
  3. tip                               12:3c7efd514ebd
  4. blah                               6:0b428aa7bdf8
  5. ingo@aeolus hg-test default-r12 (tip) ~/hg-test $ hg tag --remove blah