Skip to content

Instantly share code, notes, and snippets.

c:\Users\Aweesome\AppData\Roaming\npm\node_modules\learnyounode\node_modules\workshopper-exercise\exercise.js:152
processors[i].call(self, mode, function (err, pass) {
^
TypeError: Cannot call method 'call' of undefined
at next (c:\Users\Aweesome\AppData\Roaming\npm\node_modules\learnyounode\node_modules\workshopper-exercise\exercise.js:152:19)
at c:\Users\Aweesome\AppData\Roaming\npm\node_modules\learnyounode\node_modules\workshopper-exercise\exercise.js:159:7
at callback (c:\Users\Aweesome\AppData\Roaming\npm\node_modules\learnyounode\exercises\make_it_modular\verify.js:25:15)
at modFileError (c:\Users\Aweesome\AppData\Roaming\npm\node_modules\learnyounode\exercises\make_it_modular\verify.js:30:5)
at c:\Users\Aweesome\AppData\Roaming\npm\node_modules\learnyounode\exercises\make_it_modular\verify.js:103:18
at g:\sites\hello\exercise6\mymodule.js:14:17
@hedgerh
hedgerh / app.js
Last active August 29, 2015 14:04
/**
* Angular application
*/
angular.module('SESApp', []);
/**
* Content script for the Soundcloud Following page.
*/
(function() {
// replace the user list with the following template
document.onreadystatechange = function() {
if (document.readyState === "complete") {
setTimeout(function() {
var contentDiv = document.querySelector('.usersList');
var parentDiv = document.querySelector('.g-main-scroll-area');
#include <stdio.h>
int main()
{ int i;
float water_data[31] = { 0.00, 0.00, 0.00, 0.00, 0.02,
0.00, 0.00, 0.00, 0.04, 1.03,
0.17, 0.81, 0.45, 0.69, 0.63,
0.02, 0.06, 0.00, 0.00, 0.00,
0.08, 0.00, 0.00, 0.00, 0.00,
0.00, 0.00, 0.00, 0.00, 0.00,
0.00 };
/*A survey data analysis program that computes the mean, median and mode of the data*/
#include <stdio.h>
//Function Prototypes
void mean (const int answer[], const int size);
void median(int answer[],const int size);
void mode(int data[], const int size);
void mergeSort(int a[],const int size);
void initializeArray(int array[],const int size);
chrome.tabs.onUpdated.addListener(function(tabId, details, tab) {
if (details.status === 'loading' && details.url === 'https://soundcloud.com/stream'){
execute = true;
}
if (tab.url === "https://soundcloud.com/stream" && tab.status === "complete" && execute === true) {
execute = false;
chrome.tabs.executeScript(tabId, {
file: "js/scripts/streamContent.js"
}, function (res) {console.log(res);});
<header id="masthead" class="site-header col-md-12" align="center">
<nav id="site-navigation" class="main-navigation" role="navigation">
<button class="menu-toggle">Primary Menu</button>
<ul class="list-inline" >
<li class="menu-item cl-effect-1"><a href="http://localhost:8888/wordpress/about">ABOUT</a></li>
<li class="menu-item cl-effect-1" ><a href="http://localhost:8888/wordpress/visit-us">VISIT US!</a></li>
<li class="menu-logo"><a href="http://localhost:8888/wordpress"><div class="header-nav-logo"></div></a></li>
<li class="menu-item cl-effect-1"><a href="http://localhost:8888/wordpress/press">PRESS</a></li>
<li class="menu-item cl-effect-1"><a href="http://localhost:8888/wordpress/blog">BLOG</a></li>
@hedgerh
hedgerh / menu.html
Created August 20, 2014 00:30
Menu
<header id="masthead" class="site-header col-md-12" align="center">
<nav id="site-navigation" class="main-navigation" role="navigation">
<button class="menu-toggle">Primary Menu</button>
<ul class="list-inline" >
<li class="menu-item cl-effect-1"><a href="http://localhost:8888/wordpress/about">ABOUT</a></li>
<li class="menu-item cl-effect-1" ><a href="http://localhost:8888/wordpress/visit-us">VISIT US!</a></li>
<li class="menu-logo"><a href="http://localhost:8888/wordpress"><div class="header-nav-logo"></div></a></li>
<li class="menu-item cl-effect-1"><a href="http://localhost:8888/wordpress/press">PRESS</a></li>
<li class="menu-item cl-effect-1"><a href="http://localhost:8888/wordpress/blog">BLOG</a></li>
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
0.0 - SASS Variables
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
5.1 - Links
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
0.0 - Variables
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
5.1 - Links