Skip to content

Instantly share code, notes, and snippets.

View maksadbek's full-sized avatar
💭
Chilling

Maksadbek maksadbek

💭
Chilling
View GitHub Profile
package main
import (
"bytes"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"os"
#include <iostream>
#include <boost/asio.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
void print(const boost::system::error_code&){
std::cout<<"Hello, boost!"<<std::endl;
}
int main(){
boost::asio::io_service io;
@maksadbek
maksadbek / rubius.md
Last active August 29, 2015 14:03
ruby installation
#!/bin/bash
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffe-dev
 
cd
wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.2.0.tar.gz
tar -xzvf ruby-2.1.2.tar.gz
cd ruby-2.1.2/
./configure
As I discussed last time (msdn.microsoft.com/magazine/JJ553519), Cassandra is a “column-oriented” data store, which means that instead of storing identically structured tuples of data arranged according to a fixed structure (the table schema), Cassandra stores “column families” in “keyspaces.” In more descriptive terms, Cassandra associates a key value with a varying number of name/value pairs (columns) that might be entirely different from one “row” to another.
db.collection.find({}).sort($natural: -1}).limit(1);
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2010/video-lectures/
#include <iostream>
int taxi(int one, int two, int three, int four)
{
int cars = 0;
cars = four;
if((three - one) != 0)
{
cars += three - one;
three = (three % one);
var loopback = require('loopback');
var Item = require('./models').Item;
var app = module.exports = loopback();
app.model(Item);
app.use('/api', loopback.rest());
app.listen(8080);
/*
GET /items
GET /items/count
1 set number
2 set autoindent
3 set nocompatible
4 set autoindent
5 set backup
6 set nu
7 set smartindent
8 set showmatch
9 set textwidth=80
10 set title
Ext.require([
'Ext.grid.*',
'Ext.data.*',
'Ext.panel.*',
'Ext.layout.container.Border'
]);
Ext.onReady(function(){
var Mydata = [
{
'Pure-FTPD + pureadmin (Ftp server with gui)
'Install ''Pure-FTPD'' with GUI
'Install the pure-ftpd package and the pureadmin package from the Universe Repository.
sudo apt-get install pure-ftpd pureadmin
'Then use your favorite text editor and open up the /etc/inetd.conf file. Comment (add a # at the start of) the line containing 'ftp'. 'Command example for text editor GEdit...
sudo gedit /etc/inetd.conf
'Again use your favorite text editor and open up the /etc/default/pure-ftpd-common file. Change STANDALONE_OR_INETD=inetd to 'STANDALONE_OR_INETD=standalone. Command example for text editor GEdit...
Подкину литературы, ссылок, дабы была подмога в выборе области.
А то, в каком порядке изучать - так образование трудно облачить в алгоритм. Необходимо знать немного о всем и все о немногом. Главное чтобы пёрло и была поддержка в лице единомышленников.
Из того, на что обязательно нужно взглянуть.
Математика (база, во всех ее проявлениях):
Кнут Искусство программирования
Вирт Алгоритмы + структуры данных = программы
Ахо,Лам,Сети,Ульман - Компиляторы. Принципы, технологии, инструменты.
Кормен. Алгоритмы. Построение и анализ.