Skip to content

Instantly share code, notes, and snippets.

Avatar

Yevhenii Hrabliuk agesome

  • Ukraine, Odessa
View GitHub Profile
View repeater.qml
import QtQuick 2.3
Rectangle {
id: root
width: 360
height: 360
Component {
id: someComponent
Item {
View gist:9bf4cec0aee18fc6e27b
arstudio::ItemViewRenderer * ItemView::createRenderer() const
{
return new ItemViewRenderer;
}
=======
#ifndef ITEM_VIEW_RENDERER_H
#define ITEM_VIEW_RENDERER_H
View gist:6001823
import QtQuick 2.0
Item {
width: 720
height: 600
Rectangle {
width: 120
height: 600
color: palette.window
View vbe.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <math.h>
#include <lrmi.h>
#include <sys/ioctl.h>
#include <sys/io.h>
#include <sys/kd.h>
View vbe.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <math.h>
#include <lrmi.h>
#include <sys/ioctl.h>
#include <sys/io.h>
#include <sys/kd.h>
View vbe.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <math.h>
#include <lrmi.h>
#include <sys/ioctl.h>
#include <sys/io.h>
#include <sys/kd.h>
View realmode.S
.globl go_realmode
.org 0
ivt:
.skip 1024, 0
ivt_ptr:
.hword 1023
.int ivt
View Client.cs
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace client
{
class ProcessingServerClient
{
Socket io = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
View Server.cs
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Text.RegularExpressions;
namespace server
{
class ProcessingServer
{
View cw.s
.text
.global main
main:
push %rbp
mov %rsp, %rbp
call setup
movb $0xf0, color