Skip to content

Instantly share code, notes, and snippets.

kilon kilon

Block or report user

Report or block kilon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View make_release.log
bf_intern_itasc.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_itasc.lib
audaspace.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\audaspace.lib
bf_alembic.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_alembic.lib
audaspace-py.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\audaspace-py.lib
bf_avi.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_avi.lib
bf_blenfont.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenfont.lib
bf_blenlib.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenlib.lib
bf_blentranslation.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_blentranslation.lib
bf_blenkernel.vcxproj -> C:\Users\user_name\ephestos\bui
View welcome.md

1.0 Introduction

Hello and welcome to Pharo, this is a read only channel where you will find all important links to documentation to get you started and anything relevant to help you learn Pharo

2.0 Getting Started

Pharo has various means to help you learn, whatever is your preference, asking questions should be always your number one choice.

2.1. Books

View CMakeList.txt
set(INC
.
../blenfont
../blenkernel
../blenlib
../blenloader
../blentranslation
../depsgraph
../editors/include
View talos.py
import re
import sys
def talos_lex_source_lines(source):
return re.split("\n",source)
def talos_lex_source_tokens(source_line):
return re.split("\s",source_line)
def convert_to_c(tokens):
View debug_log.txt
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>Checking Build System
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/clog/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/string/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/ghost/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/guardedalloc/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windo
@kilon
kilon / getversion.py
Last active Jun 6, 2018
Get version info from repository
View getversion.py
f = urllib.request.urlopen("https://raw.githubusercontent.com/kilon/morpheas/master/__init__.py")
r = f.read()
print(r)
bpy.context.user_preferences.version
import platform
platform.system() #returns 'Windows'
platform.release()#returns '10'
View test_example.py
class TestMorpheasMorphBounds(unittest.TestCase, livecoding.LiveObject ):
instances = []
def setUp(self):
self.world = morpheas.World()
self.tmorph = morpheas.Morph()
self.world.add_morph(self.tmorph)
@kilon
kilon / c2cppstring.cpp
Created Mar 17, 2018
C++ string to C string
View c2cppstring.cpp
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
std:string some = "but";
View morpheasExample.py
import bpy
import bgl
import blf
from morpheas import *
# this class is defining the action performed when the button is clicked
clase AButtonAction:
def onLeftClick(morph):
print("the button has been clicked")
@kilon
kilon / CPPBridgeTestMACOS.st
Created Nov 20, 2016
test CPPBridge on macos
View CPPBridgeTestMACOS.st
c := CPPBridge .
fdNumber := c openFile: '/Users/kilon/cpptest.bin'
flags: (c O_RDWR "| c O_CREAT | c O_TRUNC")
mode: (c FILEMODE).
"lseek := c lSeek_fd: fdNumber range:3999 value:0.
c write_fd:fdNumber value: '' size: 1."
mmapPointer := c mmap_adress: 0
fileSize:4000
You can’t perform that action at this time.