Skip to content

Instantly share code, notes, and snippets.

View toast254's full-sized avatar
🐧

toast254 toast254

🐧
View GitHub Profile
#
# smartcard_list.txt
# Copyright (C) 2002-2018 Ludovic Rousseau
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# -*- coding: utf-8 -*-
"""Generic linux daemon base class for python 3.x."""
import os
import sys
import time
import atexit
import signal
import logging
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import sys
import requests # http://docs.python-requests.org/en/master/
from bs4 import BeautifulSoup # http://www.crummy.com/software/BeautifulSoup/
# OpenNIC url
url = 'https://servers.opennicproject.org'
import java.util.*;
public class Fibonacci
{
private HashMap <Integer,Double> fibo_results;
private int number;
private boolean fast_mode;
private boolean cache_mode;