Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ka4tik
ka4tik / pearson pthread c++
Created November 21, 2014 17:16
pearson pthread c++
using namespace std;
#include <unistd.h> /* Symbolic Constants */
#include <sys/types.h> /* Primitive System Data Types */
#include <errno.h> /* Errors */
#include <stdio.h> /* Input/Output */
#include <stdlib.h> /* General Utilities */
#include <pthread.h> /* POSIX Threads */
#include <string.h> /* String handling */
#include <iostream>

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@ka4tik
ka4tik / script.js
Created April 7, 2014 15:13
script.js
$(document).ready(function() {
console.log( "ready!" );
RECOGNIZER = {
theta : [
[-3.271223726080777, 0, 0, 8.654308783831965e-005, -0.0007996926651119445, -0.0008715119883579719, 0.001399499892876808, -0.01727216485492739, -0.0009972060713143874, 0.00054903095162436, 0.0004724689591946676, 7.019238616148757e-005, 0.0003939349936372904, 0.001754192867100386, 0.001519902511585027, 0.004210126111770956, 0.005538368079084028, 0.0004668537083103653, -7.901508792973267e-005, -9.054818284009093e-008, 0, -1.637172191549363e-008, 9.378193279370829e-006, -0.001098867361678174, 0.009098717048719684, 0.01044074060740585, 0.001983108180999115, -0.02312588282240331, 9.993608328426187e-005, 0.0006092254411716706, -0.009269453272634297, -0.001173606069759129, -0.004378541940952523, -0.01917002653871398, -0.01128778671949218, -0.03797181500358563, -0.0519658149658334, 0.006041678339091636, 0.009484375377300951, 0.0003165921425886388, 0.0001690425262716742, 1.324398115934316e-007, -0.0002795109423623428, 0
@ka4tik
ka4tik / index.html
Created March 24, 2014 04:38
A Pen by Fabrizio Fallico.
<div class="container">
<h1>taggingJS</h1>
<h3>jQuery plugin to tagging like a charm!</h3>
<div class="row">
<div class="col-md-6">
<div class="blockquote-box blockquote-info clearfix">
<div class="square pull-left">
<html>
<body>
<!-- really dirty! this is just a test drive ;) -->
<script type="text/javascript" src="https://raw.github.com/mozilla/pdf.js/gh-pages/build/pdf.js"></script>
<script type="text/javascript">
function renderPDF(url, canvasContainer, options) {
var options = options || { scale: 1 };
using namespace std;
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <iterator>
#include<iostream>
#include<vector>
#include<queue>
#include<set>
#include<map>
#include<algorithm>
#define INRANGE(i, a, b) (i >= a && i < b)
using namespace std;