This file contains hidden or 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
[ | |
{ | |
"rank": 1, | |
"title": "Like a Rolling Stone", | |
"artist": "Bob Dylan", | |
"album": "Highway 61 Revisited", | |
"year": "1965" | |
}, | |
{ | |
"rank": 2, |
This file contains hidden or 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
module.exports = ({ env }) => ({ | |
// ... | |
upload: { | |
config: { | |
provider: 'cloudinary', | |
providerOptions: { | |
cloud_name: env('CLOUDINARY_NAME'), | |
api_key: env('CLOUDINARY_KEY'), | |
api_secret: env('CLOUDINARY_SECRET'), | |
}, |
This file contains hidden or 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
var mspaint = { | |
sketchSelector: "", | |
paintSelector: "", | |
paintContext: null, | |
currentIcon: null, | |
canvas: null, | |
start: function(selector1, selector2) { | |
this.sketchSelector = selector1; | |
this.paintSelector = selector2; |
This file contains hidden or 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
const pubnub = new PubNub({ | |
publishKey: 'ENTER_YOUR_PUBLISH_KEY_HERE', | |
subscribeKey: 'ENTER_YOUR_SUBSCRIBE_KEY_HERE' | |
}); | |
let drawChannel = "draw"; | |
let chatChannel = "chat"; | |
let colorChannel = "color"; | |
/* Drawing Section */ |
This file contains hidden or 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
body, html { | |
margin: 0; | |
padding: 0; | |
height: 100%; } | |
div.about { | |
display: none; | |
} | |
/* The Modal (background) */ |
This file contains hidden or 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> | |
<title>_Beep Boop Beep_*printing.....*</title> | |
<meta name="description" content="" /> | |
<meta name="author" content="Daniel Madalitso Phiri" /> | |
<link rel="stylesheet" href="src/main.css" /> | |
<link rel="stylesheet" type="text/css" href="src/clippy.css" media="all" /> | |
</head> | |
<body> |

This file contains hidden or 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
import gql from 'graphql-tag' | |
export const ADD_VOTE_MUTATION = gql` | |
mutation updateVotes($id: Int!) { | |
update_characters(where: {id: {_eq: $id}}, | |
_inc: {votes: 1}) { | |
affected_rows | |
} | |
} | |
`; |
This file contains hidden or 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
// CommitChart.js | |
import { HorizontalBar, mixins } from 'vue-chartjs' | |
const { reactiveProp } = mixins | |
export default { | |
extends: HorizontalBar, | |
mixins: [reactiveProp], | |
props: { | |
chartData: { |
NewerOlder