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
Niko Skrypnik: | |
Given six point below | |
(0, 0), | |
(0, 0.21875), | |
(0, 57.0), | |
(52.687045890688346, 0.21875), | |
(52.687045890688346, 57.0),(52.8104208873519, 57.4686170619435) | |
chatGPT: |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
open: true, | |
actions: { | |
handleMe() { | |
console.log('got it') | |
}, |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
actions: { | |
handleMe() { | |
alert('got it') | |
}, | |
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
-- cythonize ['/Users/nskrypnik/kivy-ios/tools/cythonize.py', './kivy/core/text/text_sdlttf.pyx'] | |
cythonize: ./kivy/core/text/text_sdlttf.pyx | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
if ext.lower() == 'ttf': | |
fontobject = TTF_OpenFont(fontname, int(self.options['font_size'])) | |
# fallback to search a system font |
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
building 'kivy.core.text.text_sdlttf' extension | |
creating build/temp.macosx-10.7-armv7-2.7/kivy/core/text | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch armv7 -pipe -no-cpp-precomp -miphoneos-version-min=6.1 -O3 -g -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -I/Users/nskrypnik/kivy-ios/build/include -I/Users/nskrypnik/kivy-ios/build/include/SDL -I/Users/nskrypnik/kivy-ios/build/include/freetype -I/Users/nskrypnik/kivy-ios/tmp/Python-2.7.1/Include -I/Users/nskrypnik/kivy-ios/tmp/Python-2.7.1 -c kivy/core/text/text_sdlttf.c -o build/temp.macosx-10.7-armv7-2.7/kivy/core/text/text_sdlttf.o -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk | |
kivy/core/text/text_sdlttf.c:1:2: error: Do not use this file, it is the result of a failed Cython compilation. | |
#error Do not use this file, it is the result |
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
import win32com.client | |
import os | |
# Change to match your psd file | |
psdFile = r'E:\topestate\1main.psd' | |
exportPath = r'E:\topestate\main' | |
# Photoshop actually exposes several different COM interfaces, | |
# including one specifically for classes defining export options. |
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
#!/bin/sh | |
# build-cymunk.sh | |
# | |
# | |
# Created by Niko Skrypnik on 11/14/13. | |
# | |
. $(dirname $0)/environment.sh |
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
diff --git a/tools/cythonize.py b/tools/cythonize.py | |
index 2963624..a64585d 100755 | |
--- a/tools/cythonize.py | |
+++ b/tools/cythonize.py | |
@@ -29,7 +29,7 @@ def do(fn): | |
# cythonize | |
subprocess.Popen([cython, fn], env=os.environ).communicate() | |
- if not package: | |
+ if not package or package == 'cymunk_python': |
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
./Parser/hostpgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c | |
./Parser/hostpgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -fno-strict-aliasing -arch armv7 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.1 -O3 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -fno-strict-aliasing -arch armv7 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.1 -O3 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/ast.o Python/ast.c | |
/Applications/Xcode.app/ |
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
I/python (21813): Traceback (most recent call last): | |
I/python (21813): File "/home/niko/projects/kivyorigin/trackball/main.py", line 142, in <module> | |
I/python (21813): File "/home/niko/projects/android/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/app.py", line 705, in run | |
I/python (21813): File "/home/niko/projects/kivyorigin/trackball/main.py", line 139, in build | |
I/python (21813): File "/home/niko/projects/kivyorigin/trackball/main.py", line 33, in __init__ | |
I/python (21813): File "/home/niko/projects/kivyorigin/trackball/main.py", line 56, in setup_scene | |
I/python (21813): File "/home/niko/projects/android/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/core/image/__init__.py", line 440, in __init__ | |
I/python (21813): File "/home/niko/projects/android/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/core/image/__init__.py", line 628, in _set_filename | |
I/python (21813): File "/home/niko/projects/android |
NewerOlder