Skip to content

Instantly share code, notes, and snippets.

View predkambrij's full-sized avatar

Alojzij Blatnik predkambrij

View GitHub Profile
function Invoke-Process
{
[OutputType([PSCustomObject])]
[CmdletBinding()]
param
(
[Parameter(Mandatory = 0, Position = 0)]
[string]$FileName = "PowerShell.exe",
[Parameter(Mandatory = 0, Position = 1)]
@dmitshur
dmitshur / gist:6927554
Last active December 29, 2024 12:06
[Legacy GOPATH mode] How to `go get` private repos using SSH key auth instead of password auth.
@magnetikonline
magnetikonline / README.md
Last active October 29, 2025 21:22
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 2, 2025 11:50
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ppmotskula
ppmotskula / view64.sh
Created January 25, 2012 04:06
chroot setup script to allow running 32-bit vmware-view-client in 64-bit Oneiric
#!/bin/bash
echo "
Tech Preview of the VMware View Client with PCoIP for Linux --
chroot installer for 64-bit Ubuntu Oneiric
Copyright (c) 2012 Peeter P. Mõtsküla <[email protected]>
"
# set global variables
@dz0ny
dz0ny / tv_grab_sl
Created December 3, 2011 21:16
XMLTV Slovenia
#!/bin/bash
dflag=
vflag=
cflag=
if (( $# < 1 ))
then
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><tv source-data-url="http://tvprofil.net/xmltv/" source-info-name="Phazer XML servis 4.1" source-info-url="http://tvprofil.net">'
wget -qO - http://tvprofil.net/xmltv/data/kanal-a.si/weekly_kanal-a.si_tvprofil.net.xml | tail -n+2 | tail -n+2 | sed '$d'
wget -qO - http://tvprofil.net/xmltv/data/pop-tv.si/weekly_pop-tv.si_tvprofil.net.xml | tail -n+2 | tail -n+2 | sed '$d'
wget -qO - http://tvprofil.net/xmltv/data/slo1.si/weekly_slo1.si_tvprofil.net.xml | tail -n+2 | tail -n+2 | sed '$d'