Skip to content

Instantly share code, notes, and snippets.

View s-kostyuk's full-sized avatar

Serhii Kostiuk s-kostyuk

View GitHub Profile
open("/opt/infinit/bin/tls/x86_64/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/tls/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/x86_64/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/../lib/tls/x86_64/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/../lib/tls/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/../lib/x86_64/libgap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/../lib/libgap.so", O_RDONLY|O_CLOEXEC) = 3
open("/opt/infinit/bin/libelle.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/infinit/bin/../lib/libelle.so", O_RDONLY|O_CLOEXEC) = 3
@s-kostyuk
s-kostyuk / How-to Arch Linux on Cubieboard 1.md
Created October 13, 2015 20:28 — forked from trixpan/How-to Arch Linux on Cubieboard 1.md
How to really Arch Linux on Cubieboard 1.... (for the Wiki entry is sort of short of some things)

Intro Notes

I wrote this guide because after getting my CubieBoard 1 I followed the Arch Linux ARM instructions and was suprised to be left with a system that albeit working, had missing RAM and no fbconsole at all.

This guide gets Arch Linux ARM into your 1GB Cubieboard 1 with the minimum functionality one would expect. It is not intended to be an all encompassing document, focusing instead on saving your time having to read through the forum to get functionality that otherwise every other Linux distribution brings out of box.

You will have to adjust these instructions if you have a 512M Cubieboard.

Step 1 - Format disk your SD Card

At a minimum, you need to create the first partition on an SD card to store the bootloader files and kernel uImage. For the root filesystem you can choose to use either a second partition on the SD card, USB or SATA. This guide however only covers SD. Replace instances of /dev/mmcblkX with the appropriate device name registered on your system.

# Maintainer: Sergey Kostyuk <ks.hot.ua@gmail.com>
pkgname=keeweb
pkgver=1.0.4
pkgrel=1
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
arch=('any')
url="https://github.com/antelle/keeweb"
license=('MIT')
depends=('')
#define _WIN32_WINNT 0x500
#include <windows.h>
#include <tchar.h>
TCHAR g_prog_dir[MAX_PATH*2];
DWORD g_prog_dir_len;
HHOOK g_khook;
HANDLE g_hEvent;
UINT g_key=VK_APPS;
# Maintainer: Radek Podgorny <radek@podgorny.cz>
pkgname=python-spidev
pkgver=3.2
pkgrel=1
pkgdesc="Python bindings for Linux SPI access through spidev"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/doceme/py-spidev"
license=('GPL')
depends=('python')
@s-kostyuk
s-kostyuk / mpd_cursong_full.json
Last active February 23, 2017 19:58
mpd currentsong examples
{
"album": "Live at the IBJ Kill The Holidays Party, 1/9/2017",
"albumartist": "Holmes",
"artist": "Holmes",
"date": "2017-02-23T14:18:34",
"file": "Holmes_-_01_-_Luxury_Sedan.mp3",
"genre": "Garage",
"id": "4",
"last-modified": "2017-02-23T19:50:15Z",
"pos": "3",
// ca_sem6_lab3.cpp: определяет точку входа для консольного приложения.
//
#include <stdio.h>
#include <stdint.h>
bool check_is_32() {
bool is_32;
_asm {
@s-kostyuk
s-kostyuk / activehdl.gitignore
Created May 27, 2017 18:53
Aldec ActiveHDL .gitignore file
# Aldec ActiveHDL .gitignore
# Sergey Kostyuk, 2017, Public Domain
*.asdb/
log/
Edfmap.ini
*.wsp
*.wsf
*.log
*.erf
import unittest
from functools import singledispatch
class TestClass1(object):
@property
def test_prop(self):
return "tc1"
@s-kostyuk
s-kostyuk / nrf24_demo_at89s52.c
Last active February 17, 2018 14:06
Demonstration of transreceiving with nRF24L01+ modules, AT89S52 and Arduino UNO. More info & video: https://www.youtube.com/watch?v=Uc9rZH_F2NI
/*********************************************************************
** Device: nRF24L01 **
** File: 89LV51.c **
** **
** Created by ElecFreaks Robi.W /10 June 2011 **
** **
** Description: **
** This file is a sample code for your reference. **
** **
** **