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
| // ... | |
| /*float total; | |
| int todivide; | |
| //Smooth opacityother | |
| for(i=0;i<size;i++){ | |
| for(j=0;j<size;j++){ | |
| total=0; | |
| todivide=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
| Report '_print_connections' | |
| do ~from>()~to.() | |
| { | |
| '<' id '>' | |
| subreport '_print_connections' run | |
| '</' id '>' | |
| newline | |
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
| #!/bin/sh | |
| # This is called from /etc/rc.local to perform the initial setup. | |
| # We always bootup in AP mode. Delete any stale files | |
| rm -f /etc/wlanclient.mode | |
| SSID=Plug2-uAP-`ifconfig eth0 | awk -F ":" '/HWaddr/ {print $6$7}'` | |
| insmod /root/uap8xxx.ko | |
| ifconfig uap0 192.168.1.1 up |
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
| foobar |
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 aspect = (function(parts){ | |
| return parts[1] / parts[0]; | |
| }(m3media.sdh264.aspect.split(":"))); |
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
| background-image:url('kuva.png'); | |
| background-repeat:no-repeat; | |
| background-attachment:fixed; | |
| background-position: left bottom; |
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
| from zope.interface import Interface | |
| from five import grok | |
| class Debug(grok.View): | |
| grok.context(Interface) | |
| grok.require('cmf.ManagePortal') | |
| def render(self): |
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
| from five import grok | |
| from Products.ATContentTypes.interfaces.topic import IATTopic | |
| class HackPortalView(grok.View): | |
| grok.context(IATTopic) | |
| grok.require('zope2.View') | |
| grok.name("portalview-boxview") |
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
| (function($){ | |
| /** | |
| * Force textareas to have as many rows as there are lines. | |
| */ | |
| $.fn.dynamicRows = function(){ | |
| var normalizeRows = function(){ | |
| $(this).attr("rows", $(this).val().split("\n").length); | |
| }; |