Skip to content

Instantly share code, notes, and snippets.

View anthonytranDev's full-sized avatar
🦀
Rustacian

Toni Tran anthonytranDev

🦀
Rustacian
View GitHub Profile
date -u +"%Y-%m-%dT%H:%M:%SZ"
@anthonytranDev
anthonytranDev / 1-fix-functions.js
Last active April 27, 2020 19:51
CYF Solutions: JS Core 1 - Week 2
// Fix Functions
// Aim: to understand the change code inside functions
//
// The below functions are syntactically correct but not outputting the right results.
// Look at the tests and see how you can fix them.
// 1) mood function does this return `"I am not happy"`
@anthonytranDev
anthonytranDev / .vimrc
Created February 18, 2020 20:44 — forked from exallium/.vimrc
My Current .vimrc and .zshrc
filetype plugin on
filetype plugin indent on
syntax on
set t_Co=256
set bg=dark
colorscheme solarized
set backspace=indent,eol,start
@anthonytranDev
anthonytranDev / fieldset-problem-css-display.md
Created January 24, 2020 14:49
\<fieldset\> doesn't render differently if 'display' is set

<fieldset> doesn't render differently if 'display' is set

Last updated: 24 Jan 2020

What is the problem?

The <fieldset> does not correctly utilise the CSS display property across all browsers.

What browser does this currently affect?

{
"nodes": [
{
"id": "Myriel",
"group": 1
},
{
"id": "Napoleon",
"group": 1
},
@anthonytranDev
anthonytranDev / react-quiz-answers-2019-summer.md
Last active June 1, 2019 22:00
React Quiz Answers Summer 2019

React Quiz

Given the following component:

import React from "react";

function PageNumber(props) {
  return <span>{props.number}</span>;
}
@anthonytranDev
anthonytranDev / android-accessibility-setup.md
Last active May 20, 2019 10:49
Android accessibility setup

Android test setup

This current setup is for at mac os, for both local and production environments.

1) Primary setup

This setup is required in preparation for either mobile/tablet website emulation or native testing.

Android Studios & Android SDK

@anthonytranDev
anthonytranDev / react-module-quiz.md
Last active May 18, 2019 12:05
React Module Quiz

React Quiz

Given the following component:

import React from 'react'

function PageNumber(props) {
  return <span>{props.number}</span>
}
@anthonytranDev
anthonytranDev / .gitignore
Created May 2, 2019 06:13
GitIgnore - Cypress Testing
// cypress testing
cypress/screenshotsFolder
cypress/videosFolder
@anthonytranDev
anthonytranDev / cypress.json
Created May 2, 2019 03:09
Cypress - Default cypress.json
{
"projectId": "jd90q7",
"baseUrl": "http://localhost:3000",
"port": 4444,
"env": {},
"reporter": "spec",
"watchForFileChanges": true,
"defaultCommandTimeout": 4000,
"execTimeout": 60000,
"taskTimeout": 60000,