Loading

Paste #pitvvmta8

  1. diff --git a/nml/actions/action2var.py b/nml/actions/action2var.py
  2. index 878a789..6dd607e 100644
  3. --- a/nml/actions/action2var.py
  4. +++ b/nml/actions/action2var.py
  5. @@ -619,6 +619,9 @@ class Varaction2Parser:

nml_call_procedure.diff

  1. diff -r a5e2fda0b31a nml/actions/action2var.py
  2. --- a/nml/actions/action2var.py Tue Sep 09 13:21:01 2014 +0200
  3. +++ b/nml/actions/action2var.py Tue Sep 09 13:38:47 2014 +0200
  4. @@ -958,6 +958,7 @@
  5.      func60x = lambda value, pos: expression.FunctionPtr(expression.Identifier(generic.reverse_lookup(vars_60x, value), pos), parse_60x_var, value)

Paste #p4qyjb3re

  1.     uint x = t->cache.num_houses / 50;
  2.     if (t->cache.num_houses >= 100) x--;
  3.  
  4.     if (t->cache.num_houses >= 200) x--;
  5.     if (t->cache.num_houses >= 250) x--;

Paste #pmsrcgscu

  1.     uint x = t->cache.num_houses / 50;
  2.     if (t->cache.num_houses >= 100) x--;
  3.  
  4.     if (t->cache.num_houses >= 200) x--;
  5.     if (t->cache.num_houses >= 250) x--;

Paste #plzdmmzle

  1. # -*- coding: utf-8 -*-
  2. # original: https://raw.githubusercontent.com/UedaTakeyuki/slider/master/mh_z19.py
  3. #
  4. # © Takeyuki UEDA 2015 -

Paste #pofk2w8xv

  1.  
  2. \documentclass[10pt, a4paper]{article}
  3. \usepackage{url}
  4. \usepackage{draftcopy}
  5. \usepackage{eurosym}

Paste #p4z4mcd7p

  1. (venv) D:\developpement\GitHub\glx22\website [master ≡ +1 ~0 -0 !]> bundle.bat install
  2. Fetching gem metadata from https://rubygems.org/...........
  3. Fetching gem metadata from https://rubygems.org/.
  4. Resolving dependencies...
  5. Bundler could not find compatible versions for gem "ruby ":

Paste #p6yrhyodn

  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 #pwooqf1bq

  1. 1& [ingo:~/hg-test] default 255 ☿ hg heads
  2. Änderung:        9:9bc42b86d51e
  3. Marke:           tip
  4. Nutzer:          planetmaker <planetmaker@openttd.org>
  5. Datum:           Mon Oct 28 17:49:44 2019 +0100

Paste #pyfxor7ng

  1. 1& [ingo:~/hg-test] default ☿ hg heads
  2. Änderung:        9:9bc42b86d51e
  3. Nutzer:          planetmaker <planetmaker@openttd.org>
  4. Datum:           Mon Oct 28 17:49:44 2019 +0100
  5. Zusammenfassung: more a

Paste #pr34jzrsi

  1. diff --git a/Doxyfile b/Doxyfile
  2. index 5677118c54..99b5f14a08 100644
  3. --- a/Doxyfile
  4. +++ b/Doxyfile
  5. @@ -117,22 +117,20 @@ WARN_LOGFILE           =

Paste #ppdpvgd51

  1. D:\developpement\GitHub\glx22\nml\examples\road_vehicle [master ≡ +2 ~1 -0 !]> nmlc .\example_road_vehicle.nml          nmlc ERROR: nmlc: An internal error has occurred:
  2. nmlc-version: 2019-10-19-g58a34844M
  3. Error:    (AttributeError) "module 'time' has no attribute 'clock'".
  4. Command:  ['D:\\developpement\\GitHub\\glx22\\nml\\build\\exe.win-amd64-3.8\\nmlc.exe', '.\\example_road_vehicle.nml']
  5. Location: File "D:\developpement\GitHub\glx22\nml\nml\generic.py", line 332, in print_progress

Paste #pgiwa8cmt

  1. D:\developpement\GitHub\glx22\nml\build\exe.win-amd64-3.8 [master ≡ +1 ~1 -0 !]> .\nmlc.exe
  2. Traceback (most recent call last):
  3.   File "C:\Program Files\Python38\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 40, in run
  4.     module.run()
  5.   File "C:\Program Files\Python38\lib\site-packages\cx_Freeze\initscripts\Console.py", line 23, in run

Paste #p0bwe0o3o

  1. wine "C:\\Python33\\pythonw.exe" setup.py build -c mingw32
  2. wine "C:\\Python33\\pythonw.exe" "C:\\Python33\\Scripts\\cxfreeze" nmlc
  3.  
  4. Results in dist/

Paste #pzeecfmu5

  1. D:\developpement\GitHub\glx22\nml [master ≡]> python.exe .\setup.py bundle
  2. C:\Program Files\Python38\lib\site-packages\setuptools\dist.py:479: UserWarning: The version specified ('2019-10-19-g58a34844') 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.
  3.   warnings.warn(
  4. usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  5.    or: setup.py --help [cmd1 cmd2 ...]