This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:6.6 | |
MAINTAINER Ilya Portnov <portnov@iportnov.ru> | |
ENV LC_ALL=en_US.UTF-8 | |
ENV LANG=en_us.UTF-8 | |
ENV LD_LIBRARY_PATH=/usr/lib64/:/usr/lib:/krita.appdir/usr/lib | |
RUN yum -y install epel-release && \ | |
yum -y update && \ | |
yum -y install wget tar bzip2 git libtool \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Ridders where | |
import qualified Data.Map as M | |
import Control.Monad.State | |
type R = Double | |
ridders :: R -> R -> R -> (R -> R) -> Maybe R | |
ridders ε a b fn = evalState (go a b) M.empty | |
where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vertices": [ | |
[ -1.0, -1.0, -1.0 ], | |
[ -1.0, -1.0, "Center" ], | |
[ -1.0, 1.0, -1.0 ], | |
[ -1.0, 1.0, "Center" ], | |
[ 1.0, -1.0, -1.0 ], | |
[ 1.0, -1.0, "Low" ], | |
[ 1.0, 1.0, -1.0 ], | |
[ 1.0, 1.0, "Low" ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vertices": [ | |
[ | |
0.5773502588272095, | |
0.5773502588272095, | |
0.5773502588272095 | |
], | |
[ | |
0.5773502588272095, | |
0.5773502588272095, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TemplateHaskell #-} | |
module VLC (toggleVlc) where | |
import XMonad | |
import DBus | |
import DBus.Client | |
import DBus.TH | |
interface "org.mpris.MediaPlayer2.vlc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TypeFamilies #-} | |
module Test1 | |
(ClassA (..) | |
) where | |
class ClassA a where | |
data DataA a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-12-09 20:01:00,275 [INFO] sverchok.utils.profile: Profiling results: | |
101074 function calls in 0.340 seconds | |
Ordered by: call count | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
19828 0.006 0.000 0.006 0.000 {method 'get' of 'dict' objects} | |
13515 0.033 0.000 0.209 0.000 geom.py:485(eval_at_point) | |
6631 0.021 0.000 0.021 0.000 {built-in method numpy.core.multiarray.array} | |
5173 0.001 0.000 0.001 0.000 {built-in method builtins.len} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Blender 2.79 (sub 1), Commit date: 2017-12-02 16:35, Hash e1eb1fbfca | |
bpy.ops.node.new_node_tree() # Operator | |
bpy.data.node_groups["NodeTree"].io_panel_properties.io_options_enum = 'Import' # Property | |
bpy.data.node_groups["NodeTree"].io_panel_properties.gist_id = "cda35a4ae53012f63b7b61fdc035c990" # Property | |
bpy.ops.node.select(mouse_x=152, mouse_y=507, extend=False) # Operator | |
bpy.ops.node.delete() # Operator | |
# backtrace | |
./blender(BLI_system_backtrace+0x20) [0x1a86fd0] | |
./blender() [0x107d5f8] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Install that script as an addon | |
* In appeared panel (T panel in 3D view) press "Init text buffer" | |
* Press "Write some text" | |
* Press Ctrl-Z | |
* Presws "write some text" again | |
Result: blender crashes or hangs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /usr/local/include/Vc/sse/intrinsics.h:53:0, | |
from /usr/local/include/Vc/sse/vector.h:33, | |
from /usr/local/include/Vc/vector.h:38, | |
from /usr/local/include/Vc/Vc:31, | |
from /home/portnov/SSD/src/krita/libs/pigment/compositeops/KoVcMultiArchBuildSupport.h:39, | |
from /home/portnov/SSD/src/krita/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.h:24, | |
from /home/portnov/SSD/src/krita/libs/pigment/compositeops/KoOptimizedCompositeOpFactory.cpp:20: | |
/usr/local/include/Vc/common/storage.h:190:21: error: flexible array member in union | |
EntryType m[]; | |
^ |