I hereby claim:
- I am spacecowb0y on github.
- I am dperalta (https://keybase.io/dperalta) on keybase.
- I have a public key whose fingerprint is 4A91 954D 326F 94BE 52CE 9175 23D5 A741 D524 373A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // 1. Go to https://twitter.com/following. | |
| // 2. Keep scrolling to the bottom repeatedly until all your followers are loaded. | |
| // 3. Run this in your console. | |
| [].slice.call(document.querySelectorAll('.unfollow-text')).forEach(function(button) { | |
| button.click(); | |
| }); |
| let UPTIMEROBOT_RSS; | |
| let HUE_HOST; | |
| let HUE_USER; | |
| let HUE_LIGHT_ID; | |
| let huejay = require('huejay'); | |
| let parser = require('rssparser'); | |
| let client = new huejay.Client({ | |
| host: HUE_HOST, |
| # lib/tasks/deploy.rake | |
| namespace :deploy do | |
| desc 'Deploy to staging environment' | |
| task :staging do | |
| exec 'mina deploy -f config/deploy/staging.rb' | |
| end | |
| end |
| 'use strict' | |
| const gulp = require('gulp') | |
| const config = require('../config') | |
| const $ = require('gulp-load-plugins')() | |
| const destination = config.theme.assets | |
| const sourceMappingURLCSSregExp = new RegExp('(.*?[/*]{2,}# sourceMappingURL=)(.*?)([/*]{2})', 'g') | |
| const sourceMappingURLCSSreplace = '$1$2$3' | |
| gulp.task('main:styles', () => { |
| const {send} = require('micro') | |
| const CDP = require('chrome-remote-interface') | |
| const file = require('fs') | |
| module.exports = async(req, res) => { | |
| // CLI Args | |
| var argv = require('url').parse(req.url, true).query | |
| var url = argv.url || 'https://www.google.com' | |
| var format = argv.format === 'jpeg' ? 'jpeg' : 'png' |
| import PouchDBChanges from 'react-pouchdb-changes' | |
| import React from 'react' | |
| export default class extends React.Component { | |
| state = { latestDoc: null } | |
| changeHandler = (change) => { | |
| this.setState({ latestDoc: change.doc }) | |
| } | |
| render () { |
| import { Component} from 'react' | |
| import { connect } from 'react-redux' | |
| // what this does is that it will read from the store and map whatever we tell it to a prop we say | |
| function mapStoreToProps (store) { | |
| return { | |
| posts: store.posts | |
| } | |
| } |