Skip to content

Instantly share code, notes, and snippets.

View vrutkovs's full-sized avatar
🙈
Not my cluster, not my FIRING

Vadim Rutkovsky vrutkovs

🙈
Not my cluster, not my FIRING
View GitHub Profile
python mock_jsons.py *[mock_jsons_py]
https://10.3.9.133:8443/oauth/authorize?client_id=openshift-challenging-client&response_type=token
----
You have reached this page by following a redirect Location header from an OAuth authorize request.
If a response_type=token parameter was passed to the /authorize endpoint, that requested an
"Implicit Grant" OAuth flow (see https://tools.ietf.org/html/rfc6749#section-4.2).
That flow requires the access token to be returned in the fragment portion of a redirect header.
{
"app-id": "org.gnome.Gitg",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "gitg",
"tags": ["nightly"],
"desktop-file-name-prefix": "(Nightly) ",
"finish-args": [
/* X11 + XShm access */
#!/usr/bin/python
import re
import sys
import time
import logging
import argparse
import subprocess
from dockerfile_parse import DockerfileParser
DOCKERFILE
[..]
RUN rm -f '/etc/yum.repos.d/buildroot.repo'
COMMIT ID
0e7adcf118e1e728c79fbdc33768f0b5a1e457b3
bash-4.3$ gdb --args tomahawk --testdb
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
# atomic_reactor.api Module
> Copyright (c) 2015 Red Hat, Inc
> All rights reserved.
>
> This software may be modified and distributed under the terms
> of the BSD license. See the LICENSE file for details.
>
>
> Python API for atomic_reactor. This is the official way of interacting with atomic_reactor.
2016-07-08 06:41:23,673 - atomic_reactor.plugin - DEBUG - running plugin 'squash'
2016-07-08 06:41:23,673 - atomic_reactor.plugin - INFO - running plugin instance with args: '{}'
2016-07-08 06:41:23,673 - atomic_reactor.plugins.squash - INFO - will squash from base-image: '885f7095eac8364d76d110f7a886974f12a4aeef7a03721bda49c8947f4992ce'
2016-07-08 06:41:23,674 - atomic_reactor.plugins.squash - DEBUG - Preparing Docker client...
2016-07-08 06:41:23,849 - atomic_reactor.plugins.squash - DEBUG - Docker client ready
2016-07-08 06:41:23,914 - atomic_reactor.plugins.squash - INFO - docker-squash version 1.0.0rc7, Docker ab77bde/1.9.1, API 1.21...
2016-07-08 06:41:23,915 - atomic_reactor.plugins.squash - INFO - Using v1 image format
2016-07-08 06:41:23,915 - atomic_reactor.plugins.squash - DEBUG - Using /tmp/docker-squash-aF2tbk as the temporary directory
2016-07-08 06:41:23,969 - atomic_reactor.plugins.squash - INFO - Old image has 42 layers
2016-07-08 06:41:23,970 - atomic_reactor.plugins.squash - DEBUG - Old lay
- hosts: all
gather_facts: false
tasks:
- raw: which python2 || yum install python2 python2-dnf
FROM fedora:26
LABEL name=vrutkovs/buildroot
LABEL version=1.0
LABEL release=1
LABEL com.redhat.component=osbs-fedora-buildroot
RUN dnf -y update --refresh && \
dnf -y install \
git \
#!/usr/bin/env python
from http.server import BaseHTTPRequestHandler, HTTPServer
import datetime
import sys
total_requests = 0
class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):