Skip to content

Instantly share code, notes, and snippets.

View feilipu's full-sized avatar
⌨️
Always, working on stuff...

Phillip Stevens feilipu

⌨️
Always, working on stuff...
View GitHub Profile
@feilipu
feilipu / float.py
Last active October 16, 2023 10:53 — forked from yu-hai-li/float.py
app_data_set = [['0.0', '2974676', '3.5'],
['0.0', '2161558', '4.5'],
['0.0', '2130805','4.5'],
['0.0', '1724546', '4.5'],
['0.0', '1126879', '4.0']]
for i in range(len(app_data_set)):
for j in range(len(app_data_set[i])):
string = app_data_set[i][j]
@feilipu
feilipu / float.py
Last active October 16, 2023 11:23 — forked from yu-hai-li/float.py
app_data_set = [['0.0', '2974676', '3.5'],
['0.0', '2161558', '4.5'],
['0.0', '2130805','4.5'],
['0.0', '1724546', '4.5'],
['0.0', '1126879', '4.0']]
for i, row in enumerate(app_data_set):
float_app_data_set = list(map(float, app_data_set[i]))
print(float_app_data_set)
@feilipu
feilipu / stuck.py
Created October 16, 2023 10:00 — forked from yu-hai-li/stuck.py
app_data_set = [['Facebook', 0.0, 'USD', 2974676, 3.5],
['Instagram', 0.0, 'USD', 2161558, 4.5],
['Clash of Clans', 0.0, 'USD', 2130805, 4.5],
['Temple Run', 0.0, 'USD', 1724546, 4.5],
['Pandora - Music & Radio', 0.0, 'USD', 1126879, 4.0]]
genre = ['social networking', 'photo & video', 'game', 'game', 'music']
for i, row in enumerate(app_data_set):
row.append(genre[i])
@feilipu
feilipu / xm29.asm
Created March 19, 2022 09:27
CP/M Xmodem V2.9 by Martin Eberhard - Modified for CP/M-IDE
;==============================================================
; CP/M Xmodem by Martin Eberhard
;==============================================================
;A command line and configuration file-driven program for
;transferring files to and from a CP/M system using the
;Xmodem protocol, supporting both the original checksum error
;checking, and also the newer Xmodem-CRC error checking
;
;This program has been tested at 115.2 K Baud, running on a
;4 MHz Z80 with 0-wait state memory, and performing direct I/O
### Keybase proof
I hereby claim:
* I am feilipu on github.
* I am feilipu (https://keybase.io/feilipu) on keybase.
* I have a public key whose fingerprint is 2229 98A3 DA90 6BFB 6FA5 08EE 7AA1 5498 591B C29B
To claim this, I am signing this object:
@feilipu
feilipu / Screenshot from 2018-05-23 01-00-22.png
Last active April 25, 2023 12:33 — forked from jblang/mandel.asm
Z80 Color Mandelbrot
Screenshot from 2018-05-23 01-00-22.png