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
@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.

@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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
@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