Skip to content

Instantly share code, notes, and snippets.

View jerkovicl's full-sized avatar

Luka Jerković jerkovicl

View GitHub Profile
@jerkovicl
jerkovicl / UltimateListIds.md
Created February 1, 2021 14:27 — forked from LanceMcCarthy/UltimateListIds.md
List of Package Ids
Name Package Id Version Source
7Zip 7zip.7zip 19.0.0 winget
Altap Salamander salamander choco
Alt-Tab Terminator alt-tab-terminator choco
AutoHotkey Lexikos.AutoHotkey 1.1.33.02 winget
AutoHotkey Store Edition HaukeGtze.AutoHotkeypoweredbyweatherlights.com Latest msstore (via winget)
Carnac
@jerkovicl
jerkovicl / ohmyposhv3.json
Created February 1, 2021 12:09 — forked from shanselman/ohmyposhv3.json
My ohMyPoshv3 json
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@jerkovicl
jerkovicl / instructions.md
Created February 19, 2020 09:03 — forked from matthewjberger/instructions.md
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@jerkovicl
jerkovicl / downloadTerminalTheme.ps1
Created February 18, 2020 15:25
script to download iTerm2 Color Scheme for Windows Terminal
# List of themes here: https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/windowsterminal
$Theme = "ayu"
$path = "$Env:LocalAppData/packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/profiles.json"
$Conf = gc $path | ConvertFrom-Json
$Conf.schemes += irm https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/windowsterminal/$Theme.json
$Conf | ConvertTo-json -Depth 10 | Set-Content $path
Import-Module cd-extras
Import-Module posh-git
Import-Module oh-my-posh
Import-Module PowerTab -ErrorAction SilentlyContinue
Import-Module PSColor
Set-Theme paradox
$global:PSColor.File.Executable.Color = 'Blue'
# setting the default user removes the 'user@machine' designation at the beginning of the prompt
$DefaultUser = 'George'

How to get @DevBlackOps Terminal-Icons module working in PowerShell on Windows

Note: since version 0.1.1 of the module this now works in Windows PowerShell or PowerShell Core.

  1. Download and install this version of Literation Mono Nerd Font which has been specifically fixed to be recognised as monospace on Windows:

https://github.com/haasosaurus/nerd-fonts/blob/regen-mono-font-fix/patched-fonts/LiberationMono/complete/Literation%20Mono%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf

(see this issue for more info: ryanoasis/nerd-fonts#269)

{
"name": "vscode-workflow",
"version": "1.0.0",
"description": "Fullstack app to demonstrate end to end workflow of Angular and ASP Net Core app inside VS Code.",
"main": "index.js",
"keywords": [
"vscode",
"angular",
"aspnetcore",
".net",
@jerkovicl
jerkovicl / wikipy.py
Created October 7, 2019 16:33 — forked from powerexploit/wikipy.py
Wikipedia scraping with python
#!/usr/bin/python3
#Scraping wikipedia page according to your command line input
import sys
import requests
import bs4
RED = '\033[31m'
END = '\033[0m'
ascii_art = RED \
+ """
@jerkovicl
jerkovicl / proxmox.md
Last active September 22, 2019 14:28
proxmox stuff

PROXMOX setup

Enable copy paste for Proxmox linux vm from Windows host

  • install virt-viewer Windows installer - can be downloaded from virt-manager download page
  • download spice-guest-tools from here
  • install spice-vdagent on linux vm
    sudo apt install spice-vdagent
  • start spice-vdagent (check if spice-vdagentd sevice started aswell)
    sudo systemctl start spice-vdagent