Skip to content

Instantly share code, notes, and snippets.

View bkocis's full-sized avatar
:octocat:
diving in time

Balazs Kocsis bkocis

:octocat:
diving in time
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
model,answer time,"token/sec",question,answer,Tokens in answer
deepseek-coder:6.7b-instruct-q2_K,46.41,3.77,Write me a simple flask application in python,"Sure! Here is a simple Flask application written in Python that returns
""Hello, World!"" when accessing the root URL (""/"").
Firstly, make sure to install Flask if you haven't done so yet. You can
use pip for this purpose:
```bash
pip install flask
```
Now let's create a simple application with one route:
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
model,load time,GPU memory [GB/6.7],answer time (prompt: “Write me a simple flask application in python” ,answer
deepseek-coder:1.3b-instruct-q2_K,11.74,1.6,14.72,"Sure! Here's an example of how could be done with Flask (a micro web framework for Python). This is very basic; it serves as the backend server and doesn't handle any front-end
logic.
```python
from flask import Flask, render_template, request
app = Flask(__name__)
@app.route('/')
def home():
<style>
@import url(../templates/bucket.css);
</style>
<div id="cesiumContainer" class="fullSize"></div>
<div id="loadingOverlay"><h1>Loading...</h1></div>
<div id="toolbar"></div>
@bkocis
bkocis / car.js
Created October 22, 2020 08:38
cesium test 01
var viewer = new Cesium.Viewer("cesiumContainer", {
shouldAnimate: true,
});
var statusDisplay = document.createElement("div");
var fuelDisplay = document.createElement("div");
var czmlPath = "../SampleData/";
var vehicleEntity;
// Add a blank CzmlDataSource to hold our multi-part entity/entities.
@bkocis
bkocis / custom-service.sh
Created September 23, 2020 12:41 — forked from phpenterprise/custom-service.sh
Configure a Python as a service in AWS EC2
#!/bin/bash
#
# custom-service Start up custom-service
#
# chkconfig: 2345 55 25
# description: the custom service (Python)
#
# processname: custom-service
# Source function library
@bkocis
bkocis / links-clouddevops.md
Last active January 12, 2021 13:10
links cloud devops stuff