This file has been truncated, but you can view the full file.
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
{"id":"anime_id","name":"name","genre":"genre","type":"type","episodes":"episodes","rating":"rating","members":"members"} | |
{"id":"32281","name":"Kimi no Na wa.","genre":"Drama","type":"Romance","episodes":"School","rating":"Supernatural","members":"Movie"} | |
{"id":"5114","name":"Fullmetal Alchemist: Brotherhood","genre":"Action","type":"Adventure","episodes":"Drama","rating":"Fantasy","members":"Magic"} | |
{"id":"28977","name":"Gintama°","genre":"Action","type":"Comedy","episodes":"Historical","rating":"Parody","members":"Samurai"} | |
{"id":"9253","name":"Steins;Gate","genre":"Sci-Fi","type":"Thriller","episodes":"TV","rating":"24","members":"9.17"} | |
{"id":"9969","name":"Gintama'","genre":"Action","type":"Comedy","episodes":"Historical","rating":"Parody","members":"Samurai"} | |
{"id":"32935","name":"Haikyuu!!: Karasuno Koukou VS Shiratorizawa Gakuen Koukou","genre":"Comedy","type":"Drama","episodes":"School","rating":"Shounen","members":"Sports"} | |
{"id":"11061","name":"Hunter x Hunter (2011)","genre":"Action","type":" |
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
// we want to filter out all dogs | |
var animals = [ | |
{ name: 'fluffykins', species: 'rabbit' }, | |
{ name: 'caro', species: 'dog' }, | |
{ name: 'jimmy', species: 'fish' }, | |
{ name: 'ursula', species: 'cat' }, | |
{ name: 'hamilton', species: 'dog' } | |
] |
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
// we want to filter out all names | |
var animals = [ | |
{ name: 'fluffykins', species: 'rabbit' }, | |
{ name: 'caro', species: 'dog' }, | |
{ name: 'jimmy', species: 'fish' }, | |
{ name: 'ursula', species: 'cat' }, | |
{ name: 'hamilton', species: 'dog' } | |
] |
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
// mission: summarize the amount | |
// reduce is multi tool on list transformation | |
var orders = [ | |
{amount: 250}, | |
{amount: 400}, | |
{amount: 100}, | |
{amount: 325} | |
] |
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
/* file we're processing | |
random name,waffle iron,80,2 | |
random name,blender,200,1 | |
random name,knife,10,4 | |
hulk hogan,waffle iron,80,1 | |
hulk hogan,blender,180,3 | |
hulk hogan,pot,90,3 | |
*/ | |
const fs = require('fs') |
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 ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
var ( |
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 ( | |
"bytes" | |
"io/ioutil" | |
"net/http" | |
"testing" | |
) | |
type MockHttpClient struct{} |
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 ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"github.com/gorilla/mux" | |
"github.com/gorilla/websocket" |
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
<html> | |
<head> | |
</head> | |
<body> | |
<h1>Long/lat:</h1> | |
<!-- 1 --> | |
<div id="long"></div> | |
<div id="lat"></div> | |
<script type="text/javascript"> | |
var long = document.getElementById("long"); |
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 ( | |
"bufio" | |
"encoding/gob" | |
"fmt" | |
"os" | |
"strings" | |
) |
OlderNewer