Skip to content

Instantly share code, notes, and snippets.

@pariosa
pariosa / hyper.js
Last active December 5, 2018 21:19 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
// 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: {
verminal:{
fontFamily:'"Dosis",monospace',
fontSize: 14
},
@pariosa
pariosa / README.md
Created January 29, 2019 18:58 — forked from roachhd/README.md
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

@pariosa
pariosa / gist:d6cb387bf2d13fd978470a52da53125f
Created January 29, 2019 19:42 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@pariosa
pariosa / gist:4ee982d949d711f787b91f010e0ec797
Last active May 20, 2020 04:14
Node Lambda - execute validation query to see if user exists, if not, add that user
const mysql = require('mysql');
const config = {
host: "blahblah.amazonaws.com",
user: "default",
password: "default",
database: "whoknows",
port:"3306"
}
const db = mysql.createConnection(config);
app.post('/users', async function (req, res) {
import React, { Component } from 'react';
import { SelectBox, CheckBox, TextBox, DateBox, Button, ValidationSummary } from 'devextreme-react';
import {
Validator,
RequiredRule,
CompareRule,
EmailRule,
PatternRule,
StringLengthRule,
RangeRule,
import React from 'react';
import { shallow } from 'enzyme';
import CreateUserForm from './CreateUserForm';
import '../../jest.setup'
const createUserForm = shallow(<CreateUserForm />);
describe('CreateUserForm', ()=>{
it("renders correctly", () => {
import React from 'react';
import { shallow } from 'enzyme';
import EditUserForm from './EditUserForm';
import '../../jest.setup'
const editUserForm = shallow(<EditUserForm />);
describe('EditUserForm', ()=>{
import React, { Component } from 'react';
import { SelectBox, CheckBox, TextBox, DateBox, Button, ValidationSummary } from 'devextreme-react';
import {
Validator,
RequiredRule,
CompareRule,
EmailRule,
PatternRule,
StringLengthRule,
RangeRule,
call pathogen#infect()
syntax on
colorscheme seattle
filetype indent plugin on
@pariosa
pariosa / Container.js
Last active March 24, 2021 03:52
react table that manually assigns key-value pairs input as a json object in props to a two column table, allows disabling and show/hiding specific columns
import React from "react";
import TableGenerator from './TableGenerator';
function Container(props){
const testData = [
{
"Goal Name":"sitewide",
"Device":"Android",
"IP Address":"176.65.85.xx",