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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGBUS (0x7) at pc=0x00007f28dbbb1814, pid=1247, tid=0x00007f28dc733700 | |
# | |
# JRE version: (8.0_102-b14) (build ) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# C [libc.so.6+0x89814] __memset_sse2+0x54 | |
# |
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
--- | |
swagger: "2.0" | |
info: | |
description: "A simple API" | |
version: "1.0.0" | |
title: "A Service" | |
basePath: "/v1" | |
schemes: | |
- "https" | |
consumes: |
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/python2 | |
from __future__ import division | |
from datetime import date | |
import re | |
with open('/var/log/pacman.log') as f: | |
first = f.readline() | |
y, m, d = [int(c, 10) for c in first[1:11].split('-')] | |
days = (date.today() - date(y, m, d)).days |
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
import logging | |
from barbicanclient.common import auth | |
from barbicanclient import client | |
def verify(auth_url, username, api_key, password): | |
if not password or api_key: | |
raise ValueError('Password or api_key must be provided') | |
if password: |
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 <math.h> | |
int main() | |
{ | |
double x = 0.5; | |
printf("orig\tround\tfloor\tceil\n"); | |
printf("%.2f\t%.2f\t%.2f\t%.2f\n", x, round(x), floor(x), ceil(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
#!/usr/bin/python2 | |
import flask | |
app = flask.Flask(__name__) | |
@app.route('/') | |
def hello_world(): | |
r = flask.Response(status=304) | |
r.headers['foo'] = 'bar' | |
return r |
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/python3 | |
import sys | |
import re | |
import argparse | |
import itertools | |
import logging | |
import urllib.request | |
import bs4 | |
import irc.bot | |
import random |
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
# Maintainer: Rohit Manokaran <rohitm000@yahoo.co.in> | |
# Contributor: Pawel "l0ner" Soltys <pwslts@gmail.com> | |
# Contributor: Jan de Groot <jgc@archlinux.org> | |
# Contributor: Link Dupont <link@subpop.net> | |
# Contributor: Calvin Morisson <mutantturkey@gmail.com> | |
pkgname=hal | |
pkgver=0.5.14 | |
pkgrel=16 | |
pkgdesc="Hardware Abstraction Layer" |
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
# Contributor: Kambus | |
# Contributor: Mario Danic <mario.danic> | |
pkgname=bzr-fastimport | |
pkgver=0.13.0 | |
pkgrel=1 | |
pkgdesc="Bazaar Fast Import is a plugin providing fast loading of revision control data into Bazaar." | |
arch=(i686 x86_64) | |
url="https://launchpad.net/${pkgname}" | |
license=('GPLv2' 'MIT') |
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/sh | |
# | |
# gch - open the debian/changelog in sensible editor, appending | |
# a line showing the current files that have been modified | |
# | |
# Copyright (C) 2008-2010 Dustin Kirkland <kirkland@ubuntu.com> | |
# | |
# Authors: | |
# Dustin Kirkland <kirkland@ubuntu.com> | |
# |
NewerOlder