Loading

Paste #pyys9d3qd

  1. default_road_vehicle_offsets = {'1': [[-3, -12], [-14, -14], [-16, -11], [-8, -15], [-3, -12], [-14, -14], [-16, -11], [-8, -15]], # needs fix
  2.                                 '2': [[-6, -23], [-2, -16], [8, -10], [4, -11], [-6, -12], [-14, -10], [-16, -10], [-8, -14]],
  3.                                 '3': [[-6, -22], [-4, -15], [2, -10], [2, -11], [-6, -15], [-14, -10], [-14, -10], [-8, -14]],
  4.                                 '4': [[-6, -20], [-6, -15], [0, -10], [0, -11], [-6, -12], [-14, -10], [-16, -10], [-8, -14]],
  5.                                 '5': [[-6, -17], [-8, -14], [-4, -10], [-2, -11], [-6, -12], [-14, -10], [-16, -10], [-8, -14]],

Paste #p2ismpyfy

  1. FIRS:
  2.  nmlc info: 1767 sprites, 0 cached, 0 orphaned, 346 duplicates, 1421 newly encoded
  3.  nmlc info: Industry Tile items: 130/256
  4.  nmlc info: Industry items: 62/64
  5.  nmlc info: Cargo items: 31/32

Paste #ptji6mpbg

  1. #/usr/bin/env python3
  2. import pandas as pd
  3. import datetime as dt

Paste #pxmoxerzq

  1. ~/ottd/grfdev/firs$ hg log | grep 'Nutzer' | awk '{print $2}' | sort | uniq
  2. Alberth
  3. Ammler
  4. andythenorth
  5. Brumi

Paste #pqmoli0zw

  1.    switch (FEAT_TRAINS, SELF, ${vehicle.id}_switch_cargo_capacity_by_cargo_${param_value}, cargo_classes) {
  2.         bitmask(CC_PASSENGERS): return ${vehicle.capacities_pax[param_value]};
  3.         bitmask(CC_MAIL): return ${vehicle.capacities_mail[param_value]};
  4.         return 100; <!--!${vehicle.capacities_freight[param_value]};-->
  5.     }

#openttdcoop Paste Script

  1. #!/usr/bin/env python3
  2.  
  3. import json
  4. import urllib.request as urlreq
  5. from urllib.parse import urlencode

Paste #ps6aj7xff

  1. CmdIndustryGSEvent:
  2. p1 = industry id
  3. p2 = custom data vor var 10 resp. 18
  4.  
  5. CmdIndustryAreaGSEvent:

Paste #p4gruwcin

  1. Index: src/tunnelbridge_cmd.cpp
  2. ===================================================================
  3. --- src/tunnelbridge_cmd.cpp    (revision 27233)
  4. +++ src/tunnelbridge_cmd.cpp    (working copy)
  5. @@ -435,7 +435,8 @@

Paste #pwtwowa1p

  1. static inline int find(const char *pat_data, int pat_size, const char *data, int data_size)
  2. {
  3.     int i;
  4.     for (i = 0; i + pat_size <= data_size; ++i) {
  5. #if 0

Paste #paucylxwi

  1.     def test_check_general_settings_form_storage(self):
  2.         for route, info in self.forms_by_route_and_info.iteritems():
  3.             # Need to fill data again
  4.             resp = self.layer['browser'].get(self.layer['route_url'](route))
  5.             form = resp.form

Paste #pce1i0fem

  1. --- a/plugin.py Sun Oct 05 09:12:06 2014 +0100
  2. +++ b/plugin.py Fri Oct 10 16:31:26 2014 +0100
  3. @@ -698,7 +698,7 @@
  4.                  message.startswith('ERROR: Game Load Failed') or
  5.                  message.startswith('Content server connection') or

Paste #pet5l9vdq

  1. --------------------------------------------------------------------------------
  2. Profile data file 'callgrind.out.16465' (creator: callgrind-3.9.0)
  3. --------------------------------------------------------------------------------
  4. I1 cache:
  5. D1 cache:

Paste #pdgtoka8q

  1. ~/bin/mercurial/mutable-history$ LC_ALL=C hg -R ../hg log -r .
  2. changeset:   22324:5dc91146f353
  3. branch:      stable
  4. tag:         3.1.1
  5. parent:      22322:e284de138f00

Paste #pfbsx79gc

  1. switch(string_part2a, [STORE_TEMP, string(increasing), textstack3), STORE_TEMP(string(surplus), textstack4)] {
  2.   return string(long_version)
  3. }
  4.  
  5. switch(string_part2a, [STORE_TEMP, string(decreasing), textstack3), STORE_TEMP(string(shortage), textstack4)] {

Paste #ptnrjye5a

  1. #!/bin/bash
  2.  
  3. if [ -z "$1" ]; then
  4.         echo "Usage: `basename $0` filename"
  5.         exit 1