Skip to content

Instantly share code, notes, and snippets.

View codenpk's full-sized avatar
🎯
Focusing

Pavan Kumar N codenpk

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am codenpk on github.
  • I am simplypavi (https://keybase.io/simplypavi) on keybase.
  • I have a public key ASAjtSHIFjXE9GlsbfoOzSTH_sqb7qkNKCsAjkG0MaM-LAo

To claim this, I am signing this object:

@codenpk
codenpk / install-nexus.sh
Last active September 23, 2019 04:39 — forked from jmettes/install-nexus.sh
Script for installing Nexus
# configure HTTP proxy. REPLACE rhe-proxy.prod.lan with your domain name
export http_proxy=http://rhe-proxy.prod.lan:8080
# persistent environment variable. REPLACE rhe-proxy.prod.lan with your domain name
echo "export http_proxy=http://rhe-proxy.prod.lan:8080" > /etc/profile.d/nexus.sh
# create nexus system account
/usr/sbin/adduser -r nexus
@codenpk
codenpk / innobackupex-restore.sh
Created October 1, 2012 14:41 — forked from dalecaru/innobackupex-restore.sh
Scripts to create and restore full and incremental backups (for all databases on server) using innobackupex from Percona.
#!/bin/sh
#
# Script to prepare and restore full and incremental backups created with innobackupex-runner.
#
# This script is provided as-is; no liability can be accepted for use.
#
INNOBACKUPEX=innobackupex-1.5.1
INNOBACKUPEXFULL=/usr/bin/$INNOBACKUPEX
TMPFILE="/tmp/innobackupex-restore.$$.tmp"
@codenpk
codenpk / StripeTutorialPage.html
Created September 6, 2012 11:43 — forked from boucher/StripeTutorialPage.html
Stripe Tutorial Payment Form
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Stripe Getting Started Form</title>
<script type="text/javascript" src="https://js.stripe.com/v1/"></script>
<!-- jQuery is used only for this example; it isn't required to use Stripe -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
// this identifies your website in the createToken call below