Skip to content

Instantly share code, notes, and snippets.

@deen666
deen666 / dumbdns.py
Created December 14, 2021 06:21
Simple python3 dns server
#!/usr/bin/python3
#Customised dns server for python 3.2+ using dnslib
#Should be run as a daemon, either with the supplied daemon manager, or through
#initscripts/systemd
#
# Based off this:
# https://gist.github.com/andreif/6069838
#
#

Keybase proof

I hereby claim:

  • I am deen666 on github.
  • I am deen (https://keybase.io/deen) on keybase.
  • I have a public key ASCdPQdbL1cf0PY77zp72VYl54-uUYaIbj_PWuzEtTWo0wo

To claim this, I am signing this object:

input_features:
-
name: Pclass
type: category
-
name: Sex
type: category
-
name: Age
type: numerical
@deen666
deen666 / train.csv
Created May 23, 2020 14:53
The training set Titanic: Machine Learning from Disaster https://www.kaggle.com/c/titanic/data
PassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked
1 0 3 Braund, Mr. Owen Harris male 22 1 0 A/5 21171 7.25 S
2 1 1 Cumings, Mrs. John Bradley (Florence Briggs Thayer) female 38 1 0 PC 17599 71.2833 C85 C
3 1 3 Heikkinen, Miss. Laina female 26 0 0 STON/O2. 3101282 7.925 S
4 1 1 Futrelle, Mrs. Jacques Heath (Lily May Peel) female 35 1 0 113803 53.1 C123 S
5 0 3 Allen, Mr. William Henry male 35 0 0 373450 8.05 S
6 0 3 Moran, Mr. James male 0 0 330877 8.4583 Q
7 0 1 McCarthy, Mr. Timothy J male 54 0 0 17463 51.8625 E46 S
8 0 3 Palsson, Master. Gosta Leonard male 2 3 1 349909 21.075 S
9 1 3 Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg) female 27 0 2 347742 11.1333 S