Skip to content

Instantly share code, notes, and snippets.

🚀
Coding Awesome Stuff

Alicia Sykes Lissy93

🚀
Coding Awesome Stuff
Block or report user

Report or block Lissy93

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
@Lissy93
Lissy93 / json2array.js
Last active Nov 11, 2019
A simple function to convert any flat JSON object to an array of keys and values
View json2array.js
/**
* Copyright Alicia Sykes <https://aliciasykes.com>
* Licensed under MIT X11: https://git.io/Jew4i
*
* Converts a given JSON object into an array
* Where { key: 'Value' } --> ['key': 'value']
* @param json - the object to be converted
*/
const json2array = (json) => {
@Lissy93
Lissy93 / block-stack-verification.txt
Created Aug 17, 2019
Just verifying myself, not much to see here. If your interested, Blockstack is a decentralized computing network and app ecosystem that supposedly puts users in control of their identity and data. I thought it sounded like a pretty cool concept, so hope to see it used in the future
View block-stack-verification.txt
Verifying my Blockstack ID is secured with the address 1NWgGVfEt2cvAV8uAVrPnVJysmubfXskuS https://explorer.blockstack.org/address/1NWgGVfEt2cvAV8uAVrPnVJysmubfXskuS
@Lissy93
Lissy93 / key-mirror.ts
Last active Nov 11, 2019
Constructs an enumeration with keys equal to their value
View key-mirror.ts
/**
* Copyright Alicia Sykes <https://aliciasykes.com>
* Licensed under MIT X11: https://git.io/Jew4i
*
* Constructs an enumeration with keys equal to their value.
* @param {object} obj
* @return {object}
*/
export function keyMirror(originObj: object) {
if (typeof originObj !== 'object')
@Lissy93
Lissy93 / tfl-stations.json
Last active May 22, 2019
A list of all London Underground and DLR stations, along with their TLA codes 🚆
View tfl-stations.json
[
{
"tla":"ABR",
"name":"Abbey Road"
},
{
"tla":"ACT",
"name":"Acton Town"
},
{
View keybase.md

Keybase proof

I hereby claim:

  • I am lissy93 on github.
  • I am aliciasykes (https://keybase.io/aliciasykes) on keybase.
  • I have a public key ASBfI454lYDXt78y3STYeJn9rCbjj0rKEttcrS_Rg2qX9go

To claim this, I am signing this object:

@Lissy93
Lissy93 / The-Alicia-Sykes-Hub-Blog.md
Last active Jul 20, 2019
While working for B&Q, we took turns in writing a 1-2 pager about ourselves for the company weekly newsletter, (hence the DIY references). This is my entry. Warning: Contains a lot of unfunny jokes,
View The-Alicia-Sykes-Hub-Blog.md

The Alicia-Sykes Hub Blog

By day a coder, by night... also a coder

Me at Kingfisher

I joined KF, (as a dev) towards the end of 2016, and have been in Coach 2 (the greatest of a all feature-teams) for most of that time.


Me and DIY

@Lissy93
Lissy93 / sentiment-analysis-example.js
Created Aug 10, 2017
A quick example of calculating percentage positive or negativeness of a given sentence, using the npm sentiment-analysis module
View sentiment-analysis-example.js
// Include the sa module, needs installing first (npm install sentiment-analysis)
const sentimentAnalysis = require('sentiment-analysis');
/**
* Gets the sentiment of a sentence
* using the sentiment-analysis module
* formats it, and prints to console
*/
function displaySentiment(inputText, sentimentScore){
@Lissy93
Lissy93 / accessibility-steps.ts
Last active Nov 11, 2019
An automated testing script, that checks for accessibility issues. This file can just be dropped into your Protractor, Chai and Cucumber test environment.
View accessibility-steps.ts
// Copyright Alicia Sykes <https://aliciasykes.com>. Licensed under MIT X11: https://git.io/Jew4i
import { binding, when } from "cucumber-tsflow";
import { browser, by, element, protractor } from "protractor";
import { expect } from "chai";
import { Config } from "../utils/config";
import { DomUtil } from "../utils/domUtil";
@binding()
class AccessibilitySteps {
View LICENSE.MD

The MIT License (MIT)

Copyright (c) Alicia Sykes alicia@aliciasykes.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@Lissy93
Lissy93 / gulpfile.js
Last active Apr 2, 2018
An over-commented example of a Gulp setup for Express Node apps, with live reload from browser-sync and nodemon as well as a complete build setup using various modules
View gulpfile.js
/**
* Created by alicia.sykes on 17/07/2015.
* To run script run "gulp" in the command line
* To just watch files run "gulp watch"
* To just clean the public directory run "gulp clean"
*/
/* Include the necessary modules */
var gulp = require('gulp');
var gutil = require('gulp-util'); // For logging stats and warnings
You can’t perform that action at this time.