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 main | |
import ( | |
"fmt" | |
"github.com/Shopify/sarama" | |
"html" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
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
class Song | |
name = ndb.StringProperty() | |
genres = ndb.StringProperty(repeated=True) | |
>>> CSV >>> | |
song1, genre1, genre2 | |
song2, genre3, genre4 | |
song3, genre1 |
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
class Song | |
name = ndb.StringProperty() | |
genres = ndb.StringProperty(repeated=True) | |
>>> CSV >>> | |
song1, genre1, genre2 | |
song2, genre3, genre4 | |
song3, genre1 |
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
$.ajax('api1').success(function(data) { | |
// insert into dom - data | |
}) | |
$.ajax('api2').success(function(data) { | |
// insert into dom - data2 | |
}) |
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
<div> | |
<h1>{{ headingText }}</h1> | |
<table> | |
<tr> | |
<td>{{ data.col1 }}</td> | |
</tr> | |
</table> | |
</div> |
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
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*"] | |
map <C-f> scrollPageDown | |
map <C-b> scrollPageUp | |
let searchalias y = "youtube" |
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
(ENV)cobra-~/sw/source/userapps/analyzer-web git:(analyzer-app-refactoring2) ✗: curl -c ~/cc.jar -v -H "Content-Type: application/json" -d '{"login":"admin","password":"admin"}' http://localhost:8080/api/auth/login | |
* Adding handle: conn: 0x7fdb13804000 | |
* Adding handle: send: 0 | |
* Adding handle: recv: 0 | |
* Curl_addHandleToPipeline: length: 1 | |
* - Conn 0 (0x7fdb13804000) send_pipe: 1, recv_pipe: 0 | |
* About to connect() to localhost port 8080 (#0) | |
* Trying ::1... | |
* Trying fe80::1... | |
* Trying 127.0.0.1... |