Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
year | population | |
---|---|---|
2006 | 40 | |
2008 | 45 | |
2010 | 48 | |
2012 | 51 | |
2014 | 53 | |
2016 | 57 | |
2017 | 62 |
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
''' | |
Series of Fibonacci and Prime numbers arranged alternatively | |
Fibo: 1,1,2,3,5... | |
Prime: 2,3,5,7,5... | |
Merged Series: 1, 2, 1, 3, 2, 5, 3, 7, 5, 11, 8, 13, 13, 17......... | |
''' | |
import math | |
def next_Fib(last, secLast): | |
return last+secLast |
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
#include <stdio.h> | |
#include <string.h> | |
#include <math.h> | |
#include <stdlib.h> | |
int isPrime(int n) { | |
if(n<=1) { | |
return 0; | |
} |
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
ORG 00H ; Assembly Starts from 0000H. | |
; Main Program | |
START: MOV P1, #0XFF ; Move 11111111 to PORT1. | |
CALL WAIT ; Call WAIT | |
MOV A, P1 ; Move P1 value to ACC | |
CPL A ; Complement ACC | |
MOV P1, A ; Move ACC value to P1 | |
CALL WAIT ; Call WAIT | |
SJMP START ; Jump to START | |
WAIT: MOV R2, #10 ; Load Register R2 with 10 (0x0A) |
How to use CSS 3D Transforms to create sprite-based 3D-like clouds. Demo: http://www.clicktorelease.com/code/css3dclouds/
There are several div elements, distributed randomly with transform: translate3d() inside a world div that is rotated with transform: rotate3d() using JavaScript in the onmousemove handler.
Each cluster contains several div elements with a cloud texture that are distributed in 3d with transform: translate3d() rotateZ() scale().
Every frame each layer is updated to face the camera, by rotating the sprite in X and Y the inverse amount of the rotation of the world.
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
Verifying my Blockstack ID is secured with the address 17a5T5e21EyFYG2RB2w6vJpnPtLayhabZZ https://explorer.blockstack.org/address/17a5T5e21EyFYG2RB2w6vJpnPtLayhabZZ |