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
@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 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 / 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 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
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 CMakeList.txt
set(INC
.
../blenfont
../blenkernel
../blenlib
../blenloader
../blentranslation
../depsgraph
../editors/include
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 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 problem.csd
<Cabbage>
form caption("Lazer Hawk v0.1") size(800, 800), colour(100, 100, 182), pluginid("def1")
keyboard bounds(0, 700, 800, 100)
image bounds(2, 0, 800, 100), colour(153, 153, 255, 255) outlinecolour(192, 18, 18, 255){
label bounds(0, 5, 200, 20), text("LazerHawk v0.01"), colour(60, 60, 120, 122), fontcolour(0, 0, 0, 255)
}
image bounds(2, 106, 800, 185) colour(61, 106, 73, 255) , plant("layer1"){
label bounds(0, 5, 200, 20), text("Sound Generator 1"), colour(60, 60, 120, 122), fontcolour(0, 0, 0, 255)
combobox bounds(0, 25, 100, 25),items("sine" , "saw", "square", "triangle"), channel("SG1 Wav"),colour(60, 60, 120, 122), fontcolour(0, 0, 0, 255)
You can’t perform that action at this time.