I hereby claim:
- I am jacobj on github.
- I am jacobj (https://keybase.io/jacobj) on keybase.
- I have a public key whose fingerprint is 09C5 5C3B 79F3 38A1 E534 142A B37B 7EBF FE55 F5F1
To claim this, I am signing this object:
<form method="post" action="/api/auth/login"> | |
<label for="id_username">Username</label> <input type="text" name="username" id="id_username"> | |
<label for="id_password">Password</label> <input type="text" name="password" id="id_password"> | |
<input type="submit" value="Login"> | |
</form> |
const AComponent = ({arg1, arg2, arg3}) => ( | |
<p>{arg1} {arg2} {arg3}</p> | |
) |
#!/bin/bash | |
INSTALLED=$(brew list | grep ghc) | |
if ! [[ -z ${INSTALLED} ]]; then | |
brew uninstall ghc | |
fi | |
while true; do | |
brew install ghc |
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
let express = require('express'); | |
let bodyParser = require('body-parser'); | |
let path = require('path'); | |
let app = express(); | |
let publicDir = '/public'; | |
let port = 8080; | |
app.use(bodyParser.json()); |
'use strict'; | |
let express = require('express'), | |
bodyParser = require('bodyParser'), | |
path = require('path'), | |
morgan = require('morgan'), | |
app = express(), | |
hostname = '127.0.0.1', | |
port = 8080, | |
publicDir = '/public'; |
db.getCollection('posts') | |
.find({}) | |
.forEach(function(myDoc) { | |
myDoc.categories.forEach(function(category) { | |
var cursor = db.getCollection('postcategories') | |
.find({"_id":category}); | |
if (!cursor.hasNext()) { | |
printjsononeline(category); | |
var cursor2 = db.getCollection('posts').find({categories: { $in: [category] }}) | |
while ( cursor2.hasNext() ) { |
function compareSemver(ver1, ver2) { | |
ver1 = ver1.split('.'); | |
ver2 = ver2.split('.'); | |
for (var i = 0; i < 3; i++) { | |
var nver1 = parseInt(ver1[i]); | |
var nver2 = parseInt(ver2[i]); | |
if (nver1 > nver2) | |
return 1; | |
if (nver1 < nver2) | |
return -1; |
Wow really cool for reall dudeeeee |
<section data-ng-controller="HomeController"> | |
<div class="jumbotron text-center hidden-xs"> | |
<div class="container text-center"> | |
<div class="row vertical-align"> | |
<div class="col-sm-3"> | |
<img class="img-responsive center-block" src="modules/core/img/brand/logo.png" | |
height="220" /> | |
</div> | |
<div class="col-sm-6"> | |
<p> |