Skip to content

Instantly share code, notes, and snippets.

🌏
Breaking the Internet

Damon Poole wyqydsyq

🌏
Breaking the Internet
  • Brisbane, Australia
Block or report user

Report or block wyqydsyq

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
View config.fish
set -x TERM xterm-256color
set -gx PATH ~/.local/bin/ $PATH
set -gx VISUAL code --wait
set -gx EDITOR $VISUAL
set -U fish_prompt_pwd_dir_length 0
@wyqydsyq
wyqydsyq / users.ts
Created Jul 30, 2017
Standalone Waterline Koa Handler
View users.ts
import * as R from 'ramda'
const update = (context, query = {}, data = {}) => new Promise((res, rej) => {
context._waterline
.collections
.users
.update(query, data)
.exec((error, result) => {
if (error) {
return rej(error)
View hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 16,
// font family with optional fallbacks
@wyqydsyq
wyqydsyq / tump.txt
Created Mar 23, 2017
dota2 steam dump
View tump.txt
Running Steam on opensuse tumbleweed 20170213 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
Installing breakpad exception handler for appid(steam)/version(1490127986)
View login.ts
import Auth0Lock from 'auth0-lock'
import { Observable } from 'rxjs'
import { push } from 'react-router-redux'
import { error as logError } from '../../util/logger'
import {
types as userTypes,
actions as userActions
} from '../actions/user'
View test.tsx
import * as React from 'react'
import * as enzyme from 'enzyme'
import * as sinon from 'sinon'
import * as dom from 'jsdom'
import getMuiTheme from 'material-ui/styles/getMuiTheme'
import MyDialog from './MyDialog'
global['document'] = dom.jsdom('<html></html>')
@wyqydsyq
wyqydsyq / .tmux.conf
Last active Jun 19, 2017
My Tmux Config
View .tmux.conf
run-shell "powerline-daemon -q"
source "/usr/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-option -g renumber-windows on
set-option -g history-limit 9001
set -g base-index 1
set -g mouse on
View client.ts
import Cycle from '@cycle/xstream-run'
import { makeDOMDriver } from '@cycle/dom'
import { timeDriver } from '@cycle/time'
const { rerunner, restartable } = require('cycle-restart')
import Main from './main'
const getMain = () => require('./main').default
const getDrivers = () => ({
View render.js
// assuming your render component recieves a stream called selectedTargets$ that emits an object of the source/target languages you're translating
const vtree$ = sources.translate$.debug().map(translation =>
div('#registrationScreeenPage.panel.contentTop.active', [
div(translation('foo'))
]);
);
You can’t perform that action at this time.