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
import praw | |
from sets import Set | |
reddit = praw.Reddit() | |
submissions = reddit.subreddit | |
users = Set() | |
for submission in reddit.subreddit('datasets').new(limit=1000): | |
submission.comments.replace_more(limit=1000) | |
for comment in submission.comments.list(): |
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
=GetDistance(CONCATENATE(SanitizeGeo(I2), ", ", J2, " ", K2), CONCATENATE(SanitizeGeo(M2), ", ", N2, " ", O2)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* | |
* Copyright 2014 Kevin Raoofi. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
build/ |
If you're on a Debian based installation, before you install rvm
, you need to
install a system Ruby and then install build-essentials.
So, to install some requirements, run:
# aptitude update
# aptitude upgrade
# aptitude install ruby build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
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
function Read-CVE() { | |
$file = "data.csv" | |
Import-Csv $file | ForEach-Object { | |
Write-Host "OR [CVE]='$($_."CVE #")'" | |
} | |
} | |
function ReDo-Dates() { | |
$file = "results.csv" | |
Import-Csv $file | ForEach-Object { |
NewerOlder