Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Rahul Raut rahulmr

🏠
Working from home
Block or report user

Report or block rahulmr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View do_user_script_odoo_nginx_docker_letsencrypt.sh
#!/bin/bash
apt-get -y install curl wget sudo
apt-get -y update
apt-get -y upgrade
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
@rahulmr
rahulmr / angular.page.js
Last active Nov 30, 2016 — forked from thiagofelix/angular.page.js
Protractor example suite using page objects
View angular.page.js
'use strict';
var AngularPage = function () {
browser.get('http://www.angularjs.org');
};
AngularPage.prototype = Object.create({}, {
todoText: { get: function () { return element(by.model('todoList.todoText')); }},
addButton: { get: function () { return element(by.css('[value="add"]')); }},
yourName: { get: function () { return element(by.model('yourName')); }},
@rahulmr
rahulmr / commands.md
Last active Aug 29, 2015
Shell scripts for qemu kvm
View commands.md

Install kvm qemu-utils qemu

apt-get install qemu-kvm qemu-utils qemu

To create image with qcow2 format

qemu-img create -f qcow2 win7x86.qcow2 20G

@rahulmr
rahulmr / SlipStreamVirtioDriversWindows10.md
Last active Nov 15, 2015
Slipstream virtio win drivers in Windows 8.1 Pro ISO
View SlipStreamVirtioDriversWindows10.md

Adding instructions for Windows 10 Ent version.

Slipstream of particular version can be done only using the same version of Windows. Say Windows 8.1 for Slip Streaming Windows 8.1 and so this applies to Windows 10 as well.

dism /Mount-Wim /WimFile:c:\iso\ms-iso\sources\install.wim /index:1 /MountDir:c:\iso\ms-mount  
dism /Image:c:\iso\ms-mount /Add-Driver /Driver:c:\iso\virtio-iso\Balloon\w8.1\amd64 /recurse  
dism /Image:c:\iso\ms-mount /Add-Driver /Driver:c:\iso\virtio-iso\NetKVM\w8.1\amd64 /recurse  

dism /Image:c:\iso\ms-mount /Add-Driver /Driver:c:\iso\virtio-iso\pvpanic\w8.1\amd64 /recurse
View boot.ipxe
#!ipxe
menu iPXE Installation for Ubuntu Trusty and Fedora
item ubuntui386 Ubuntu Trusty i386 Installation
item ubuntuamd64 Ubuntu Trusty x86_64 Installation
item fedora20i386 Fedora 20 i386 Installation
item fedora21server Fedora 21 x86_64 Server Installation
item --gap
item back Go To Main Menu
choose --timeout 20000 --default back target && goto ${target} || goto menu
You can’t perform that action at this time.