This file contains hidden or 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
import os | |
from nltk.corpus import stopwords | |
sw = set(stopwords.words('english')) | |
f1 = "<<>>" | |
directory = "<<>>" | |
with open(f1, 'r') as file1: |
This file contains hidden or 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
A development paradigm driven by | |
- Why? | |
- What? | |
- How? | |
- When? | |
- Where? | |
- Who? | |
These questions can be applied at each phase; be it requirements gathering, design, development, testing. It compliments |
This file contains hidden or 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 python3 | |
''' | |
MIT License | |
Copyright (c) 2018 Paul Melnikow | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains hidden or 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 | |
#script to get all repositories under a user from github | |
#Usage: github.sh [username] | |
curl -u ${1} https://api.github.com/users/${1}/repos > repoinfo | |
for repo_name in $( grep -oE '\"name\": "[^"]*"' repoinfo | cut -f4 -d\") | |
do | |
if [[ -d "${repo_name}" ]]; then | |
pushd "${repo_name}" | |
git pull origin master |
This file contains hidden or 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 | |
#script to get all repositories under a user from bitbucket | |
#Usage: bitbucket.sh [username] | |
curl -u ${1} https://api.bitbucket.org/1.0/users/${1} > repoinfo | |
for repo_name in $( grep -oE '\"slug\": "[^"]*"' repoinfo | cut -f4 -d\") | |
do | |
if [[ -d "${repo_name}" ]]; then | |
pushd "${repo_name}" | |
git pull origin master |
- git clone git://git.pcp.io/pcp
- cd pcp/
- sudo apt-get install bison
- sudo apt-get install flex
- sudo apt-get install libmicrohttpd10 libmicrohttpd-dev
- ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --with-rcdir=/etc/init.d --with-webapi
- sudo apt-get install qt4-dev-tools
This file contains hidden or 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
import java.util.Random; | |
/** | |
* Created by sandeep on 7/16/14. | |
*/ | |
public class RandomTextGenerator { | |
public static String generateText(int length, char[] permissibleCharacters) { | |
Random rand = new Random(); |
NewerOlder