Here is a snippet to have a reference of the optimization opportunity:
commonWords := (NeoJSONReader fromString: '{
"description": "Common English words.",
"commonWords":
[
"a",
"able",
"about",| use anyhow::Result; | |
| use csv::{ReaderBuilder, Trim}; | |
| use serde::{de, Deserialize, Deserializer}; | |
| use std::fmt; | |
| use std::path::Path; | |
| fn main() -> Result<()> { | |
| let file_path = Path::new("shapes.csv"); | |
| let mut reader = ReaderBuilder::new() | |
| .has_headers(false) |
Here is a snippet to have a reference of the optimization opportunity:
commonWords := (NeoJSONReader fromString: '{
"description": "Common English words.",
"commonWords":
[
"a",
"able",
"about",mockOne := [ |map|
map := Dictionary new.
32 timesRepeat: [
map
at: 1000 atRandom asWords asSymbol
put: {
2 atRandom = 1.
1e9 atRandom.
1e9 atRandom negated. | FROM debian:buster | |
| EXPOSE 1700/tcp | |
| # Base support | |
| RUN id && ls -la /var/cache/apt/ | |
| RUN \ | |
| apt-get update && \ | |
| apt-get -y install procps libssl1.1 bzip2 python3 python3-requests wget make zip unzip libx11-6 libgl1-mesa-glx libfontconfig1 libssl1.1 python3-pip libcurl3-gnutls strace | |
| # install image-launch |
| ➜ telepharo git:(master) make server | |
| make -C ../minimal | |
| ../bin/download-vm.sh | |
| downloading get.pharo.org/32/vm80 | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 5306 100 5306 0 0 5034 0 0:00:01 0:00:01 --:--:-- 5034 | |
| Downloading the latest pharoVM: | |
| http://files.pharo.org/get-files/80/pharo-mac-stable.zip | |
| pharo-vm/Pharo.app/Contents/MacOS/Pharo |
| // | |
| // MIXIN | |
| // | |
| import { Component, Vue } from 'vue-property-decorator' | |
| import stringEntropy from 'fast-password-entropy' | |
| @Component({}) | |
| export default class PasswordDefinition extends Vue { | |
| public showPassword: boolean = false | |
| public showConfirmation: boolean = false |
| version: 2 | |
| jobs: | |
| build: | |
| working_directory: /app | |
| docker: | |
| - image: docker:17.05.0-ce-git | |
| auth: | |
| #Put the contents of keyfile.json into an environment variable for the build called GCR_CREDS, which is then passed in. | |
| username: _json_key | |
| password: $GOOGLE_AUTH |
| "************************* by Chris Rathman ***************************** | |
| * Allowable characters: * | |
| * - a-z * | |
| * - A-Z * | |
| * - 0-9 * | |
| * - .+/\*~<>@%|&? * | |
| * - blank, tab, cr, ff, lf * | |
| * * | |
| * Variables: * | |
| * - variables must be declared before use * |
| <td> | |
| <span ng-bind="Cases.humaneNextSessionOf(case)"></span> | |
| </td> | |
| and in the controller we have: | |
| ... | |
| let result = $compile(thatSpan)($scope); | |
| /** Scott Bakers Colors **/ | |
| @adr-red: #ea5a5a; | |
| @adr-blue: #23b1f7; | |
| @adr-yellow: #ffcc00; | |
| @adr-green: #28bd8b; | |
| @adr-dark: #1f222d; | |
| @adr-light-blue: #f4f7fa; | |
| /** Begin Guy **/ |