- http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download
- http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/MSYS-1.0.11.exe/download
- http://sourceforge.net/projects/mingw/files/MSYS%20Supplementary%20Tools/msysDTK-1.0.1/msysDTK-1.0.1.exe/download
- http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.14-1/msysCORE-1.0.14-1-msys-1.0.14-src.tar.lzma/download
- Hint: 7Zip extracts lzma's
- extract the contents of the tar into C:\msys\1.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
| /* | |
| +------------+ | |
| | A | | |
| +-[ ]----[ ]-+ | |
| | | | |
| | V | |
| | +------------+ | |
| | | B | | |
| | +-[ ]--------+ | |
| | | |
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(cider) { | |
| cider.Cursor = function(editor) { | |
| var hideDuration = 1000, | |
| showDuration = 1000, | |
| opacity = 0.5, | |
| color = "#ff6600", | |
| ctx = editor.getContext(), | |
| interval = null // we can pause this, and expose show/hide |
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
| index 67d2bf8..b52c6b8 100644 | |
| --- a/index.html | |
| +++ b/index.html | |
| @@ -4,6 +4,7 @@ | |
| <head> | |
| <title>Cider: Canvas Text Editor</title> | |
| <script type="text/javascript" src="lib/cider.js"></script> | |
| + <script type="text/javascript" src="lib/cursor.js"></script> | |
| <script type="text/javascript"> | |
| window.onload = function() { |
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
| Conduct({ | |
| A: ["_0", fs.readFile], | |
| }, "A1")("/etc/passwd", function(data) { | |
| // handle file data | |
| }) |
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
| <?php | |
| ob_start(); | |
| if (count($_POST) > 0 && isset($_POST['payload'])) { | |
| $obj = json_decode(stripcslashes($_POST['payload']), true); | |
| $project = preg_replace('/[^a-zA-Z0-9_-]/', '', $obj['repository']['name']); | |
| $cmd = "cd /srv/www/tmpvar.com/project/$project"; | |
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(window) { | |
| var Composer = window.Composer = { | |
| setup : function(el) { | |
| $(el).find(".toolbar li").bind( "dragstart", function( event ){ | |
| // ref the "dragged" element, make a copy |
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
| tmpmac:unobtrusive.jsdom.org tmpvar$ node server/run.js | |
| fs:55 | |
| binding.read(fd, buffer, offset, size - offset, offset || null, functi | |
| ^ | |
| Error: Offset is out of bounds | |
| at doRead (fs:55:17) | |
| at fs:78:7 | |
| at node.js:176:9 |
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
| core.Entity = function(document, name) { | |
| core.Node.call(this, document); | |
| this._name = name; | |
| this._nodeName = name; | |
| this._tagName = name; | |
| this._publicId = null; | |
| this._systemId = null; | |
| this._notationName = null; | |
| this._nodeType = this.ENTITY_NODE; | |
| this._readonly = true; |
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 bar = function() { | |
| this._baz = function() { | |
| return this.value; | |
| }; | |
| }; | |
| bar.prototype = (function() { | |
| var i_am_private = 2; |