Skip to content

Instantly share code, notes, and snippets.

🦄
Building something!

Hum4n01d

🦄
Building something!
Block or report user

Report or block Hum4n01d

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Hum4n01d
Hum4n01d / votes.js
Created Aug 28, 2018
Repost Suggestions 8/27/18
View votes.js
[ { title: 'Heatwave by T.C. Music',
url: 'https://soundcloud.com/toxiccaves64/heatwave',
votes: 15,
message: 'https://soundcloud.com/toxiccaves64/heatwave',
suggester: 'JL Music#6361' },
{ title: 'the oxygen project — Retroflex by Frontier.',
url: 'https://soundcloud.com/wearefrontier/retroflex',
votes: 14,
message: 'https://soundcloud.com/wearefrontier/retroflex',
suggester: 'JL Music#6361' },
View pfas.json
[{"name":"Rhetoric 11","id":"955331"},{"name":"Appeals 11","id":"955338"},{"name":"Rhetorical Devices: Syntactical Terms","id":"955305"},{"name":"Rhetorical Devices: Figures of Speech","id":"955307"},{"name":"Rhetorical and Literary Devices","id":"955328"},{"name":"Audience and Purpose 11","id":"955311"},{"name":"Types of Evidence 11","id":"955321"},{"name":"Word Meanings and Nuances 11","id":"955344"},{"name":"Central Idea and Development","id":"955347"},{"name":"Tone 11","id":"955335"},{"name":"Argument Structure 11","id":"955310"},{"name":"Embedding Quotations 11","id":"955326"},{"name":"Logic","id":"955313"},{"name":"Conventions of English 11","id":"955348"},{"name":"Essay Structure 11","id":"955342"},{"name":"Sourcing","id":"955333"},{"name":"Reading Strategies 11","id":"955322"},{"name":"Sentence Types","id":"955303"},{"name":"Punctuation 11","id":"955324"},{"name":"Knowledge of Words 11","id":"955316"},{"name":"Rhetoric 11","id":"955331"},{"name":"Appeals 11","id":"955338"},{"name":"Rhetorical Devices:
View models.js
const bookshelf = require('../bookshelf')
const Definition = bookshelf.Model.extend({
tableName: 'definitions'
})
const Player = bookshelf.Model.extend({
tableName: 'players',
game: () => this.belongsTo(Game, 'game.id')
})
View products.json
[{"id":1,"name":"Lime Cordial - Roses","price":"$5.31"},
{"id":2,"name":"Roe - Lump Fish, Red","price":"$6.55"},
{"id":3,"name":"Hersey Shakes","price":"$2.89"},
{"id":4,"name":"V8 Splash Strawberry Kiwi","price":"$1.92"},
{"id":5,"name":"Cheese - Pont Couvert","price":"$6.83"},
{"id":6,"name":"Drambuie","price":"$4.24"},
{"id":7,"name":"Chinese Foods - Pepper Beef","price":"$8.39"},
{"id":8,"name":"Daikon Radish","price":"$1.36"},
{"id":9,"name":"Cheese - Grana Padano","price":"$9.06"},
{"id":10,"name":"Pork - Bacon, Sliced","price":"$7.48"},
View plphack.js
const options = {
allGreen: {
className: 'success',
iconName: 'check',
classNameToRemove: 'danger'
},
allRed: {
className: 'danger',
iconName: 'clear',
classNameToRemove: 'success'
View mustachio.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Hum4n01d
Hum4n01d / webpack.config.js
Created Jul 24, 2017
Webpack config (electron externals)
View webpack.config.js
const { resolve } = require('path')
const {HotModuleReplacementPlugin, NamedModulesPlugin, DefinePlugin} = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const isDev = process.env.NODE_ENV != 'production'
const PORT = 5000
const buildFolder = 'build'
@Hum4n01d
Hum4n01d / component.js
Last active Jul 11, 2017
Example component with styled-components and React
View component.js
const Banner = styled.div`
margin: 10px;
background-color: papayawhip;
color: palevioletred;
padding: 20px;
text-align: center;
`
const Greet = ({name}) => (
<Banner>Hello {name}!</Banner>
View raspberrysplit.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Hum4n01d
Hum4n01d / people.json
Created Jan 7, 2017
A dump of random people generated by Mockaroo
View people.json
[{
"id": 1,
"first_name": "Harold",
"last_name": "Little",
"email": "hlittle0@google.com.br",
"gender": "Male",
"ip_address": "55.31.224.116"
}, {
"id": 2,
"first_name": "Janice",
You can’t perform that action at this time.