This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
hackerrank
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Added hr script to bootstrap challenges
main
Titouan Rigoudy
11 years ago
parent
d4c6b19c75
commit
f2c49d81f2
2 changed files
with
26 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-0
hr
+13
-0
skel.py
+ 13
- 0
hr
View File
@ -0,0 +1,13 @@
#!/bin/bash
new() {
case "$1" in
"py")
mkdir "$2" && cp skel.py "$2/$2.py" ;;
esac
}
case "$1" in
"new")
new "${@:2}" ;;
esac
+ 13
- 0
skel.py
View File
@ -0,0 +1,13 @@
#!/usr/bin/python3
# < URL >
import
sys
# INSERT CODE
def
main
(
)
:
pass
if
__name__
==
'
__main__
'
:
main
(
)
Write
Preview
Loading…
Cancel
Save