Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 18th, 2018
83
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/env ruby
require 'fileutils'
include FileUtils
searchfor = ARGV[0]
until pwd == '/'
if Dir[searchfor].size != 0
puts pwd
exit
else
cd '..'
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Create Spline from code
C# | 3 min ago | 0.73 KB
Crypto Exchange Binance Secures Full VASP Lic...
PHP | 18 min ago | 0.08 KB
Untitled
C# | 25 min ago | 22.13 KB
Untitled
PHP | 32 min ago | 0.97 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.38 KB
cloneRecord
JavaScript | 1 hour ago | 0.83 KB
Untitled
PHP | 2 hours ago | 5.65 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!