Prompt: Write a Vue component that displays the most popular repositories from Github
Here is an example of a Vue component that displays the most popular repositories from Github:
<template>
<div>
<h1>Popular Github Repositories</h1>
package main | |
import ( | |
"fmt" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
) | |
func main() { |
Prompt: Write a Vue component that displays the most popular repositories from Github
Here is an example of a Vue component that displays the most popular repositories from Github:
<template>
<div>
<h1>Popular Github Repositories</h1>
const fs = require('fs'); | |
const { join } = require('path'); | |
const _ = require('lodash'); | |
function getAllDirectoriesNested(path, allDirectories) { | |
allDirectories = allDirectories || []; | |
let directories = fs.readdirSync(path) | |
.filter(file => { | |
return fs.statSync(join(path, file)).isDirectory(); |
<template | |
v-for="(slot, slot_name) in $slots" | |
:slot="slot_name"> | |
<slot :name="slot_name"></slot> | |
</template> | |
<template | |
v-for="(slot, slot_name) in $scopedSlots" | |
:slot="slot_name" | |
slot-scope="props"> |
Hey y'all! Let's do a Southeast PHP Wurstcon! It's happening on Friday, after the after-party (exact time TBD). | |
The restaurant, Bavarian Bierhaus, is located in the mall next to the Grand Ole Opry: | |
https://goo.gl/maps/qnrPjuBZHXF2 | |
Let me know if you'd like to attend or if you have thoughts on the schedule below! |
FFFCCCGGMMMHHHHHHHHBNNNNJJIISSSSLLLLLLLLJBBBBRRRRCCCZZZZZEEEJJJJJMMMMMMRRFFFFQQQNIIMMMMMZZZZEEAAIIIADDSSSSSYYYQQKKKKKKKKKNNNNCCCCCXSSSSSSSSSSSSSSCCCVVAAAAAABZZZZDDDDDDDDDDDDDDHHHBBBBBUUUUAAACCCCTTVVVVUUGGCCCCCCCCCCIIOOOOEEERRRRRRRRRRRRRSNNWWWGGGKKKKHHHVVVBBFFFFCCCIIIIFFFFFFFZZZRZZZCCCCCCCCCCCCCCCCCCNNNNCCCCCVFFFFFFNNNNNNNNNNNNTTTTXXXXFFFFFFFAASSSSSSSSSNNNNNNNYYRRHHHKKKKKKATTTTXXBBBBBBBFFFMMMMMMMMUUUUUZZZGRRXEEEAJJUUUUUUWAAGVVVVVVVVVVVVVVUUUUUUUUKWRGGGGGGGDAAAAAAAAAAAAEEEEEEEQQQQQQQQQQQBBBBBFFFSAAAAAAAXXXXXXXPPPPPPPWWWWWWWNNPWWGGVVVVTYYYYYYYYYYYYRRRRRRFFFFHTDRRRDDDDHBBBBBBBBSXXXXXXXXXXXXXXFFFFFIIJLLLLLLLLLQQQQVVVVGCCCCCCCCCCCCCCPPPPPPJJNNNNCCCCCRRLLMMUFSSSPPPPPSSSSSSSSSSSSSSFFFFWEEEEEEEEEEEEEEEEZZNNNMNNNNNNNNNMMMBBBBBLLLLSSMMMMMMMMMMMMMMUUUUUUUUUUUUWWWWWWWWWWWIIIOOOBCCRPPPPPZOZWPPPPPPPPIVVVDZZZZZZZIIIIDDDDDDDDDDDDDDDDDDDDDDLLLLLJNNNUUUUAAAFHHHHIIIIGGGVPPPPPPPLLAAYYYYYYYYYYYYYYYYYEEEEEEZZZGGGGRRRRRRRRRRNNNNNNNNNPYYEEXXXXXXXLHHHHBCCMRRRRRRRRRTTTTTTTPPPYYYDDDLLLNVVVVVVVVVVEHHHHHHHHHHHHHHHZWPIQQQQQQQQQJJJJJJJJJJJJ |
<v-server-table | |
:columns="columns" | |
:options="mergedOptions" | |
:name="tableName" | |
:ref="tableName"> | |
<template slot="beforeFilter"> | |
<slot name="beforeFilter"></slot> | |
</template> | |
<template slot="afterFilter"> |
In addition to normal conference discussion that happens on Twitter, I think that having a dedicated place for conference discussion (Slack, Discord, or something else) would be useful.
There are a few limitations with Twitter:
Here are the benefits of using a messaging app in addition to Twitter:
I hereby claim:
To claim this, I am signing this object:
/* | |
Ex: | |
stringifyQuery({foo: "bar", baz: ['a','b'], fizz: {foo: [1,2,3], bar: {bees: "knees"}}}); | |
-> ?foo=bar&baz[]=a&baz[]=b&fizz[foo][]=1&fizz[foo][]=2&fizz[foo][]=3&fizz[bar][bees]=knees | |
Square brackets will be URL encoded; I didn't do so in this example for readability. | |
*/ | |
function stringifyQuery (obj, parentName) { | |
const res = obj ? Object.keys(obj).map(key => { |