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 setupCanvas() { | |
| var canvas = document.createElement('canvas'); | |
| document.body.appendChild(canvas); | |
| canvas.width = 4000; | |
| canvas.height = 4000; | |
| canvas.id = "grid"; | |
| canvas.style.position = "absolute"; | |
| canvas.style.left = "0px"; | |
| canvas.style.top = "0px"; | |
| canvas.style.overflow = 'hidden'; |
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 GooDataExtractor = function () {}; | |
| GooDataExtractor.prototype.extract = function (key, delimiter) { | |
| console.log(key); | |
| console.log(delimiter); | |
| var importedData = this.mineAndParseContentToArray(key); | |
| return importedData; | |
| } |
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 GooDataExtractor = function () {}; | |
| GooDataExtractor.prototype.extract = function (key, delimiters, target, callback) { | |
| this.mineData(key, 1, function (data) { | |
| delimiters = delimiters.replace(' ', ''); | |
| delimiters = delimiters.split(','); | |
| console.log(data); | |
| callback(GooDataExtractor.prototype.parseContentToArray(delimiters, data), target); | |
| }); |
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
| ansi = require("ansi") | |
| cursor = ansi(process.stdout) | |
| class SiteParser | |
| @filesToParse = new Array() | |
| @dirs = new Array() | |
| parse = (data, target) -> | |
| fs = require("fs") | |
| i = 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
| #include <stdlib.h> | |
| #include <stdio.h> | |
| int main() { | |
| float pole[30]; | |
| float pom; | |
| FILE *fr; | |
| fr = fopen("vstup.txt", "r"); | |
| for (int i = 0; i < 30; i++) { |
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
| String file contents |
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
| String file contentssss |
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
| String file contentssss |
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
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Instaedit demo</title> | |
| <script> | |
| window.onload = function () { | |
| document.getElementById('instaedit-edit').onclick = function () { | |
| (function () { | |
| var th = document.getElementsByTagName('head')[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
| // INFO: content variable is passed from the outside | |
| var html = converter.makeHtml(content); | |
| // -> Apply when editing /_posts/2012-04-26-totalspaces-brings-back-grid-spaces.md in context of index.html | |
| var converter = new Markdown.Converter(); | |
| document.getElementById('content1').innerHTML = html; | |
| // <- | |
| // -> Apply when editing /_posts/2012-04-07-hello-san-francisco.md |
OlderNewer