You can't just follow the directions on the site, you have to do some mojo first.
sudo apt-get update
{ | |
"name": "some-name", | |
"productName": "The Product", | |
"version": "1.0.0", | |
"main": "src/main/main.ts", | |
"author": "Biscuits O'Shea", | |
"license": "PRIVATE", | |
"private": true, | |
"scripts": { | |
"build": "webpack --mode production --progress", |
program debt_prioritizer | |
implicit none | |
type debtor | |
character(len=:), allocatable :: name | |
integer :: debt | |
end type debtor | |
! Ugh! Global variables!? | |
! Originally, I was passing the "debtors" and "debtor_count" |
var transactions = [ | |
{ | |
"id": 1000, | |
"transactionDate": "2017-08-02", | |
"toFrom": "Uncle Buck's Insurance", | |
"type": "Withdrawal", | |
"category": "Insurance", | |
"rawAmount": -1200, | |
"cookedAmount": -1000, | |
"description": "Insurance for business" |
const fs = require('fs'); | |
const path = require('path'); | |
const chalk = require('chalk'); | |
const sh = require('shelljs'); | |
const _ = require('lodash'); | |
const sourcePath = path.resolve(process.cwd(), 'src'); | |
// This is the new /src/redux folder that gets created: | |
const reduxPath = path.resolve(sourcePath, 'redux'); |
describe('Component A', () => { | |
describe('Snapshot validation', () => { | |
it('matches its snapshot with valid props', () => { | |
const { wrapper } = setup(); | |
expect(wrapper).toMatchSnapshot(); | |
}); | |
}); | |
describe('Event validation', () => { | |
it('fires props.onClick when button is clicked', () => { |
const setup = (propOverrides, renderFn = shallow) => { | |
const props = { | |
propA: 'Some Value', | |
propB: false, | |
onClick: jest.fn(), | |
...propOverrides, | |
}; | |
const wrapper = renderFn(<AppComponent {...props} />); |
# You can also add these to your .bash_profile file, just make sure | |
# you update the versions of anything that doesn't match (i.e. emscripten | |
# is version 1.37.14, but it may be different for you). | |
export EM_CONFIG="$HOME/.emscripten" | |
export EMSDK="$HOME/Tooling/emsdk" | |
export EM_CONFIG="$HOME/.emscripten" | |
export EMSCRIPTEN="$HOME/Tooling/emsdk/emscripten/1.37.14" | |
export BINARYEN_ROOT="$HOME/Tooling/emsdk/clang/e1.37.14_64bit/binaryen" | |
export PATH="$PATH:$HOME/Tooling/emsdk:$HOME/Tooling/emsdk/emscripten/1.37.14:$HOME/Tooling/emsdk/node/4.1.1_64bit/bin:$HOME/Tooling/emsdk/clang/e1.37.14_64bit" |
# This is the version that came packaged with my version of CLion: | |
cmake_minimum_required(VERSION 3.7) | |
# I'm giving the project an arbitrary name for demonstration purposes, | |
# you can name it whatever you want: | |
project(example) | |
# Create a src directory at the root level of your project and add a | |
# file with whatever name you want (I used the project name for | |
# simplicity): |
#!/bin/bash | |
# | |
# Opens WebStorm from the command line using Git Bash for Windows. If you're | |
# working within the integrated terminal in WebStorm, this will open the file | |
# passed in using just the relative path. If the file specified doesn't exist, | |
# it creates it and opens it. Just copy wstorm() into wherever you keep your | |
# Bash aliases and make sure you change your Terminal path to Git Bash (see | |
# Notes section). | |
# | |
# ------ |
You can't just follow the directions on the site, you have to do some mojo first.
sudo apt-get update