This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.flipagram.core.auth; | |
import org.joda.time.DateTime; | |
import com.fasterxml.jackson.annotation.JsonIgnore; | |
import com.flipagram.lib.joda.JodaUtil; | |
import com.flipagram.lib.model.AbstractModelObject; | |
import com.flipagram.lib.model.Fid; | |
import com.flipagram.lib.model.JsonBackedModelObject; | |
import com.flipagram.lib.util.StringUtil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.flipagram.lib.model; | |
import java.io.IOException; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.io.Serializable; | |
import javax.validation.constraints.NotNull; | |
import com.flipagram.lib.util.Base62; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cheerfulinc.flipagram.client.command; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brian@brian-linux:~/projects/pressed-python$ git pull | |
remote: Counting objects: 1969, done. | |
remote: Compressing objects: 100% (1708/1708), done. | |
remote: Total 1742 (delta 1287), reused 0 (delta 0) | |
Receiving objects: 100% (1742/1742), 713.63 KiB | 622 KiB/s, done. | |
Resolving deltas: 100% (1287/1287), completed with 169 local objects. | |
From git+ssh://pressedgit/pressed-python | |
b78346c..a24c152 master -> origin/master | |
* [new branch] checkout-views -> origin/checkout-views | |
* [new branch] mobile -> origin/mobile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subquery = query.subquery() | |
unnest_expr = expr.select(columns=[distinct(func.unnest(subquery.c.attribute_ids))], from_obj=subquery) | |
array_expr = expr.select(columns=[func.array(unnest_expr)]) | |
generates: | |
SELECT array((SELECT DISTINCT unnest(anon_1.attribute_ids) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mapping | |
================= | |
{ | |
"analysis": { | |
"analyzer": { | |
"username_index": { | |
"tokenizer": "keyword", |
NewerOlder