Skip to content

Instantly share code, notes, and snippets.

@hafizio
hafizio / data-mining-final-exam-zoo-dataset.ipynb
Created January 15, 2021 06:28
data-mining-final-exam-zoo-dataset.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

COUNT | LINE

   3 | DLB-e4r9eB-ZQGx1
   2 | DLB-01AbzY-O2OWn
   2 | DLB-02OkE2-GZOL9
   2 | DLB-0QD0JQ-pOgL5
   2 | DLB-0rBQPd-GQlLr
   2 | DLB-0wJ9rX-WZEDA
   2 | DLB-1wEDQb-yE9Pn

2 | DLB-1Y0Gop-wgbKr

DLB-DoDvRW-BE4B7
DLB-PrkVBa-6bODe
DLB-5JZYv3-ZpAxd
DLB-zAErLy-JeXwx
DLB-ybPGwA-5bZEz
DLB-XGMXPY-7QRkV
DLB-0QD0JQ-pOgL5
DLB-a5eOzM-dpAmw
DLB-VzVX58-6LQMq
DLB-7vkX7n-Jp4BV
@hafizio
hafizio / titanic_survival_prediction.ipynb
Created December 9, 2019 13:53
titanic_survival_prediction.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2019-10-21T04:17:49.814725+00:00 app[web.1]: {:message=>"Started GET \"/test-activities\"", :event=>{:http_request_received=>{:body=>nil, :content_length=>nil, :headers_json=>"{\"Version\":\"HTTP/1.0\",\"X_Forwarded_For\":\"42.190.22.195, 54.254.139.3, 10.102.191.252\",\"Host\":\"deals.vidi.asia\",\"Connection\":\"close\",\"X_Real_Ip\":\"42.190.22.195\",\"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3\",\"Upgrade_Insecure_Requests\":\"1\",\"User_Agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36\",\"Sec_Fetch_Mode\":\"same-origin\",\"Sec_Fetch_Site\":\"same-origin\",\"Accept_Encoding\":\"gzip, deflate, br\",\"Accept_Language\":\"en-GB,en-US;q=0.9,en;q=0.8,ms;q=0.7\",\"Cookie\":\"X-CDN-Geo-Country=MY; X-CDN-Geo-Country=MY; _gcl_au=1.1.2114249894.1570083700; MobileDetails=null; _smt_uid=5d96cac8.57082059; _jc_uid=5d96cac8.57082059; defaultLocale=en-g
@hafizio
hafizio / aloha_spot_booking_300_300.json
Created March 17, 2019 05:51
Spot booking canvas has been resized for easier scaling manipulation
{"version":"2.7.0","objects":[{"type":"group","version":"2.7.0","originX":"center","originY":"center","left":152.86,"top":84.76,"width":200,"height":100.5,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":10,"scaleX":0.48,"scaleY":0.48,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"rect","version":"2.7.0","originX":"center","originY":"center","left":0,"top":0,"width":200,"height":200,"fill":"#eef","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":10,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero"
@hafizio
hafizio / aloha.json
Created March 3, 2019 01:22
Aloha Spot Booking Template
{"objects":[{"type":"group","originX":"center","originY":"center","left":538,"top":289,"width":201,"height":100.5,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeLineJoin":"miter","strokeMiterLimit":10,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"rect","originX":"center","originY":"center","left":0,"top":0,"width":200,"height":200,"fill":"#eef","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeLineJoin":"miter","strokeMiterLimit":10,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":0,"ry":0},{"type":"text","originX":"c
@hafizio
hafizio / viator_failed_booking.json
Created October 2, 2018 09:53
viator_failed_booking.json
{
"errorType": null,
"success": true,
"extraInfo": {},
"errorMessage": null,
"vmid": "331004",
"errorName": null,
"totalCount": 1,
"errorCodes": [],
"dateStamp": "2018-10-01T22:11:24+0000",
@hafizio
hafizio / myr_checkout.json
Created October 1, 2018 11:56
myr_checkout.json
{
"checkoutshopperBaseUrl": "https://checkoutshopper-live.adyen.com/checkoutshopper/",
"disableRecurringDetailUrl": "https://checkoutshopper-live.adyen.com/checkoutshopper/services/PaymentInitiation/v1/disableRecurringDetail",
"generationtime": "2018-10-01T11:50:19Z",
"initiationUrl": "https://checkoutshopper-live.adyen.com/checkoutshopper/services/PaymentInitiation/v1/initiate",
"origin": "",
"payment": {
"amount": {
"currency": "MYR",
"value": 100
@hafizio
hafizio / idr_checkout.json
Created October 1, 2018 11:54
idr_checkout.json
{
"checkoutshopperBaseUrl": "https://checkoutshopper-live.adyen.com/checkoutshopper/",
"disableRecurringDetailUrl": "https://checkoutshopper-live.adyen.com/checkoutshopper/services/PaymentInitiation/v1/disableRecurringDetail",
"generationtime": "2018-10-01T11:41:44Z",
"initiationUrl": "https://checkoutshopper-live.adyen.com/checkoutshopper/services/PaymentInitiation/v1/initiate",
"payment": {
"amount": {
"currency": "IDR",
"value": 88500000
},