Skip to content

Instantly share code, notes, and snippets.

@Mitko-Kerezov
Mitko-Kerezov / .gitconfig
Created October 8, 2015 14:06
Global git config aliases
[core]
longpaths = true
autocrlf = true
excludesfile = c:/Users/bektchiev/.gitignore_global
editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -nosession -noPlugin
[branch]
autosetuprebase = always
[push]
default = current
///<reference path="../.d.ts"/>
"use strict";
var os_1 = require("os");
var semver = require("semver");
var path = require("path");
var clui = require("clui");
var DoctorService = (function () {
function DoctorService($analyticsService, $androidToolsInfo, $hostInfo, $logger, $progressIndicator, $sysInfo, $childProcess, $config, $npm, $opener, $prompter, $fs) {
this.$analyticsService = $analyticsService;
this.$androidToolsInfo = $androidToolsInfo;
@Mitko-Kerezov
Mitko-Kerezov / tests.py
Created April 14, 2016 16:05
Unit tests for FMI's Python course's fourth challenge. Original tests from @alexnad can be found at https://gist.github.com/alexnad/b71515e82d175b39b325
# Original from @alexnad here https://gist.github.com/alexnad/b71515e82d175b39b325
import unittest
from os import path, makedirs
import solution
import shutil
CLASSES_FILE = """
[alias]
dw = diff -w
co = checkout
st = status
br = branch
pish = push
cob = checkout -b
bclean = "!f() { git branch --merged ${1-origin/master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f"
l = log --pretty=oneline --abbrev-commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(cyan)%an%Creset' --abbrev-commit --date=relative
@Mitko-Kerezov
Mitko-Kerezov / log.log
Created March 28, 2019 17:27
pip install with cuda output
Processing /home/kerezov/everything/newmasters/bert/apex
Running setup.py (path:/tmp/pip-oxtfvsds-build/setup.py) egg_info for package from file:///home/kerezov/everything/newmasters/bert/apex
Running command python setup.py egg_info
torch.__version__ = 1.0.1.post2
running egg_info
creating pip-egg-info/apex.egg-info
writing pip-egg-info/apex.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/apex.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/apex.egg-info/top_level.txt
writing manifest file 'pip-egg-info/apex.egg-info/SOURCES.txt'
@Mitko-Kerezov
Mitko-Kerezov / log.log
Created March 28, 2019 19:05
pip install with cuda commented out line 73
Processing /home/kerezov/everything/newmasters/bert/apex
Running setup.py (path:/tmp/pip-prl51dex-build/setup.py) egg_info for package from file:///home/kerezov/everything/newmasters/bert/apex
Running command python setup.py egg_info
torch.__version__ = 1.0.1.post2
running egg_info
creating pip-egg-info/apex.egg-info
writing pip-egg-info/apex.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/apex.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/apex.egg-info/top_level.txt
writing manifest file 'pip-egg-info/apex.egg-info/SOURCES.txt'
@Mitko-Kerezov
Mitko-Kerezov / log.log
Created March 29, 2019 08:13
pip install with cuda with gcc 5.5
Processing /home/kerezov/everything/newmasters/bert/apex
Running setup.py (path:/tmp/pip-6qg33by1-build/setup.py) egg_info for package from file:///home/kerezov/everything/newmasters/bert/apex
Running command python setup.py egg_info
torch.__version__ = 1.0.1.post2
running egg_info
creating pip-egg-info/apex.egg-info
writing pip-egg-info/apex.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/apex.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/apex.egg-info/top_level.txt
writing manifest file 'pip-egg-info/apex.egg-info/SOURCES.txt'