This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# apt-cyg: install tool for cygwin similar to debian apt-get | |
# | |
# Copyright (C) 2005-9, Stephen Jungels | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. |
..* Download free developer edition of Weblogic 12c [wls1211_dev.zip] (http://www.oracle.com/technetwork/middleware/fusion-middleware/downloads/index.html)
..* Install Oracle Enterprise Pack for Eclipse using [eclipse market] (http://download.oracle.com/otn_software/oepe/kepler) place preferably
..*Install it through command line.
wls:install -DartifactLocation=~/java/wls1211_dev.zip && cd wls1220 && ./configure.sh
#### Execute cmd on remote windows machine using winexe utility.
winexe --user domain\user --password=password //remotehostip cmd.exe
If you get errors like ERRDOS:ERRnomem
1.) Update windows 7 registry.
#####winexe.reg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
### A script to call soap web service with client certificate. | |
# http://stackoverflow.com/questions/13688713/sslsocket-passphrase-password-in-python | |
# change pfx (windows, binary) to pem file. | |
# openssl pkcs12 -in file.pfx -out file.pem | |
import requests | |
import logging |
Windows/Azure CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/** | |
Demostrate a practical use case with Bluebird promise api. | |
Read a line delimited file and store into sqlite3 db. | |
Promise.promisifyAll - Converting synchromous api's to Async. | |
Promise.using and Promise.disposer - Resource managment. | |
Promise.map and Promise.spread - Leveraging arrays in promises. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ubuntu | |
MAINTAINER Dhval Mudawal | |
RUN apt-get update && apt-get --ignore-missing install -y \ | |
build-essential \ | |
lsof \ | |
git \ | |
wget \ | |
software-properties-common \ | |
&& apt-get clean |
OlderNewer