start new:
tmux
start new with session name:
tmux new -s myname
| #!/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' |
| #!/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 |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
WARNING: If you're reading this in 2021 or later, you're likely better served by reading:
(This gist was created in 2013 and targeted the legacy GOPATH mode.)
$ ssh -A vm
$ git config --global url."[email protected]:".insteadOf "https://github.com/"| function Invoke-Process | |
| { | |
| [OutputType([PSCustomObject])] | |
| [CmdletBinding()] | |
| param | |
| ( | |
| [Parameter(Mandatory = 0, Position = 0)] | |
| [string]$FileName = "PowerShell.exe", | |
| [Parameter(Mandatory = 0, Position = 1)] |
| # If you want to give owner access to the whole server to a particular user account this is how | |
| exec sp_addrolemember 'db_owner', 'NT AUTHORITY\NETWORK SERVICE'; | |
| GO | |
| # If you want to idempotently ensure a particular database with name DatabaseName exists this is how | |
| IF NOT db_id('DatabaseName') IS NOT NULL BEGIN | |
| PRINT 'Creating database...' | |
| CREATE DATABASE [DatabaseName] | |
| PRINT 'Created database.' |
This script is no longer required with Docker for Mac which includes an option to run Docker at startup and doesn't use docker-machine to administer the local Docker engine.
docker-machine create --driver virtualbox default (this is the default with Docker toolkit).Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
Docker on BTRFS is very buggy and can result in a fully-unusable system, in that it will completely butcher the underlying BTRFS filesystem in such a way that it uses far more disk space than it needs and can get into a state where it cannot even delete any image, requiring one to take drastic actions up to and including reformatting the entire affected BTRFS root file system.
According to the official Docker documentation:
btrfs requires a dedicated block storage device such as a physical disk. This block device must be formatted for Btrfs and mounted into /var/lib/docker/.
In my experience, you will still run into issues even if you use a dedicated partition. No, it seems it requires a standalone