Skip to content

Instantly share code, notes, and snippets.

View oroce's full-sized avatar

Róbert Oroszi oroce

  • Budapest, Hungary
View GitHub Profile
function onport(){
lsof -n -i4TCP:$1 | grep LISTEN
}
function tmuxhelp() {
open "https://gist.github.com/henrik/1967800"
}
@oroce
oroce / package.json
Created September 4, 2018 11:29
reducer test
{
"scripts": "mocha -r should '*.spec.js'"
}
@oroce
oroce / action.js
Last active September 4, 2018 11:25
testing an action
export function simple(num) {
return {
type: 'add',
payload: {
num
}
};
}
export function withDispatch(num) {
<!DOCTYPE html><!--
about:version template page
--><html xmlns="http://www.w3.org/1999/xhtml" id="t" dir="ltr" lang="en" i18n-processed=""><head>
<meta charset="utf-8" />
<title>About Version</title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css" />
<link rel="stylesheet" href="chrome://version/about_version.css" />
npm i https://github.com/purposeindustries/yslow-nodejs
curl "https://www.webpagetest.org/export.php?test=170710_HJ_1AD8&run=2&cached=0&bodies=1&pretty=1" -o blog.intellyo.com.har
$(npm bin)/yslow-nodejs blog.intellyo.com.har
@oroce
oroce / esnextbin.md
Created April 25, 2017 13:28
esnextbin sketch
@oroce
oroce / .lintr
Last active April 10, 2017 20:42
linters: with_defaults(line_length_linter(120))
exclusions: list("lint.R")
@oroce
oroce / index.html
Last active February 28, 2017 12:51
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ESNextbin Sketch</title>
<!-- put additional styles and scripts here -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<!-- put markup and other contents here -->
@oroce
oroce / esnextbin.md
Last active November 22, 2016 20:05
esnextbin sketch
@oroce
oroce / esnextbin.md
Last active November 22, 2016 08:16
esnextbin sketch