Skip to content

Instantly share code, notes, and snippets.

View brothermechanic's full-sized avatar

brothermechanic

  • Russian Federation, Moscow
View GitHub Profile
@brothermechanic
brothermechanic / stdin
Created September 17, 2020 16:53
stdin
load-path is a variable defined in ‘C source code’.
Its value is
("/etc/emacs" "/usr/share/emacs/site-lisp" "/usr/share/emacs/site-lisp/auto-complete" "/usr/share/emacs/site-lisp/elpy" "/usr/share/emacs/site-lisp/popup" "/usr/share/emacs/site-lisp/python-mode" "/usr/share/emacs/site-lisp/site-gentoo.d" "/usr/share/emacs/site-lisp/elpy/snippets" "/usr/share/emacs/site-lisp/elpy/snippets/python-mode" "/usr/share/emacs/27.1/lisp" "/usr/share/emacs/27.1/lisp/vc" "/usr/share/emacs/27.1/lisp/url" "/usr/share/emacs/27.1/lisp/textmodes" "/usr/share/emacs/27.1/lisp/progmodes" "/usr/share/emacs/27.1/lisp/play" "/usr/share/emacs/27.1/lisp/org" "/usr/share/emacs/27.1/lisp/nxml" "/usr/share/emacs/27.1/lisp/net" "/usr/share/emacs/27.1/lisp/mh-e" "/usr/share/emacs/27.1/lisp/mail" "/usr/share/emacs/27.1/lisp/leim" "/usr/share/emacs/27.1/lisp/language" "/usr/share/emacs/27.1/lisp/international" "/usr/share/emacs/27.1/lisp/image" "/usr/share/emacs/27.1/lisp/gnus" "/usr/share/emacs/27.1/lisp/eshell" "/usr/share/emacs/27.1/lisp/
@brothermechanic
brothermechanic / stdin
Created September 17, 2020 12:28
stdin
/usr
/usr/lib
/usr/lib/python3.7
/usr/lib/python3.7/site-packages
/usr/lib/python3.7/site-packages/elpy
/usr/lib/python3.7/site-packages/elpy-1.34.0-py3.7.egg-info
/usr/lib/python3.7/site-packages/elpy-1.34.0-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/elpy-1.34.0-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/elpy-1.34.0-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/elpy-1.34.0-py3.7.egg-info/requires.txt
@brothermechanic
brothermechanic / stdin
Created September 17, 2020 12:27
stdin
/usr
/usr/share
/usr/share/emacs
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/elpy
/usr/share/emacs/site-lisp/elpy/elpy-django.el
/usr/share/emacs/site-lisp/elpy/elpy-pkg.el
/usr/share/emacs/site-lisp/elpy/elpy-profile.el
/usr/share/emacs/site-lisp/elpy/elpy-refactor.el
/usr/share/emacs/site-lisp/elpy/elpy-rpc.el
@brothermechanic
brothermechanic / vartmpportageapp-emacselpy-1.34.0tempbuild.log
Created September 17, 2020 11:27
/var/tmp/portage/app-emacs/elpy-1.34.0/temp/build.log
* Package: app-emacs/elpy-1.34.0
* Repository: cg
* Maintainer: brothermechanic@gmail.com
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Emacs version: 27.1
>>> Unpacking source...
>>> Unpacking elpy-1.34.0.tar.gz to /var/tmp/portage/app-emacs/elpy-1.34.0/work
>>> Source unpacked in /var/tmp/portage/app-emacs/elpy-1.34.0/work
>>> Preparing source in /var/tmp/portage/app-emacs/elpy-1.34.0/work/elpy-1.34.0 ...
@brothermechanic
brothermechanic / vartmpportage-ondiskportagemedia-gfxblender-9999workblender-9999internrigidbodyrb_bullet_api.cpp.rej
Created September 8, 2020 16:17
/var/tmp/portage-ondisk/portage/media-gfx/blender-9999/work/blender-9999/intern/rigidbody/rb_bullet_api.cpp.rej
--- intern/rigidbody/rb_bullet_api.cpp
+++ intern/rigidbody/rb_bullet_api.cpp
@@ -55,17 +55,17 @@
#include "RBI_api.h"
-#include "btBulletDynamicsCommon.h"
+#include "bullet/btBulletDynamicsCommon.h"
-#include "LinearMath/btConvexHullComputer.h"
@brothermechanic
brothermechanic / rb_bullet_api.cpp
Created September 8, 2020 16:15
rb_bullet_api.cpp
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
@brothermechanic
brothermechanic / bullet.patch
Created September 8, 2020 16:12
bullet.patch
--- a/intern/rigidbody/rb_bullet_api.cpp
+++ b/intern/rigidbody/rb_bullet_api.cpp
@@ -55,17 +55,17 @@
#include "RBI_api.h"
-#include "btBulletDynamicsCommon.h"
+#include "bullet/btBulletDynamicsCommon.h"
-#include "LinearMath/btConvexHullComputer.h"
@brothermechanic
brothermechanic / vartmpportage-ondiskportagemedia-gfxblender-9999tempbuild.log
Created September 8, 2020 15:33
/var/tmp/portage-ondisk/portage/media-gfx/blender-9999/temp/build.log
This file has been truncated, but you can view the full file.
 * Package: media-gfx/blender-9999
 * Repository: cg
 * Maintainer: brothermechanic@gmail.com perestoronin@gmail.com
 * USE: X abi_x86_64 addons addons-contrib alembic amd64 blender bullet collada cuda cycles elibc_glibc embree ffmpeg fftw fluid freestyle hdr kernel_linux lzma nls oceansim oidn opencl opencolorio openexr opengl openimageio openmp opensubdiv openvdb optix python_single_target_python3_7 quadriflow quicktime sdl sm_61 smoke sse tbb tiff usd userland_GNU
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Using python3.7 to build
>>> Unpacking source...
* Repository id: blender.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_BLENDER
@brothermechanic
brothermechanic / FC_Subd_to_Nurbs.py
Created September 4, 2020 08:31
FC_Subd_to_Nurbs.py
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
@brothermechanic
brothermechanic / stdin
Created September 4, 2020 08:29
stdin
Read blend: /home/bm/my.blend
FreeCAD 0.18, Libs: 0.18RUnknown
PATCH: 0
[<BMVert(0x7fe3406aea00), index=2>, <BMVert(0x7fe3406aec68), index=13>, <BMVert(0x7fe3406aeae0), index=6>]
[<BMVert(0x7fe3406aea00), index=2>, <BMVert(0x7fe3406aec30), index=12>, <BMVert(0x7fe3406ae990), index=0>]
[<BMVert(0x7fe3406aea70), index=4>, <BMVert(0x7fe3406aeb88), index=9>, <BMVert(0x7fe3406ae990), index=0>]
[<BMVert(0x7fe3406aea70), index=4>, <BMVert(0x7fe3406aebc0), index=10>, <BMVert(0x7fe3406aeae0), index=6>]
PATCH: 1
[<BMVert(0x7fe3406aea38), index=3>, <BMVert(0x7fe3406aebf8), index=11>, <BMVert(0x7fe3406aeb18), index=7>]
[<BMVert(0x7fe3406aea00), index=2>, <BMVert(0x7fe3406aecd8), index=15>, <BMVert(0x7fe3406aea38), index=3>]