This file contains 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
In "No Silver Bullet" [1] Brooks wrote in 1986: | |
"I still remember the jolt I felt in 1958 when I first heard a friend talk about building a program, | |
as opposed to writing one. In a flash he broadened my whole view of the software process. The | |
metaphor shift was powerful, and accurate. Today we understand how like other building processes the | |
construction of software is, and we freely use other elements of the metaphor, such as | |
specifications, assembly of components, and scaffolding." | |
"The building metaphor has outlived its usefulness. It is time to change again. If, as I believe, | |
the conceptual structures we construct today are too complicated to be specified accurately in |
This file contains 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 getQueryVariable(variable) { | |
var query = window.location.search.substring(1); | |
var vars = query.split("&"); | |
for (var i=0;i<vars.length;i++) { | |
var pair = vars[i].split("="); | |
if(pair[0] == variable){return pair[1];} | |
} | |
return(false); | |
} |
This file contains 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 alexmorleyfinch's comment on this thread: | |
// https://gist.github.com/gordonbrander/2230317#gistcomment-1618310 | |
var generateUniqueId = function(){ | |
function chr4(){ | |
return Math.random().toString(16).slice(-4); | |
}; | |
return chr4() + chr4() + | |
'-' + chr4() + | |
'-' + chr4() + | |
'-' + chr4() + |
This file contains 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
// help the book get centered... | |
_root.bookOffsetX = 220; | |
_root.bookOffsetY = 400; | |
// this function runs every time the window is resized. | |
var resizeFunction = function() { | |
// find the scale for book_mc | |
stagewidth = Stage.width; | |
stageheight = Stage.height; |
This file contains 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
package wolken.edgemoor { | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.display.MovieClip; | |
import flash.text.TextField; | |
import flash.text.TextFormat; | |
import fl.transitions.Tween; | |
import fl.transitions.TweenEvent; |
This file contains 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
package wolken.slideshow { | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.text.TextField; | |
import flash.display.MovieClip; | |
import flash.display.LoaderInfo; | |
import flash.display.SimpleButton; | |
import fl.transitions.Tween; |
This file contains 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
.use(phantom()) | |
^ | |
TypeError: object is not a function | |
at Object.<anonymous> (/Users/212341175/workspace/repos/kexp/xray.js:5:8) | |
at Module._compile (module.js:460:26) | |
at Object.Module._extensions..js (module.js:478:10) | |
at Module.load (module.js:355:32) | |
at Function.Module._load (module.js:310:12) | |
at Function.Module.runMain (module.js:501:10) | |
at startup (node.js:129:16) |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../google-map/google-map-directions.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<link rel="import" href="../smoothie-chart/smoothie-chart.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> |
NewerOlder