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 <pthread.h> | |
#include <stdio.h> | |
int count = 100; | |
pthread_mutex_t mutex; | |
void* adder( void *counter){ | |
int tid, cnt; | |
/* tid = (int)threadid; */ |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from lxml.html import parse | |
from urllib2 import urlopen | |
import os | |
import time | |
import sys | |
JUICK_URL = "http://juick.com/" |
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
uname -a | |
Linux sylphide 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:46:08 UTC 2013 i686 i686 i686 GNU/Linux | |
lshw | |
sylphide | |
description: Computer | |
width: 32 bits | |
*-core | |
description: Motherboard | |
physical id: 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html><head> | |
<title>AWESOME SHIT</title> | |
</head><body><table border="0" cellspacing="0" cellpadding="0" cols="500" rows="500"> | |
<tr height="1"> | |
<td width="1" bgcolor="#30587C"></td> | |
<td width="1" colspan="499" bgcolor="#30587C"></td> | |
</tr> | |
<tr height="1"> |
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
var | |
a:array[1..100000] of longint; | |
n,min,ind,i: longint; | |
begin | |
read(n); | |
for i:=1 to n do | |
begin | |
read(a[i]); | |
end; |
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
extern crate openssl; | |
use std::io::prelude::*; | |
use std::path::Path; | |
use std::net::TcpStream; | |
use openssl::ssl::{Ssl, SslMethod, SslContext, SslStream, SSL_VERIFY_NONE}; | |
use openssl::x509::{X509FileType}; | |
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
#!/bin/bash -e | |
rm -r mumble-build-new | |
sudo apt-get install build-essential fakeroot devscripts quilt | |
sudo apt-get build-dep mumble-server | |
mkdir mumble-build-new | |
pushd mumble-build-new |
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
AGFzbQEAAAABJghgAX8AYAF/AX9gAABgAn9/AGAAAX9gAn9/AX9gAn99AGABfwF9AoIBBBZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCXByb2NfZXhpdAAAB3dhc21pbm8JbmFub3NsZWVwAAMWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQ5hcmdzX3NpemVzX2dldAAFFndhc2lfc25hcHNob3RfcHJldmlldzEIYXJnc19nZXQABQMbGgIAAAMBBAcGAwEABQIBAAEBAAQDAQACAAIEBAUBcAEBAQUDAQACBhIDfwFBsKwEC38BQQALfwFBAAsH9QEOBm1lbW9yeQIABl9zdGFydAAEEXdhc21pbm9HZXRQaW5Nb2RlAAgSd2FzbWlub0dldFBpbkNvdW50AAkOd2FzbWlub1JlYWRQaW4ACg93YXNtaW5vV3JpdGVQaW4ACxB3YXNtaW5vU2V0VXB0aW1lAAwGbWFsbG9jAA0EZnJlZQAOFWFzeW5jaWZ5X3N0YXJ0X3Vud2luZAAZFGFzeW5jaWZ5X3N0b3BfdW53aW5kABoVYXN5bmNpZnlfc3RhcnRfcmV3aW5kABsUYXN5bmNpZnlfc3RvcF9yZXdpbmQAHBJhc3luY2lmeV9nZXRfc3RhdGUAHQqdWBrDAQEDfyMBQQJGBEAjAiMCKAIAQXxqNgIAIwIoAgAoAgAhAAsCfwJ/IwFBAkYEQCMCIwIoAgBBfGo2AgAjAigCACgCACECCyACRQtBASMBGwRAEBYhAUEAIwFBAUYNARogASEACyAAIwFBAkZyBEAgAkEBRkEBIwEbBEAgABAAQQEjAUEBRg0CGgsjAUUEQAALCw8LIQEjAigCACABNgIAIwIjAigCAEEEajYCACMCKAIAIAA2AgAjAiMCKAIAQQRqNgIAC8ICAgN/AX4jAUECRgRAIwIjAigCAEFsajYCACMCKAIAIgEoAgAhACABKAIEIQMgASkCDCEEIAEoAgghAQsCfyMBQQJGBEAjAiMCKAIA |
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
#!/bin/bash -e | |
rm -fr mumble-build-new | |
sudo apt-get install build-essential fakeroot devscripts quilt libprotobuf-dev libprotoc-dev libgrpc++-dev protobuf-compiler-grpc -y | |
sudo apt-get build-dep mumble-server -y | |
mkdir mumble-build-new | |
pushd mumble-build-new |
OlderNewer