- 1xx : Informational
- 2xx : Success
- 3xx : Redirection
- 4xx : Client Error
- 5xx : Server Error
This file contains hidden or 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
FROM ubuntu:18.10 | |
RUN apt-get update && apt-get upgrade -y \ | |
&& apt-get install -y --no-install-recommends apt-utils software-properties-common wget \ | |
&& apt-get install -y build-essential python3 python3-distutils \ | |
&& wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py \ | |
&& python3 get-pip.py --trusted-host pypi.org --trusted-host files.pythonhosted.org | |
#RUN apt-get install python3.6 python-pip | |
#RUN python -m pip install pip --upgrade | |
#RUN python -m pip install wheel | |
#RUN apt-get install -y python3-numpy |
This file contains hidden or 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 python | |
# | |
# Proof of Concept: UDP Hole Punching | |
# Two client connect to a server and get redirected to each other. | |
# | |
# This is the client. | |
# | |
# Koen Bollen <meneer koenbollen nl> | |
# 2010 GPL | |
# |
This file contains hidden or 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
# /etc/NetworkManager/conf.d/30-randomize-mac-address.conf | |
# REQUIRES NETWORK MANAGER >= 1.4.1 (Ubuntu Zesty and above) | |
# Thanks to https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/ | |
# This randomize your MAC address for *new* connections | |
# Be sure to change your existing (saved) connections in | |
# /etc/NetworkManager/system-connections/* |
This file contains hidden or 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
#FROM python:3.7 ## Works with either of the base images. Size is larger with Python due to there being python2.7 too | |
FROM ubuntu:18.10 | |
RUN apt-get update && apt-get upgrade -y | |
RUN apt-get install python3-dev python3-pip -y | |
RUN apt-get install python3-gi -y && \ | |
apt-get install gir1.2-gtk-3.0 -y && \ | |
apt-get install gir1.2-appindicator3-0.1 -y |
query {
user(login:"<any user name>"){ #Use "viewer" if you want to run it on your profile
repositories(orderBy: {field: STARGAZERS, direction: DESC}){
totalCount
}
followers{
totalCount
}
issues_sum:issues{
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 random | |
left = ["admiring", | |
"adoring", | |
"affectionate", | |
"agitated", | |
"amazing", | |
"angry", | |
"awesome", | |
"beautiful", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.