This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import os | |
| from subprocess import call | |
| # get arguments to array | |
| args = sys.argv | |
| args.pop(0); | |
| # get list of files in directories |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ---------------------------- # | |
| # --- GENERAL ZSH SETTINGS --- # | |
| # ---------------------------- # | |
| ZSH=$HOME/.zsh # Path to zsh_cfg.sh | |
| ZSH_THEME="hGen" # chosen theme | |
| source $ZSH/zsh_cfg.sh # laod zsh config file | |
| # path settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import subprocess | |
| import urwid | |
| def filterNames(string): | |
| temp = string.lstrip().split(' ') | |
| return temp[0] | |
| def getAvailableNetworks(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ---------------------------- # | |
| # --- GENERAL ZSH SETTINGS --- # | |
| # ---------------------------- # | |
| ZSH=$HOME/.zsh # Path to zsh_cfg.sh | |
| ZSH_THEME="hGen" # chosen theme | |
| source $ZSH/zsh_cfg.sh # laod zsh config file | |
| # path settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %!TEX encoding = UTF-8 Unicode | |
| \documentclass[a4paper,parskip,DIV15]{scrartcl} | |
| \usepackage[utf8]{inputenc} | |
| % \usepackage[utf8x]{inputenc} | |
| \usepackage[ngerman]{babel} | |
| % pretty fonts | |
| \usepackage[T1]{fontenc} | |
| \usepackage[defaultsans, scale=0.9]{lato} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| { | |
| "class": "label_control", | |
| "color": [255, 255, 255], | |
| "shadow_color": [24, 24, 24], | |
| "shadow_offset": [0, -1] | |
| }, | |
| { | |
| "class": "button_control", | |
| "content_margin": [6, 5, 6, 6], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| std::string type2str(int type) { | |
| std::string r; | |
| uchar depth = type & CV_MAT_DEPTH_MASK; | |
| uchar chans = 1 + (type >> CV_CN_SHIFT); | |
| switch ( depth ) { | |
| case CV_8U: r = "8U"; break; | |
| case CV_8S: r = "8S"; break; | |
| case CV_16U: r = "16U"; break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cv::Point index2Coord(int index) | |
| { | |
| int x = index % width; | |
| int y = index / width; | |
| return cv::Point(x,y); | |
| } | |
| int coord2Index(int x, int y) | |
| { | |
| return x + width*y; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chmod 6555 $application | |
| sudo chown root $application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import numpy as np | |
| import cv2 as cv | |
| class Subimage: | |
| def __init__(self, TL, BR): | |
| self.tl = TL | |
| self.br = BR |
OlderNewer