Skip to content

Instantly share code, notes, and snippets.

View Alikberov's full-sized avatar

Ruslan Alikberov

  • Uzbekistan, Tashkent
View GitHub Profile
@Alikberov
Alikberov / rk86-pobedit.json
Last active April 30, 2023 19:16
Paguo-86PK POBEDIT
{
"id": "rk86",
"created": "2023-04-30T19:13:00.282Z",
"format": "1",
"emulator": "rk86.ru",
"version": "1.8.2",
"start": "0x0000",
"end": "0xFFFF",
"boot": {
"keyboard": []
@Alikberov
Alikberov / webattery.htm
Last active March 13, 2023 19:00
Battery Status
<!DOCTYPE html>
<html lang='en'>
<head>
<meta name='author' content='Alikberov' />
<meta name='copyright' content='Alikberov' />
<meta name='creator' content='Alikberov' />
<meta name='description' content='Battery charging journal' />
<meta name='document-state' content='Static' />
<title>Battery Status</title>
<script>
@Alikberov
Alikberov / sn7497.html
Last active March 8, 2023 15:15
SN7497
<html>
<head>
<title>7497</title>
<script>
var hCnv;
var Chip97;
var set97;
class SN7497 {
ticks = 0;
@Alikberov
Alikberov / Fantaseur.html
Last active September 1, 2022 23:13
Fantaseur
<html>
<head>
<title>Фантазёр</title>
<meta http-equiv='refresh' content='500'>
<!--script src="https://cdn.jsdelivr.net/npm/three@0.143.0/build/three.min.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/three@0.136.0/build/three.min.js"></script>
<!--script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r70/three.min.js"></script>
<!--script src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script-->
<!--script src='https://threejs.org/examples/js/renderers/CanvasRenderer.js'></script>
<!--script src='https://threejs.org/build/three.min.js'></script>
@Alikberov
Alikberov / charts.html
Last active August 29, 2022 18:41
Just simple Class for drawing the charts
<html><head>
<script>
class Chart {
constructor(props) {
this.grid = {};
this.domElement = document.createElement("canvas");
this.domElement.width = 640;
this.domElement.height = 480;
this.context = this.domElement.getContext("2d");
return this.refresh(props);
@Alikberov
Alikberov / PixelArt.html
Last active August 23, 2022 00:13
PixelArt library
<html>
<head>
<title>Пиксель Арт</title>
<script type='text/javascript' src='https://unpkg.com/stats.js@1.0.0/src/Stats.js'></script>
<script>
// Prepare for ImageData-Operations
CanvasRenderingContext2D.prototype.lockImageData = function() {
const imageData = this.getImageData(0, 0, this.canvas.width, this.canvas.height);
imageData.context = this; // Основной родительский контекст
imageData.lastX = 0; // Используется для отрисовки линий: moveTo/lineTo
@Alikberov
Alikberov / floatings.html
Last active August 18, 2022 20:52
Floating Windows
<html>
<head>
<title>Заголовок закладки</title>
<script src="https://cdn.jsdelivr.net/npm/three@0.143.0/build/three.min.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/three@0.136.0/build/three.min.js"></script>
<!--script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r70/three.min.js"></script>
<!--script src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script-->
<!--script src='https://threejs.org/examples/js/renderers/CanvasRenderer.js'></script>
<!--script src='https://threejs.org/build/three.min.js'></script>
<script src='https://threejs.org/examples/js/renderers/Projector.js'></script>
@Alikberov
Alikberov / mmx-sim-css.asm
Created July 18, 2022 20:28
Probe Style for MMX-Simulator
::Style10
:root.Style10
{ /**********************************/
/*** Strange Style ***/
/**********************************/
/* Caption */
--caption :repeating-linear-gradient(45deg, blue, red 2px); /* Caption BackGround Color */
--caption-claw :none; /* Caption/Title Shadow Effect */
--caption-text :black; /* Caption/Title Text Color */
/* Button */
@Alikberov
Alikberov / x64-sim.html
Last active July 11, 2022 13:37
IA64-Instructions Simulator
<html>
<head>
<meta http-equiv=refresh content='1800'>
<title>It's Koyaanisqatsi, baby!</title>
<script>
var linkTo
= {
gist :{
host :"https://gist.githubusercontent.com/Alikberov",
list :"/66bb9698f58765031522c600dda55260/raw/koy-mac-catalogue.txt"
@Alikberov
Alikberov / mmx-sim.html
Last active June 7, 2023 18:18
MMX-Instructions Simulator
<html>
<head>
<meta http-equiv=refresh content='3600'>
<title>It's Koyaanisqatsi, baby!</title>
<!-----------------------------------------------------------------------------
BigInt.prototype.PADD = function(n, mask) {
return (((this & mask) + (n & mask))) ^ ((this ^ n) & ~mask);
}
BigInt.prototype.PADD = function(n, mask) {
var m = BigInt(this);