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 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
@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
@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 / 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')); }},
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 / .travis.linux.yml
Created Mar 21, 2017 — forked from chitoku-k/.travis.linux.yml
ChromeDriver on Travis CI
View .travis.linux.yml
os: linux
node_js: '7'
sudo: required
env: DISPLAY=':99.0'
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
@rahulmr
rahulmr / Jenkinsfile
Created Apr 25, 2017 — forked from chinshr/Jenkinsfile
Best of Jenkinsfile, a collection of useful workflow scripts ready to be copied into your Jenkinsfile on a per use basis.
View Jenkinsfile
#!groovy
# Best of Jenkinsfile
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins
node {
}
@rahulmr
rahulmr / browse.tpl
Created May 1, 2017 — forked from peterhellberg/browse.tpl
Code7 template used by the Caddy browse directive
View browse.tpl
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<link rel="stylesheet" href="http://c7.se/css/main.css">
<style>
body { font-family: 'Helvetica Neue', Sans-serif; }
#list {
width: 100%;
}
View appium_logs.log
[Appium] Welcome to Appium v1.6.4 (REV 9e4c8e6b084f4fdc8f000f09ab87b7ede8ac6723)
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] sessionOverride: true
[Appium] debugLogSpacing: true
[Appium] defaultCommandTimeout: 30000
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"","appiumVersion":"1.6.3","deviceName":"HUAWEI Y330-U01","platformName":"android","platformVersion":"4.2.2","app":"./app-country-qa-debug.apk","waitforTimeout":30000,"commandTimeout":30000,"androidDeviceReadyTimeout":60,"readyTimeout":120000,"launchTimeout":120000,"appPackage":"com.rau.rahuldroid.am","appActivity":"com.rau.rahuldroid.am.activity.LandingActivity","noReset":true,"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"j
You can’t perform that action at this time.