Loading

Paste #pfy8hd19r

  1. [alias]
  2.     rb = "!f() { git fetch upstream && git rebase upstream/master; }; f"
  3.     pr = "!f() { git fetch -fu ${2:-$(git remote | grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
  4.     pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done"

Paste #pumazxsaf

  1.     AirportTileTableIterator it(as->table[0], tile);
  2.     for (TileIndex cur_tile = it; cur_tile != INVALID_TILE; cur_tile = ++it) {
  3.         if (!::IsValidTile(cur_tile)) return INVALID_TOWN;
  4.     }

Paste #pizf1oyp4

  1.         local alltiles = AIMap.GetMapSize();
  2.         for (local tile = 0; tile < alltiles; tile++) {
  3.             AIAirport.GetNearestTown(AIBase.RandRange(alltiles), AIAirport.AT_INTERCON);
  4.         }

Paste #piojqoyk3

  1.         local alltiles = AIMap.GetMapSize();
  2.         for (local tile = 0; tile < alltiles; tile++) {
  3.             AIAirport.GetNearestTown(tile, AIAirport.AT_INTERCON);
  4.         }
  5.         AIController.Break("Iterated all tiles");

Paste #pwumtlbr3

  1.     uint it_x = TileX(it);
  2.     uint it_y = TileY(it);
  3.     uint max_it_x = it_x + as->size_x - 1;
  4.     uint max_it_y = it_y + as->size_y - 1;
  5.     while (!IsValidTile(TileXY(max_it_x, it_y))) max_it_x--;

Paste #pmxvuic0n

  1. Town *AirportGetNearestTownKdTree(const AirportSpec *as, const TileIterator &it)
  2. {
  3.     Town *nearest = NULL;
  4.     if (Town::GetNumItems() == 0) return nearest;

Paste #psjlkah9v

  1.             AILog.Info("Checking " + AITown.GetName(town) + " for an airport of type " + WrightAI.GetAirportTypeName(a));
  2.  
  3.             local rectangleCoordinates = this.TownAirportRadRect(a, town);
  4.             local tileList = AITileList();
  5.             tileList.AddRectangle(rectangleCoordinates[0], rectangleCoordinates[1]);

Paste #p9xonsoqa

  1.             AILog.Info("Checking " + AITown.GetName(town) + " for an airport of type " + WrightAI.GetAirportTypeName(a));
  2.  
  3.             local rectangleCoordinates = this.TownAirportRadRect(a, town);
  4.             local tileList = AITileList();
  5.             tileList.AddRectangle(rectangleCoordinates[0], rectangleCoordinates[1]);

Paste #pvyuvm5d2

  1. $ aptitude search evolve
  2. p   evolver                                                           - Surface Evolver                                                            
  3. p   evolver-doc                                                       - Surface Evolver - doc                                                      
  4. p   evolver-nox                                                       - Surface Evolver - with no X support                                        
  5. p   evolver-ogl                                                       - Surface Evolver - with OpenGL display                                      
  6. p   python-pyevolve

Paste #pem5apk5e

  1.  railtypetable {
  2.     RAIL,
  3.     ELRL,
  4.     MGLV,
  5.     METRO: [MTRO, "3RDR", ELRL],

Paste #pwdz0xly8

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  3.                 if (ais_to_start != 1) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #pqbk9yybt

  1.             if (company_id != INVALID_COMPANY && company_id < MAX_COMPANIES) {
  2.                 if (ais_to_start != 1 || Company::IsValidID(company_id)) return CMD_ERROR;
  3.             }

Paste #pfuhbl0yr

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  3.                 if (ais_to_start != 1) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #prdve2hgh

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (ais_to_start != 1) return CMD_ERROR;
  3.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #pwxfhikif

  1. planetmaker@aeolusmaximus-vortex:~/ottd$ hg clone ssh://user@host/path/to/repo/ottd-hg ottd-hg
  2. Gegenseite: abort: repository requires features unknown to this Mercurial: sparserevlog!
  3. Gegenseite: (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  4. Abbruch: Keine passende Antwort des entfernten hg!
  5. planetmaker@aeolusmaximus-vortex:~/ottd$ hg --version