Skip to content

Instantly share code, notes, and snippets.

View NeilHanlon's full-sized avatar

Neil Hanlon NeilHanlon

View GitHub Profile
The following packages will be REMOVED:
xserver-xorg-input-all xserver-xorg-input-vmmouse
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial main
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main
Required lock is already taken by other running tasks.
Please inspect their state, fix their errors and resume them.
Required lock: read
Conflicts with tasks:
Error: Package: subscription-manager-1.17.6-1.el6.x86_64 (dgoodwin-subscription-manager)
Requires: python-rhsm >= 1.17.0
Available: python-rhsm-1.8.0-2.pulp.el6.x86_64 (katello-pulp)
python-rhsm = 1.8.0-2.pulp.el6
[root@ ~]# yum whatprovides *\subscription-manager
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
epel/metalink | 13 kB 00:00
* epel: mirror.metrocast.net
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.8 MB 00:00
foreman | 2.9 kB 00:00
foreman-plugins | 2.9 kB 00:00
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
int main ( int argc, char *argv[]) {
int i;
int rr;
int infile, outfile, filesize;
$qtVer = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall |
Get-ItemProperty |
Where-Object {$_.DisplayName -match "quicktime" } |
Select-Object -Property DisplayName, UninstallString
ForEach ($ver in $qtVer) {
If ($ver.UninstallString) {
$uninst = $ver.UninstallString
import rethinkdb as r
import pprint
conn = r.connect()
test = r.db('test').table("test2")
ins = []
for i in xrange(1,501):
ins.append({"t": i, "dateCreated": r.now().add(i*2)})
Apr 7 01:38:06 <redacted> kernel: megaraid_sas: Iop2SysDoorbellIntfor scsi0
Apr 7 01:38:06 <redacted> kernel: megaraid_sas: Iop2SysDoorbellIntfor scsi0
Apr 7 01:38:07 <redacted> kernel: megasas: Found FW in FAULT state, will reset adapter scsi0.
Apr 7 01:38:07 <redacted> kernel: megasas: Found FW in FAULT state, will reset adapter scsi0.
Apr 7 01:38:07 <redacted> kernel: megaraid_sas: resetting fusion adapter scsi0.
Apr 7 01:38:07 <redacted> kernel: megaraid_sas: resetting fusion adapter scsi0.
Apr 7 01:38:15 <redacted> kernel: megasas: Waiting for FW to come to ready state
Apr 7 01:38:15 <redacted> kernel: megasas: Waiting for FW to come to ready state
Apr 7 01:38:21 <redacted> kernel: megasas: FW now in Ready state
Apr 7 01:38:21 <redacted> kernel: megasas: FW now in Ready state
#!/bin/bash
CRONTAB='/etc/crontab'
CRONDIR='/etc/cron.d'
tab=$(echo -en "\t")
function clean_cron_lines() {
while read line ; do
echo "${line}" |