Loading

Paste #pzfc9fhgx

  1. diff --git a/projects/settingsgen_vs100.vcxproj b/projects/settingsgen_vs100.vcxproj
  2. index 30454d81f8..f3cd89be30 100644
  3. --- a/projects/settingsgen_vs100.vcxproj
  4. +++ b/projects/settingsgen_vs100.vcxproj
  5. @@ -77,5 +77,5 @@

Paste #pknuegqgd

  1. diff --git a/projects/settingsgen_vs100.vcxproj b/projects/settingsgen_vs100.vcxproj
  2. index 30454d81f8..f3cd89be30 100644
  3. --- a/projects/settingsgen_vs100.vcxproj
  4. +++ b/projects/settingsgen_vs100.vcxproj
  5. @@ -77,5 +77,5 @@

Paste #pysatbqsu

  1. Installing Jekyll
  2.  
  3. Assumes jekyll 3.8.4 per Repo 5th November 2018
  4.  
  5. * install rbenv and ruby per https://jekyllrb.com/docs/installation/macos

Paste #pf76p7i6i

  1. 0004e740: 5f47 6574 5475 6e6e 656c 7342 7269 6467 6573 286c 6173 745f 6e6f 6465 2c20 6375  _GetTunnelsBridges(last_node, cu
  2. 0004e760: 725f 6e6f 6465 2c20 6272 6964 6765 5f64 6972 290a 7b0a 0972 6574 7572 6e20 5b5d  r_node, bridge_dir).{..return []
  3. 0004e780: 202f 2f6e 6f20 6272 6964 6765 7320 6f72 2074 756e 6e65 6c73 0a7d 0a0a 6675 6e63   //no bridges or tunnels.}..func
  4. 0004e7a0: 7469 6f6e 2053 6869 703a 3a5f 4368 6563 6b54 756e 6e65 6c42 7269 6467 6528 6375  tion Ship::_CheckTunnelBridge(cu
  5. 0004e7c0: 7272 656e 745f 7469 6c65 2c20 6e65 775f 7469 6c65 290a 7b0a 0972 6574 7572 6e20  rrent_tile, new_tile).{..return
  6. 0004e7e0: 6661 6c73 6520 2f2f 6e6f 2062 7269 6467 6573

Paste #prg1rq5rv

  1. 0004ab60: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ................................
  2. 0004ab80: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ................................
  3. 0004aba0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ................................
  4. 0004abc0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ................................
  5. 0004abe0: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  ................................
  6. 0004ac00: 5261 696c 7741 492d 392f 7368 6970 7061 7468

Paste #pe9efdhkl

  1. Installing Jekyll
  2.  
  3. Assumes jekyll 3.8.4 per Repo 5th November 2018
  4.  
  5. * install rbenv and ruby per https://jekyllrb.com/docs/installation/macos

Paste #p4dec4avi

  1. static void CheckIfAircraftNeedsService(Aircraft *v)
  2. {
  3.     if (Company::Get(v->owner)->settings.vehicle.servint_aircraft == 0 || !v->NeedsAutomaticServicing()) return;
  4.     if (v->IsChainInDepot()) {
  5.         VehicleServiceInDepot(v);

Paste #ptdil1uqf

  1.         bool hangar_in_o = false;
  2.         const Order *o;
  3.  
  4.         /* Is there at least an airport with a hangar in the orders? */
  5.         FOR_VEHICLE_ORDERS(v, o) {

Pyrite/Mineral Mine Code

  1. from industry import IndustryPrimaryExtractive, TileLocationChecks
  2.  
  3. industry = IndustryPrimaryExtractive(id='pyrite_mine',
  4.                                     accept_cargo_types=['ENSP'],
  5.                                     prod_cargo_types=['PORE'],

Paste #pxg8qhtoo

  1. # git completion with a script download from github
  2. source ~/git-completion.bash
  3. # alternative git completion via Apple
  4. # source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh

Paste #pss04mpkm

  1. # pretty colors, yay!
  2. [color]
  3.     diff = auto
  4.     status = auto
  5.     branch = auto

cets build failure

  1. (grfdev) ingo@aeolus:~/ottd/grfdev/eddi-nml$ make
  2. /usr/bin/env python3 setup.py build_ext --inplace
  3. /home/ingo/anaconda3/envs/grfdev/lib/python3.6/site-packages/setuptools/dist.py:407: UserWarning: The version specified ('v6872:faebe15eaad4') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  4.   "details." % self.metadata.version
  5. running build_ext

Paste #pd33certm

  1. diff --git a/src/string.cpp b/src/string.cpp
  2. index 4c714a2e02..fc27d8b5ed 100644
  3. --- a/src/string.cpp
  4. +++ b/src/string.cpp
  5. @@ -595,7 +595,7 @@ int strnatcmp(const char *s1, const char *s2, bool ignore_garbage_at_front)

Paste #potfqlpua

  1. OpenTTD.OpenTTD(master)$ git rev-list --count HEAD --since="Apr 7 2018"  --before="Jan 1 2019"
  2. 244
  3. OpenTTD.OpenTTD(master)$ git rev-list --count HEAD --since="Apr 7 2016"  --before="Apr 6 2018"
  4. 429
  5. OpenTTD.OpenTTD(master)$ git rev-list --count HEAD --since="Apr 7 2017"  --before="Apr 6 2018"
  6. 135

Paste #pp4mfiqxw

  1. print("Enter the range, values separated by comma:")
  2. [a,b] = [int(z) for z in input().split(',')]
  3. odd = set('13579')
  4. l = []
  5. for n in range(a, b + 1):