Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
| Lesson 1 - Iterations | |
| - BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/ | |
| Lesson 2 - Arrays | |
| - OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/ | |
| - CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/ | |
| Lesson 3 - Time Complexity | |
| - FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/ | |
| - PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/ |
| function randDarkColor() { | |
| var lum = -0.25; | |
| var hex = String('#' + Math.random().toString(16).slice(2, 8).toUpperCase()).replace(/[^0-9a-f]/gi, ''); | |
| if (hex.length < 6) { | |
| hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]; | |
| } | |
| var rgb = "#", | |
| c, i; | |
| for (i = 0; i < 3; i++) { | |
| c = parseInt(hex.substr(i * 2, 2), 16); |
| import {combineReducers} from 'redux'; | |
| import { LOGOUT } from '../common/constants'; | |
| import { UnauthorizedErrorReducer } from '../common/commonReducers'; | |
| import FirstReducer from './FirstReducer'; | |
| import SecondReducer from './SecondReducer'; | |
| import ThirdReducer from './ThirdReducer'; | |
| /* In order to reset all reducers back to their initial states when user logout, | |
| * rewrite rootReducer to assign 'undefined' to state when logout | |
| * |
| /*************** | |
| * pointers.js * | |
| *************** | |
| * | |
| * You! How are you still alive? | |
| * | |
| * Well, no matter. Good luck getting through this | |
| * maze of rooms - you'll never see me or the Algorithm again! | |
| */ |
| /* eslint-disable jsx-a11y/label-has-associated-control */ | |
| /* eslint-disable jsx-a11y/control-has-associated-label */ | |
| import React, { Component } from 'react'; | |
| import { connect } from 'react-redux'; | |
| import { Redirect } from 'react-router-dom'; | |
| import propTypes from 'prop-types'; | |
| import LoadingButton from './templates/Button'; | |
| import RadioInput from './templates/RadioInput'; | |
| import createTripFields from '../utils/createTripFields'; | |
| import { |
| // This test confirms if the feature that allows a user to add an article works | |
| describe('POST /article', () => { | |
| it('Create an article if given complete request by user', async () => { | |
| const res = await chai.request(server) | |
| .post('/api/v1/article') | |
| .field('username', 'rmwaura') | |
| .field('text', 'A very well written article') | |
| .field('date', '2019-10-31'); | |
| expect(res.status).to.equal(200); |
| #!/bin/sh | |
| # Use socat to proxy git through an HTTP CONNECT firewall. | |
| # Useful if you are trying to clone git:// from inside a company. | |
| # Requires that the proxy allows CONNECT to port 9418. | |
| # | |
| # Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run | |
| # chmod +x gitproxy | |
| # git config --global core.gitproxy gitproxy | |
| # | |
| # More details at http://tinyurl.com/8xvpny |
| <?php | |
| namespace App\Http; | |
| /** | |
| * Description of VideoStream | |
| * | |
| * @author Rana | |
| * @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
| */ |
Getting started:
Related tutorials: