One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#include <string.h> | |
#include <unistd.h> | |
#include <math.h> | |
#include <curses.h> | |
#define SNAKE_MAX_LENGTH 12 | |
#define WIN_MSG "You are the WINNER!" | |
#define WELCOME_MSG "We present you the ultimate SNAKE game!!!" | |
#define LOST_MSG "Loooooser :-))))" | |
#define UP 1 |
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2.install avconv | |
git clone git://git.libav.org/libav.git | |
cd libav | |
# it will take 3-5 minutes to complie, be patient. | |
./configure --disable-yasm | |
make && make install |
Below are the Big O performance of common functions of different Java Collections. | |
List | Add | Remove | Get | Contains | Next | Data Structure | |
---------------------|------|--------|------|----------|------|--------------- | |
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array | |
<html> | |
<head> | |
<title>A Trello Dashboard</title> | |
<link rel="stylesheet" media="screen" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Trello Dashboard</h1> | |
<form class="form-horizontal" id="boards_form"> |
# Installation | |
$ sudo apt-get update | |
$ sudo apt-get install build-essential python-software-properties git | |
$ sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" | |
$ sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" | |
$ sudo apt-get update && apt-get install docker | |
# Hello, Docker |
startExternalMap() { | |
if (this.location.latitude) { | |
this.platform.ready().then(() => { | |
Geolocation.getCurrentPosition().then((position) => { | |
// ios | |
if (this.platform.is('ios')) { | |
window.open('maps://?q=' + this.location.name + '&saddr=' + position.coords.latitude + ',' + position.coords.longitude + '&daddr=' + this.location.latitude + ',' + this.location.longitude, '_system'); | |
}; | |
// android | |
if (this.platform.is('android')) { |
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
download.sh
file and put it into a directory where you want the files to be saved.cd
into the directory and make sure that it has executable permissions (chmod +x download.sh
should do it)./download.sh
and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.