All Projects β†’ shama β†’ Letswritecode

shama / Letswritecode

πŸŽ“ code examples for Let's Write Code

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Letswritecode

School Management System
Another School Management System
Stars: ✭ 520 (-27.48%)
Mutual labels:  education
Ripes
A graphical processor simulator and assembly editor for the RISC-V ISA
Stars: ✭ 584 (-18.55%)
Mutual labels:  education
Rest Api Sections
A small repository of projects built in my course, REST APIs with Flask and Python.
Stars: ✭ 645 (-10.04%)
Mutual labels:  education
Science Journal Ios
Use the sensors in your mobile devices to perform science experiments. Science doesn’t just happen in the classroom or labβ€”tools like Science Journal let you see how the world works with just your phone.
Stars: ✭ 531 (-25.94%)
Mutual labels:  education
Website
The train engine powering the Coding Train website
Stars: ✭ 5,313 (+641%)
Mutual labels:  education
Datascience Box
Data Science Course in a Box
Stars: ✭ 629 (-12.27%)
Mutual labels:  education
Hypatia
A JavaScript open source LMS (eLearning platform) for MOOCs and online courses
Stars: ✭ 478 (-33.33%)
Mutual labels:  education
Carbon
πŸ–€ Create and share beautiful images of your source code
Stars: ✭ 29,304 (+3987.03%)
Mutual labels:  education
Appjar
Simple Tkinter GUIs in Python
Stars: ✭ 565 (-21.2%)
Mutual labels:  education
Processing Android
Processing mode and core library to create Android apps with Processing
Stars: ✭ 643 (-10.32%)
Mutual labels:  education
Awesome Python In Education
A curated list about Python in Education 🐍 πŸŽ“
Stars: ✭ 535 (-25.38%)
Mutual labels:  education
Es6 For Humans
A kickstarter guide to writing ES6
Stars: ✭ 5,170 (+621.06%)
Mutual labels:  education
A Tale Of Three Lists
Comparing various async patterns for a single demo
Stars: ✭ 639 (-10.88%)
Mutual labels:  education
Autolab
Course management service that enables auto-graded programming assignments.
Stars: ✭ 528 (-26.36%)
Mutual labels:  education
Courses
Awesome Courses
Stars: ✭ 663 (-7.53%)
Mutual labels:  education
Pxt Microbit
A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
Stars: ✭ 501 (-30.13%)
Mutual labels:  education
Curriculum
πŸ‘©β€πŸ« πŸ‘¨β€πŸ« The open-source curriculum of Enki!
Stars: ✭ 624 (-12.97%)
Mutual labels:  education
Teaching App Dev Swift
DEPRECATED. Instructor lesson plans that accompany Xcode projects, for guiding in-class experiential learning.
Stars: ✭ 699 (-2.51%)
Mutual labels:  education
Udacity Nanodegrees
πŸŽ“ List of Udacity Nanodegree programs with links to the free courses in their curricula
Stars: ✭ 5,893 (+721.9%)
Mutual labels:  education
The Littlest Jupyterhub
Simple JupyterHub distribution for 1-100 users on a single server
Stars: ✭ 640 (-10.74%)
Mutual labels:  education

Let's Write Code

All the code examples for the youtube series Let's Write Code

Ideas?

If you have any screencast you'd like to see or suggestions, please open an issue here. Thanks!

Dev Setup

Throughout these videos I typically use the same development environment. This is a guide through that development setup.

Dependencies

Rather than copying / pasting script tags into my HTML for 3rd party code, I use npm. The npm command comes with Node.js. When I run npm install jquery, it downloads the 3rd party files into the node_modules/jquery/ folder.

The package.json file can hold those dependencies and versions, so the next time you want to install those files, run npm install in the same folder.

Build Tool

Browserify is a tool that reads your JavaScript source files and files you've installed with npm. Then outputs those files loaded in the correct order to a single bundled file.

You can install the browserify command on your machine with: npm install browserify -g.

To create a bundled file, run browserify index.js -o bundle.js, where index.js is the entry point to all your scripts.

In your index.js file, you can include other files with require('./other.js') or a 3rd party file installed with npm by doing require('jquery').

Once you have generated this bundle.js file, you can add a single script tag in your HTML: <script src="bundle.js"></script> and host those assets like any other HTML, JavaScript and CSS files.

Dev Server

While rapidly developing, running the browserify command every time you make a change in the code can get tedious. Also having to FTP, git push or some other method to deploy the code to a server can slow your development down.

I use a tool called budo which runs a server locally on your machine (http://localhost:9966) and automatically bundles your code with Browserify as you refresh the page or live as you make changes if you have the --live option on.

Install the budo command with: npm install budo and run the server with: budo index.js. Now you can rapidly develop the code by viewing localhost:9966.

For convenience, I add the budo command to the scripts section of my package.json:

{
  "scripts": {
    "start": "budo index.js:bundle.js"
  }
}

Now I only need to run npm start to start developing code.

Deployment

After you're done developing the code, run browserify index.js -o bundle.js to create your JavaScript bundle. Add the script tag to your HTML: <script src="bundle.js"></script> to load that JavaScript file.

Then upload those files to your remote server. Either via FTP/SFTP, git deploying, heroku, firebase or whatever method you normally use to deploy your website.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].