Git Product home page Git Product logo

a2z-f17's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

a2z-f17's Issues

Arrow Syntax

Also => syntax in ES6 related to closures.

let test => () {
}

Is that even right?

p5.js:5131 error : GET not found and XHR failed loading

Hi Daniel,

I'm using Brackets and I keep having the same error from browser console when running sketch.js from Brackets and clicking on either Search or Tweet button. I renamed config-empty.js to config.js and filled in my api keys. Can't figure out what is wrong.

p5.js:5131 GET http://127.x.x.x:xxxxx/tweets/mysearch 404 (Not Found)
p5.js:5131 XHR failed loading: GET "http://127.x.x.x:xxxxx/tweets/mysearch".

Thanks

notes and videos

TODO:

  • notes / videos about rivescript, p5.speech
  • notes / videos about alexa
  • notes / videos about additional text analysis topics: bayesian classification, word2vec

Bad Twitter streaming request: 410

I am trying to make a follow bot which posts a tweet when someone follows bot from this tutorial https://www.youtube.com/watch?v=ZvsqQjwrISQ&t=1s however, it's not working and I am getting following error:

234423423

Here is my code:

console.log('The follow bot is starting');

var Twit = require('twit')

var config = require('./config');
var T = new Twit(config);

//setting up a user stream
var stream = T.stream('user');

//anytime someone follows me
stream.on('follow', followed);

function followed(eventMsg){
    console.log('Follow event!');
    var name = eventMsg.source.name;
    var screenName = eventMsg.source.screen_name;
    tweetIt('.@' + screenName + ' do you like pizza?');
}

// tweetIt();
// setInterval(tweetIt, 1000*20);

function tweetIt(txt){

    var tweet = {
        status: txt
    };

    T.post('statuses/update', tweet, tweeted);

    function tweeted(err, data, response){
        if(err){
            console.log("Something went wrong!");
        }else{
            console.log("It worked!");
        }
    }
}

Promises

came up in class to look at promises with ES6.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.