Skip to content

Instantly share code, notes, and snippets.

View tahq69's full-sized avatar
👹
...

Igors Krasjukovs tahq69

👹
...
View GitHub Profile
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Utility functions for working with parallel workloads.
/// </summary>
public static class ParallelUtils
# cleaning up old remote git branches
> git remote prune origin

# To remove directories and ignored files
git clean -fXd
@tahq69
tahq69 / CodeMaid.config
Created May 19, 2018 16:55
Code Maid configuration
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SteveCadwallader.CodeMaid.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
</configSections>
<userSettings>
<SteveCadwallader.CodeMaid.Properties.Settings>
<setting name="Digging_SecondarySortTypeByName" serializeAs="String">
@tahq69
tahq69 / settings.json
Last active November 17, 2018 08:57
vscode settings for vuejs development
// Place your settings in this file to overwrite the default settings
{
"files.eol": "\n",
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "Monokai",
"explorer.openEditors.visible": 0,
"editor.renderWhitespace": "all",
"editor.tabSize": 2,
"editor.rulers": [80,100],
"window.zoomLevel": 1,
@tahq69
tahq69 / release.port.sh
Created October 25, 2017 17:27
Win - kill process taking TCP port
netstat -o -n -a | findstr 0.0:8085
# TCP 0.0.0.0:8085 0.0.0.0:0 LISTENING 10188
taskkill /F /PID 10188
open the command promt with administrator rights;
diskpart ->
list disk ->
select disk 1 -> (disk 1 is my usb drive , you need to select your usb drive , you will recognize the usb drive by its size)
clean ->
create partition primary ->
select partition 1 ->
active ->
format fs=ntfs quick ->
assign ->