Skip to content

Instantly share code, notes, and snippets.

View jgeewax's full-sized avatar
🤯
Learning

JJ Geewax jgeewax

🤯
Learning
View GitHub Profile
(master)jj@im-jj:~/demo$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#
nothing to commit (working directory clean)
(master)jj@im-jj:~/demo$ git branch feature1
(master)jj@im-jj:~/demo$ git reset --hard origin/master
HEAD is now at 4834481 Merge branch 'rc-1.0'
(master)jj@im-jj:~/demo$ git status
# On branch master
#if ($description == '' && $issue.getIssueType().getString('name') == 'Bug')
#set ($description = "Steps taken to produce this bug:\
\
\
Expected Results:\
\
\
Actual Results:\
\
\
jira@jira1:~$ cat ~jira/atlassian-jira/WEB-INF/classes/templates/jira/issue/field/description-edit.vm
#controlHeader ($action $field.id $i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters.get('noHeader'))
## setup some additional parameters
$!rendererParams.put("rows", "12")
$!rendererParams.put("wrap", "virtual")
## Add our default value
#if ($description == '' && $issue.getIssueType().getString('name') == 'Bug')
#set ($description = "Steps taken to produce this bug:\
$ make help
AppEngine make file. Options are:
test Runs the test suite
coverage Runs the test suite and prints a coverage report
deploy Deploys the current project to AppEngine
rollback Rolls back a unclosed update to the application
serve Runs the development web server
console Opens a development console to your remote application
(Only works if you've enabled the /remote_api URL)
curl -OL --silent http://github.com/jgeewax/appmake/raw/master/Makefile
$ make serve
$ python /usr/local/google_appengine/dev_appserver.py -a 0.0.0.0 -p 9091 --datastore_path=./datastore --disable_static_caching .
application: hellohelipad
version: 1
runtime: python
api_version: 1
handlers:
- url: /
script: hireforge/handlers/hellohelipad.py
$ curl -OL --silent http://github.com/jgeewax/appmake/raw/master/Makefile
$ make helipad-project name=hellohelipad
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
class MainPage(webapp.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello, webapp World!')
application = webapp.WSGIApplication([('/', MainPage)],
debug=True)