Skip to content

Instantly share code, notes, and snippets.

View madprogramer's full-sized avatar
🗳️
datahorde.org

Ahmet Akkoç madprogramer

🗳️
datahorde.org
View GitHub Profile
@lennier1
lennier1 / appstorescraper_knownids.py
Created May 23, 2022 16:50
Scrape apps from app store when you already know the IDs
from itunes_app_scraper.scraper import AppStoreScraper
from itunes_app_scraper.scraper import AppStoreCollections
import sys
import time
countryCode = "kr"
scraper = AppStoreScraper()
unprocessedAppIds = set() # identified but not queried ids kept here
Collecting polare
Downloading https://test-files.pythonhosted.org/packages/91/d4/46fb7fe866a31fdbc0a1abda2d4259ec87388f30a323aa34458b5c1821a4/polare-0.1.0-py3-none-any.whl (9.5 kB)
Collecting numpy
Downloading https://test-files.pythonhosted.org/packages/d5/80/b947c574d9732e39db59203f9aa35cb4d9a5dd8a0ea2328acb89cf10d6e3/numpy-1.9.3.zip (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 3.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done
Collecting scipy
Using cached scipy-0.1-py3-none-any.whl
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py) ... error
error: subprocess-exited-with-error
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
sepal length (cm) sepal width (cm) petal length (cm) petal width (cm) target
5.1 3.5 1.4 0.2 Iris-setosa
4.9 3.0 1.4 0.2 Iris-setosa
4.7 3.2 1.3 0.2 Iris-setosa
4.6 3.1 1.5 0.2 Iris-setosa
5.0 3.6 1.4 0.2 Iris-setosa
5.4 3.9 1.7 0.4 Iris-setosa
4.6 3.4 1.4 0.3 Iris-setosa
5.0 3.4 1.5 0.2 Iris-setosa
4.4 2.9 1.4 0.2 Iris-setosa
@dmontagu
dmontagu / app.py
Created February 18, 2020 00:28
FastAPI + dash
# Based on the example from https://www.activestate.com/blog/dash-vs-bokeh/
import dash
import dash_core_components as dcc
import dash_html_components as html
import pandas as pd
import plotly.graph_objs as obj
import uvicorn as uvicorn
from dash.dependencies import Input, Output
from fastapi import FastAPI
from starlette.middleware.wsgi import WSGIMiddleware
@livvy94
livvy94 / New Hack Blues.md
Last active December 7, 2022 03:53
This document contains every time I needed to ask for help in the slack chat, and what the solution was!

Question: Is there a way to do [something] in CCScript?

Answer: Check out the Command List! There's also this Syntax page too. And don't forget the CoilSnake Wiki!


Question: How do I change where Ness starts out from?

Answer: There's a command for just that! You'll probably also want to change the pointer of the initial string the game runs.

@tterb
tterb / markdown-github-buttons.md
Last active January 1, 2023 00:58
Add github buttons to your README.md

Watch on GitHub Star on GitHub Tweet

@abe312
abe312 / stdc++.h for mac users with clang
Created April 18, 2017 18:49
paste this in /usr/local/include/bits/
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
@ssaadh
ssaadh / wget
Created March 18, 2017 15:53 — forked from bueckl/wget
Wget examples
#Spider Websites with Wget – 20 Practical Examples
Wget is extremely powerful, but like with most other command line programs, the plethora of options it supports can be intimidating to new users. Thus what we have here are a collection of wget commands that you can use to accomplish common tasks from downloading single files to mirroring entire websites. It will help if you can read through the wget manual but for the busy souls, these commands are ready to execute.
1. Download a single file from the Internet
wget http://example.com/file.iso
2. Download a file but save it locally under a different name
wget ‐‐output-document=filename.html example.com