start new:
tmux
start new with session name:
tmux new -s myname
RewriteEngine On | |
RewriteRule ^\.htaccess$ - [F] | |
RewriteCond %{REQUEST_URI} ="" | |
RewriteRule ^.*$ /public/index.php [NC,L] | |
RewriteCond %{REQUEST_URI} !^/public/.*$ | |
RewriteRule ^(.*)$ /public/$1 | |
class ClassifiedForm(ModelForm): | |
class Meta: | |
model = Classified | |
fields = ['title', 'description', 'contact'] | |
def __init__(self, *args, **kwargs): | |
super(ClassifiedForm, self).__init__(*args, **kwargs) | |
self.helper = FormHelper() | |
self.helper.form_class = 'form-horizontal' | |
self.helper.form_method = 'post' |
val getUserById = | |
(apiOperation[User]("getUserById") | |
summary "Get a user by a given ID" | |
parameters pathParam[Int]("id").description("The id for the user to be retrieved")) | |
get("/:id", operation(getUserById)) { | |
val userID = params.getAs[Int]("id").getOrElse(halt(400)) | |
val userData = Users.findUserByID(userID) | |
userData match { |
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
\<CR>--- | |
\<CR>title: | |
\<CR>date: =strftime('%c') | |
\<CR>draft: true | |
\<CR>author: "Kwabena Aning" | |
\<CR>tags: [] | |
\<CR>--- |
Author: Chris Lattner