This file contains hidden or 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
| HtmlNode := Object clone do( | |
| name ::= "div" | |
| init := method( | |
| self attributes := Map clone | |
| self children := List clone | |
| ) | |
| asString := method( | |
| appendHtmlTo(Sequence clone, 0) |
This file contains hidden or 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
| anObj := Object clone | |
| anObj do( | |
| for(i, 1, 1, | |
| x := 1 | |
| for(j, 1, 1, | |
| y := 1 | |
| ) | |
| ) | |
| ) |
This file contains hidden or 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
| RenderMan do ( | |
| frame := method(fno, | |
| frameBegin(fno) | |
| call evalArgAt(1) | |
| frameEnd | |
| ) | |
| ) |
This file contains hidden or 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
| $sudo du -h / | |
| ... | |
| 1.6G / | |
| $df -h | |
| Filesystem Size Used Avail Use% Mounted on | |
| /dev/sda1 9.4G 8.7G 240M 98% / | |
| udev 128M 20K 128M 1% /dev | |
| devshm 128M 4.0K 128M 1% /dev/shm |
This file contains hidden or 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
| var Rich = SC.Object.create(); | |
| Rich.animation = SC.Object.create({ | |
| startValue: 0, | |
| endValue: 0, | |
| value: 0, | |
| progress: 0, | |
| period: 1, | |
| framesPerSecond: 60, | |
| transformationType: "sinusoidal", |
This file contains hidden or 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
| var Rich = SC.Object.create(); | |
| Rich.animation = SC.Object.create({ | |
| startValue: 0, | |
| endValue: 0, | |
| value: 0, | |
| progress: 0, | |
| period: 1, | |
| framesPerSecond: 60, | |
| transformationType: "sinusoidal", |
This file contains hidden or 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
| <% content_for('body') do %> | |
| <div class="sc-welcome"> | |
| <img class="logo" src="<%= static_url('images/sproutcore-logo') %>" /> | |
| <div class="message"> | |
| <%= checkbox_view :clock_checkbox, :label => "Show Clock", :bind => { :value => 'HelloWorld.appController.isClockShowing' } %> | |
| <%= label_view :my_label, :tag => 'h1', :bind => { :value => 'HelloWorld.appController.greeting' } %> | |
| </div> | |
| </div> | |
| <% end %> |
This file contains hidden or 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
| Rich.mainPage = SC.Page.design({ | |
| mainPane: SC.MainPane.design( | |
| { | |
| childViews: "box", | |
| box: SC.View.design() | |
| .layout({ left: 0, top: 0, width: 100, height: 100 }) | |
| .classNames("box") | |
| }) | |
| .layout({ left: 0, right: 0, top: 0, bottom: 0 }) | |
| }); |
This file contains hidden or 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
| $ GIT_TRACE=1 git merge 4396bbd7ff5fe3084c11e0cd11a7928cf77e3755 | |
| trace: built-in: git 'merge' '4396bbd7ff5fe3084c11e0cd11a7928cf77e3755' | |
| Bus error |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE html | |
| PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang = "en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <script type="text/javascript"> | |
| window.onload = function() | |
| { |