-
Edit your
/etc/apt/sources.list
:deb http://deb.versatica.com precise main
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
/* Exercise: Loops and Functions #43 */ | |
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
func Sqrt(x float64) float64 { | |
z := float64(2.) |
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/env pypy | |
import os | |
import subprocess | |
import sys | |
class Env(dict): | |
def __init__(self): | |
ALL_PLATFORMS=['darwin/amd64', 'linux/amd64', 'linux/386', 'linux/arm', 'freebsd/amd64', 'freebsd/386', 'windows/amd64', 'windows/386'] | |
envs = subprocess.check_output(['go', 'env']).strip() |
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 express = require('express'); | |
var app = express(); | |
app.configure(function () { | |
"use strict"; | |
app.use(express.logger('dev')); | |
app.use(express.static(__dirname + '/public')); | |
}); | |
app.use(function (req, res, next) { |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
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 <assert.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#if defined(__i386__) | |
static __inline__ unsigned long long rdtsc(void) | |
{ | |
unsigned long long int x; |
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
/* Anonymous | |
* | |
* How to use: sudo rm -rf / | |
* | |
* greetz: djrbliss, kad, Ac1dB1tch3z, nVidia! | |
* | |
* Only complete fix patch nvidia drivers and redefine | |
* IS_BLACKLISTED_REG_OFFSET: | |
#define IS_BLACKLISTED_REG_OFFSET(nv, offset, length) 1 |
I hereby claim:
- I am zyxar on github.
- I am matzoe (https://keybase.io/matzoe) on keybase.
- I have a public key whose fingerprint is 433F 3849 9B9E FECA 29E1 E8B4 CC55 042D E4A5 6CB1
To claim this, I am signing this object:
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 "FrameIO.h" | |
#include <stdexcept> | |
FrameIOContext::FrameIOContext(FILE* in) | |
: m_file{ in } | |
, m_inputCtx{ avformat_alloc_context() } | |
, m_outputCtx{ nullptr } | |
, m_ioCtx{ avio_alloc_context( | |
reinterpret_cast<unsigned char*>(av_malloc(BufferSize)), BufferSize, | |
0, m_file, &FrameIOContext::mem_read, nullptr, &FrameIOContext::mem_seek) } |
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
// Copyright 2016 Markus Tzoe | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
NewerOlder