Skip to content

Instantly share code, notes, and snippets.

Intey Intey

Block or report user

Report or block Intey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Intey / annotation tools stats
Created Sep 11, 2019
pyhton annotation tools
View annotation tools stats * * *
View main.c
int main(int argc, char** argv) {
char* s;
char b = '1';
char a = '2';
char e = '\0';
s = &b;
int i = 0;
while(*s++ && i++ < 5) {
*s = '9';
View main.c
#include <stdio.h> // scanf, printf
#include <math.h> // pow
int slen(char* s) {
int res = 0;
while(*s) { res++; s++; }
return res;
int fromBin(char* s) {
Intey / main.cpp
Created Oct 11, 2017
C++14 style
View main.cpp
#include <vector>
#include <functional>
#include <memory>
#include <iostream>
using namespace std;
class Unit
Intey / inotifywait.bash
Created Dec 11, 2016
wait file change and execute
View inotifywait.bash
let changed=0
while [[ $changed -eq 0 ]]; do
inotifywait -e CLOSE_WRITE $file -qo /dev/null && changed=$?
echo "update with: $@"
Intey / road-to-web.markdown
Last active Jul 5, 2016
По просьбам, инфа за то, как прийти в веб, что читать и т.п.
View road-to-web.markdown

Направления, ключи

JS, HTML, CSS - стандарт. Даже если идти в backend-разрабы - всеравно нужно.

Frontend - разработка морды. Дизайнер задает общий вид, рисует макеты, а фронтовик превращает это в рабочее приложение.

Backend - рабочая часть приложения. Мозги, тут бизнес-логика везде. Заодно и БД и API.


Intey /
Created Oct 1, 2015
helpful shell command pipe
# dirs that childs of some_dir and their childs.
find some_dir -mindepth 1 -maxdepth 2 -type d
# though pipe, send it to ls to display permissions, without read content of given dirs
xargs ls -ldF
import sys
import os
packs = sys.argv[1:]
if not packs:
# display type;path of removable devices(usb, cdrom etc.).
awk '{ if ($3 == 1) { print $2";"$1 }}' <(lsblk -p —output=NAME,TYPE,RM)
Intey /
Last active Aug 29, 2015
crossplatform Include filenames fixer for C++ projects.
""" Replace UPPERCASE chars in filenames to lowercase,
and (in future) fix include directives respectively to new filenames. It's
needed for cross-platform compilation C++ code: on Windows, you can not doubt
about headers name. But, when you try to build it on *nix system case does
Usage: DIRECTORY [--dry-run] (-h | --help)
You can’t perform that action at this time.