Skip to content

Instantly share code, notes, and snippets.

View hnarayanan's full-sized avatar
👋
Hello!

Harish Narayanan hnarayanan

👋
Hello!
View GitHub Profile
@hnarayanan
hnarayanan / example.sh
Created November 25, 2023 14:43
Emacs python-ts blowup
$ port echo installed | grep emacs
emacs-app @29.1_2+nativecomp+rsvg+treesitter
$ emacs hello.py
# This balloons to over 30 GB of memory use in seconds
0 info it worked if it ends with ok
1 verbose cli [ '/home/ubuntu/.nvm/versions/node/v6.14.2/bin/node',
1 verbose cli '/home/ubuntu/.nvm/versions/node/v6.14.2/bin/npm',
1 verbose cli 'start',
1 verbose cli '--production' ]
2 info using npm@3.10.10
3 info using node@v6.14.2
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle ghost@0.11.13~prestart: ghost@0.11.13
6 silly lifecycle ghost@0.11.13~prestart: no script for prestart, continuing

Keybase proof

I hereby claim:

  • I am hnarayanan on github.
  • I am hnarayanan (https://keybase.io/hnarayanan) on keybase.
  • I have a public key ASBepHM0SqMDbZwHKtwG4xjOrkEIdTfrpXJ15_T8CYlipgo

To claim this, I am signing this object:

date title short_title thumbnail description category start_date end_date
2012-06-01
Modelling the active mechanical response of the heart
Cardiac mechanics
/img/research/cardiac-mechanics/biventricle-mesh.png
Modelling the active mechanical response of ventricular myocardium.
primary
2011
2012
diff --git a/CMake/toolchains/toolchain-ios-device.cmake b/CMake/toolchains/toolchain-ios-device.cmake
index 90ddd86..81beae0 100644
--- a/CMake/toolchains/toolchain-ios-device.cmake
+++ b/CMake/toolchains/toolchain-ios-device.cmake
@@ -28,7 +28,7 @@ set(possible_sdk_roots
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
)
foreach(sdk_root ${possible_sdk_roots})
- foreach(sdk iPhoneOS4.3.sdk iPhoneOS5.0.sdk iPhoneOS5.1.sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk iPhoneOS7.1.sdk)
+ foreach(sdk iPhoneOS4.3.sdk iPhoneOS5.0.sdk iPhoneOS5.1.sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk iPhoneOS7.1.sdk iPhoneOS8.1.sdk)
16%] Performing configure step for 'curl-ios-simulator'
loading initial cache file /Users/harish/Projects/VES/CMake/toolchains/curl-TryRunResults.cmake
-- -- Using iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-- The C compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -- broken
CMake Error at /opt/local/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc"
is not able to compile a simple test program.
iff --git a/CMake/toolchains/toolchain-ios-device.cmake b/CMake/toolchains/toolchain-ios-device.cmake
index 90ddd86..81beae0 100644
--- a/CMake/toolchains/toolchain-ios-device.cmake
+++ b/CMake/toolchains/toolchain-ios-device.cmake
@@ -28,7 +28,7 @@ set(possible_sdk_roots
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
)
foreach(sdk_root ${possible_sdk_roots})
- foreach(sdk iPhoneOS4.3.sdk iPhoneOS5.0.sdk iPhoneOS5.1.sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk iPhoneOS7.1.sdk)
+ foreach(sdk iPhoneOS4.3.sdk iPhoneOS5.0.sdk iPhoneOS5.1.sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk iPhoneOS7.1.sdk iPhoneOS8.1.sdk)
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<title>SVG Tests!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
sowndiff --git a/_layouts/post.html b/_layouts/post.html
index 59d6db7..7b48474 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -8,7 +8,7 @@ layout: default
{% endif %}
<div class="post-header mb2">
- <h1 class="py2">{{ page.title }}</h1>
+ <h1>{{ page.title }}</h1>