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
Intey / annotation tools stats
Created Sep 11, 2019
pyhton annotation tools
View annotation tools stats
https://github.com/Dumbris/trunklucator
https://github.com/KarchinLab/open-cravat
https://github.com/abreheret/PixelAnnotationTool
https://github.com/bernwang/latte *
https://github.com/bfortuner/labelml
https://github.com/chakki-works/doccano *
https://github.com/commaai/commacoloring *
https://github.com/dsgou/annotator
https://github.com/jiesutd/YEDDA
https://github.com/jveitchmichaelis/deeplabel
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
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
{
public:
@Intey
Intey / inotifywait.bash
Created Dec 11, 2016
wait file change and execute
View inotifywait.bash
#!/bin/bash
file=$1
shift
let changed=0
while [[ $changed -eq 0 ]]; do
inotifywait -e CLOSE_WRITE $file -qo /dev/null && changed=$?
echo "update with: $@"
$@
@Intey
Intey / road-to-web.markdown
Last active Jul 5, 2016
По просьбам, инфа за то, как прийти в веб, что читать и т.п.
View road-to-web.markdown

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

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

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

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

Обучалки

@Intey
Intey / Ls.sh
Created Oct 1, 2015
helpful shell command pipe
View Ls.sh
# 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
View fetchPacks.py
#!/bin/python3
import sys
import os
packs=[]
deps=[]
packs = sys.argv[1:]
if not packs:
View RemovableDevices.sh
# display type;path of removable devices(usb, cdrom etc.).
awk '{ if ($3 == 1) { print $2";"$1 }}' <(lsblk -p —output=NAME,TYPE,RM)
@Intey
Intey / CIFF.py
Last active Aug 29, 2015
crossplatform Include filenames fixer for C++ projects.
View CIFF.py
""" 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
matter.
Usage:
renamer.py DIRECTORY [--dry-run]
renamer.py (-h | --help)
Options:
You can’t perform that action at this time.