Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 20th, 2018
113
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
require "rubygems"
require "hpricot"
doc = Hpricot.XML(`tumblr read num=10`)
(doc/"post").each do |p|
puts `tumblr delete post-id=#{p.attributes['id']}`
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
HTML | 16 min ago | 0.32 KB
Untitled
C# | 22 min ago | 9.58 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 29 min ago | 0.38 KB
EasyButton Library rev_02
Arduino | 36 min ago | 1.90 KB
Button Handler rev_01
Arduino | 38 min ago | 2.14 KB
batstats.go
Go | 38 min ago | 2.37 KB
batstats.rb
Ruby | 48 min ago | 2.46 KB
batstats.js
JavaScript | 52 min ago | 1.71 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!