- Eva Icons: MIT
- Clarity Icons (MIT License)
- Feather Icons (MIT License)
- BallIcons (Commercial, not FOSS)
- Glyphish
- IconBros: Nice icons for commercial use
- DevIcons: Icons for programming languages and tools (Java, Atom etc)
- FontAwesome: SVGs and iconfont
setInterval
and clearInterval
are top level functions part of JavaScript
What does that mean?
Basically these functions are defined by the window object. You can either call this function like window.setInterval( ... )
or just setInterval( ... )
setinterval is used to call any function again and again every few milliseconds.
It takes 2 parameters: the function to call periodically and what the duration between the calls is. So for example:
pragma solidity ^0.4.17; | |
contract SimpleStorage { | |
uint storedData; | |
function set(uint x) public { | |
storedData = x; | |
} | |
function get() public view returns (uint) { |
So far what we have learnt is about developing apps. But in a company software development is only part of the story, the other part is Software Delivery. This is where DevOps, Infrastructure Engineering etc roles come in.
When you have no devops, you have a person doing the following:
- Check out code from repository
- Turn off web server
- Deploy code
#The goal of this exercise is to create the models for a app like Twitter. We are not going to use Rails, just plain old Ruby. | |
#The goal is to be able to generate timelines for each user. The final code should look like this: | |
twitter = Twitter.new | |
user1 = User.new("alice") | |
user1.tweet("hello world") | |
user1.tweet("So hungry today") |
pragma solidity ^0.4.11; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; |
Rouge comes packed with a Sinatra test app. | |
To use it, you have to run this command in the root of the app: | |
``` | |
rackup | |
``` | |
which boots up a Sinatra server | |
When its running: | |
http://localhost:9292/?theme=monokai |
0x3D143E0450Eb9A450846bb7b861F46D15B156D07