text:
# Secure your PIN & recovery phrase

Ledger products have a combination of hardware and software security features to protect your crypto assets from attacks. Follow the guidelines below to benefit from the optimal level of security offered by your Ledger Nano X device.

## Secure your PIN code

During the setup process you choose a secure PIN. Do not base your PIN off personal details like birthdays or phone numbers.

### ALWAYS

-   **Choose a PIN code by yourself.**
-   Enter your PIN code out of sight.
-   Change your PIN code if needed. **[Learn more]**

>Remember that three wrong PIN code entries in a row will reset the device.

### NEVER

-   Use an easy PIN code like 0000, 123456, or 55555555.
-   Share your PIN code with anyone else.
-   Use a PIN code you did not choose yourself.
-   Store your PIN code on a computer or phone.

## Secure your 24-word recovery phrase

The 24-word recovery phrase is the only backup to your crypto assets.

**ALWAYS**

-   **Ensure your 24-word recovery phrase is obtained from the screen of the Ledger device.**

>You recovery phrase will only ever be shown on the screen of the Ledger device. Never on your computer or smartphone screen.

-   Create multiple written copies of the recovery phrase.
-   Store the copies of the recovery phrase in secure locations, out of sight.

**NEVER**

-   **Enter the 24-word recovery phrase into your computer or phone.**
-   Take a picture of the 24-word recovery phrase.
-   Share your recovery phrase with anyone else.

## Learn more

-   Maximize your account security **[with a passphrase]**.


text:
# Setup with WordPress with docker.
## Resources
* [wordPress.org](https://wordpress.org/)
* [nginx](https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/)
* [Intro to WordPress and Composer](https://www.pmg.com/blog/composer-and-wordpress/)
* [John P. Bloch](https://code.johnpbloch.com/2015/07/upcoming-changes-to-my-wordpress-fork/)
    * [WordPress Composer Fork](https://github.com/johnpbloch/wordpress)

## Setup
* Wordpress is configured using Composer.

license: MIT

repository: catenare/devnotes

branch_name: refs/heads/main

extension: md

gha_license_id: MIT

license_type: permissive

repo_name: catenare/devnotes


text:
# Troubleshooting
## UI5 Server
### Chrome Redirects HTTP URLs to HTTPS (`ERR_SSL_PROTOCOL_ERROR`)
An HTTPS server or proxy that was previously running on a domain (e.g. `localhost`), might have set an HSTS header, enforcing Chrome to always use HTTPS for this domain. See https://www.chromium.org/hsts. This makes it impossible to connect to an HTTP-only server running on the same domain.

#### Resolution
You need to delete the HSTS mapping in [chrome://net-internals/#hsts](chrome://net-internals/#hsts) by entering the domain name (e.g. `localhost`) and pressing "delete".

## Issues Not Listed Here
Please follow our [Contribution Guidelines](https://github.com/SAP/ui5-tooling/blob/master/CONTRIBUTING.md#report-an-issue) on how to report an issue.

## UI5 Project
### Corrupt Framework Dependencies

When using the UI5 CLI in versions lower than `v2.9.1` or the `@ui5/project` module in versions lower than `v2.2.6` you might experience build- or runtime issues caused by missing or corrupt files in one or more UI5 framework dependencies. Note that this does not affect other project dependencies, such as reuse libraries, which are installed via external package managers like npm or Yarn.

These issues can be the result of an aborted install during a preceding UI5 Tooling execution. Because of [a bug](https://github.com/SAP/ui5-tooling/issues/478) that has since been fixed, UI5 Tooling assumes that the preceding install was successful and uses the potentially corrupted dependency.

#### Resolution

Remove the `.ui5/framework/` directory from your user's home directory.

```sh
rm -rf ~/.ui5/framework/
```

Any missing framework dependencies will be downloaded again during the next UI5 Tooling invocation.

### `~/.ui5` Taking too Much Disk Space

There are possibly many versions of UI5 framework dependencies installed on your system, taking a large amount of disk space.

#### Resolution

Remove the `.ui5/framework/` directory from your user's home directory:

```sh
rm -rf ~/.ui5/framework/
```

Any missing framework dependencies will be downloaded again during the next UI5 Tooling invocation.

## Benchmarking UI5 Tooling

For benchmarking UI5 Tooling we typically make use of the open source tool [hyperfine](https://github.com/sharkdp/hyperfine).

In general we only benchmark calls to the UI5 CLI. However, we might add scripted benchmarks for some components in the future.

The following is a walk-through on how to evaluate the performance impact of an imaginary change in the UI5 Builder project.

### Setup

1. Install [hyperfine](https://github.com/sharkdp/hyperfine#installation)
1. Prepare the UI5 Tooling projects you want to measure *(optional if your development environment already reflects this)*:
    1. Start in an empty directory
        ```sh
        mkdir ui5-tooling-benchmark && cd ui5-tooling-benchmark/
        ```
    1. Clone [UI5 CLI](https://github.com/SAP/ui5-cli)
        ```sh
        git clone git@github.com:SAP/ui5-cli.git
        ```
    1. Clone [UI5 Builder](https://github.com/SAP/ui5-builder) (or your fork)
        ```sh
        git clone git@github.com:SAP/ui5-builder.git
        ```
        Make sure you check out the `master` branch, since we'll perform the baseline test first
    1. Install npm dependencies in both directories
        ```sh
        (cd ui5-cli && npm install)
        (cd ui5-builder && npm install)
        ```
    1. Create global npm links for both projects
        ```sh
        (cd ui5-cli && npm link)
        (cd ui5-builder && npm link)
        ```
    1. Link UI5 Builder into UI5 CLI
        ```sh
        (cd ui5-cli && npm link @ui5/builder)
        ```
    1. Verify your setup
        ```sh
        ui5 --version
        ```
        This should output the version and location of the UI5 CLI you just cloned.

        For example:
        ```
        2.6.6 (from /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js)
        ```

1. Prepare your test project (we choose the [openui5-sample-app](https://github.com/SAP/openui5-sample-app))
    1. Clone the project
        ```sh
        git clone git@github.com:SAP/openui5-sample-app.git
        ```
    1. Navigate into the project
        ```sh
        cd openui5-sample-app
        ```
    1. Install any required npm dependencies
        ```sh
        npm install
        ```
        Note: We won't link UI5 CLI into this project. Instead, we'll call it directly.
    1. Verify that the previously installed UI5 CLI can be called with the following command:
        ```sh
        UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js --version
        ```
        On Windows:
        ```sh
        set UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js --version
        ```
        *(Replace the path to ui5.js with the one shown in the previous `ui5 --version` output)*

### Benchmarking

1. Depending on how reliable you'd like the measurements to be, consider preparing your system:
    1. Connect your computer to a power supply
    1. Make sure no updates or anti-virus scans are taking place
    1. Close all applications. This includes your IDE, since it might start indexing any new files created during the build, thus impacting I/O
    1. Don't interact with your system wile the benchmarking is running

1. Perform the baseline measurement
    1. In the project, start your first benchmark
        ```sh
        hyperfine --warmup 1 \
        'UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build' \
        --export-markdown ./baseline.md
        ```
        On Windows:
        ```sh
        hyperfine --warmup 1 \
        'set UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build' \
        --export-markdown ./baseline.md
        ```
    1. Your baseline benchmark is now stored in `baseline.md` and should look similar to this:

        | Command | Mean [s] | Min [s] | Max [s] | Relative |
        |:---|---:|---:|---:|---:|
        | `UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build` | 1.439 ± 0.036 | 1.400 | 1.507 | 1.00 |

1. Prepare your change
    1. Switch to the branch that contains your change
        ```sh
        (cd ../ui5-builder && git checkout my-change)
        ```
    1. If your change requires different npm dependencies, reinstall them
        ```sh
        (cd ../ui5-builder && npm install)
        ```
    1. The link from UI5 CLI is still in place. However, if you have changes in **multiple** UI5 Tooling modules, you might need to `npm link` those again

1. Perform the change measurement
    1. In the project, start your second benchmark
        ```sh
        hyperfine --warmup 1 \
        'UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build' \
        --export-markdown ./my_change.md
        ```
        On Windows:
        ```sh
        hyperfine --warmup 1 \
        'set UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build' \
        --export-markdown ./my_change.md
        ```
    1. Your change's benchmark is now stored in `my_change.md`

### Compile Results

1. Merge both measurements into one markdown
    1. Either remove the `Relative` column or calculate the relative difference yourself.
    1. You should end up with a markdown like this:
        ```md
        | Command | Mean [s] | Min [s] | Max [s] |
        |:---|---:|---:|---:|
        | `UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build` | 1.439 ± 0.036 | 1.400 | 1.507 |
        | `UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build` | 1.584 ± 0.074 | 1.477 | 1.680 |
        ```
        Rendering like this:

        | Command | Mean [s] | Min [s] | Max [s] |
        |:---|---:|---:|---:|
        | `UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build` | 1.439 ± 0.036 | 1.400 | 1.507 |
        | `UI5_CLI_NO_LOCAL=X node /my/home/ui5-tooling-benchmark/ui5-cli/bin/ui5.js build` | 1.584 ± 0.074 | 1.477 | 1.680 |

1. You can now share these results on GitHub or wherever you might need them.

**Happy benchmarking! 🏎**

branch_name: refs/heads/master


text:
# GeoMesa GeoServer 2.8.x Plugins

GeoMesa provides an easy way to integrate with GeoServer 2.8.x. When built, the various GeoServer
modules will all produce a tar.gz file containing all the artifacts needed for GeoServer.

Note: if you can't use GeoServer 2.8.x, older versions of GeoMesa are compatible with GeoServer 2.5.x.
See [geomesa-1.1.0-rc.7](tree/geomesa-1.1.0-rc.7) for the last compatible version.

### Installation

To install, simply extract `<module>/target/geomesa-<mdodule>-gs-plugin-<version>-install.tar.gz`
into GeoServer's WEB-INF/lib directory.

### Environment Specific Jars

Because GeoMesa works with multiple versions of Hadoop, Accumulo, Kafka, etc, we do not bundle those jars
in our install. The appropriate jars need to be installed separately. For details, see each individual
plugin module.

repository: yufangsnow/geomesa

repo_name: yufangsnow/geomesa


text:
# SSQ_Election
The program codes to produce the result in SSQ artcle,
"Estimating the Willingness to Pay for Voting when Absentee Voting is not Allowed."

## A. Program Version

1. Python: 3.6
  python packages:
    - numpy: 1.14.3
    - pandas: 0.23.0
    - matplotlib: 2.2.2

2. Stata: SE 13

## B. The program files:

1. counterfactual_total_price_change.py: calculate the counterfactual market share when the prices of all transportation modes change.

2. counterfactual_absentee_voting.py: calculate the counterfactual market share when absentee voting is allowed.

2. counterfactual_no_HSR.py: calculates the counterfactual market share when High Speed Rail (HSR) does not exist.

3. BLP_market_share.py: a script to calculate predicted market share.

4. progress.py: a script to show progress bar by Vladimir Ignatev.

## C. Data files:
1. adj_census_pop_T.csv: the population data based on the 2010 Population Census conducted by the Ministry of the Interior.

2. RawData20180515.csv: the data required for BLP model.

gha_language: Python


text:
---
layout: default
---

# 1995-02-03 - Re: Remailing in safe-tcl

## Header Data

From: Nathaniel Borenstein<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message Hash: 080aac464dcd843f7bb854287d72a2ee11a0b2e64d3102eab7bca93a189af0fa

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1995-02-03 15:26:27 UTC

Raw Date: Fri, 3 Feb 95 07:26:27 PST

## Raw message

```
{% raw  %}From: Nathaniel Borenstein<EMAIL_ADDRESS>Date: Fri, 3 Feb 95 07:26:27 PST
To<EMAIL_ADDRESS>Subject: Re: Remailing in safe-tcl
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

Excerpts from mail: 2-Feb-95 Remailing in safe-tcl<EMAIL_ADDRESS>(2397)

> I don't see any straightforward way for a script to suspend itself and
> re-activate on some future event (such as the arrival of another
> message).  Maybe it could put its whole self into the config database as
> a {key, value} pair and rely on future messages to pull it out and
> execute it.  But that doesn't seem too great.

The problem is that this is a very hard -- perhaps impossible -- thing
to build in at the level of a safe-tcl interpreter, because the safe-tcl
interpreter is supposed to be a relatively stand-alone thing.  To
activate something based on a future event requires some hooks into
external event management -- e.g. a cron job, or the message receipt
facilities of a specific mail tool, etc.   The challenge, I think, is to
figure out how to make sure safe-tcl has the right hooks for such an
external environment without REQUIRING one particular such environment
in order to run safe-tcl.

In other words, I think the best to be hoped for is for safe-tcl to have
the facilities that are needed by such an environment.  I'm not entirely
sure what those facilities are, but I'm optimistic that this could be
layered on using the "declareharmless" mechanism of safe-tcl.  Thus, you
could write (in full tcl) a procedure that essentially queues an event
for future processing, and make that procedure available to the safe-tcl
environment.  Is this plausible in your application context?

> There is a lot of interest in this notion of mail messages as scripted
> agents which go zipping about the network gathering data which they send
> home.  I am optimistic that we will be able to get remailing capabilities
> out of this infrastructure largely for free.

I think there's a good chance of that, yes.  Part of the safe-tcl
experiment, actually, is the attempt to figure out, cooperatively, what
all is needed in the way of infrastructure.  So what I'm most interested
in knowing is whether there are features you can imagine adding to
safe-tcl that would make this easier to do on your end...  -- Nathaniel

{% endraw %}
```

## Thread

+ Return to [February 1995](/archive/1995/02)

+ Return to "[Nathaniel Borenstein <nsb@nsb.fv.com>](/authors/nathaniel_borenstein_nsb_at_nsb_fv_com_)"

+ _Unknown thread root_
  + 1995-02-03 (Fri, 3 Feb 95 07:26:27 PST) - Re: Remailing in safe-tcl - _Nathaniel Borenstein<EMAIL_ADDRESS>


text:
== Gateway Model

This project defines a data model which can be loaded or saved as XML via JAXB, created via a Java DSL or loaded from fabric8 via profiles and OSGi MetaType properties files (for simple UI tooling).

The idea is we can define in a technology agnostic way HTTP mapping rules for exposing RESTful endpoints to customer facing URIs such that we can implement an API Gateway, BaaS / MBaaS or Mobile Gateway.

=== Implementing the Model

Various technologies could be used to implement the mapping rules. We have currently these implementations

* **gateway-servlet** is a servlet filter based implementation of the gateway
* **gateway-fabric** a fabric8 based implementation using vertx which auto-proxies RESTful endpoints, web applications and web services in fabric8
* **gateway-fabric-haproxy** a fabric8 based implementation which works like gateway-fabric but instead of implementing the proxy in vertx it reuses existing HTTP proxy tools like haproxy to implement the proxy; and auto-generates the configuration of haproxy baesd on the metadata from fabric8


text:
# Creating a Locale

There are several ways to create a `Locale` object. Regardless of the technique used, creation can be as simple as specifying the language code. However, you can further distinguish the locale by setting the region (also referred to as "country") and variant codes. If you are using the JDK 7 release or later, you can also specify the script code and Unicode locale extensions.

The four ways to create a `Locale` object are:

- [`Locale.Builder` Class](#builder)
- [`Locale` Constructors](#constructors)
- [`Locale.forLanguageTag` Factory Method](#factory)
- [`Locale` Constants](#constants)

## `LocaleBuilder` Class

The
[`Locale.Builder`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.Builder.html) utility class can be used to construct a `Locale` object that conforms to the IETF BCP 47 syntax. For example, to specify the French language and the country of Canada, you could invoke the `Locale.Builder` constructor and then chain the setter methods as follows:

```

Locale aLocale = new Locale.Builder().setLanguage("fr").setRegion("CA").build();

```

The next example creates `Locale` objects for the English language in the United States and Great Britain:

```

Locale bLocale = new Locale.Builder().setLanguage("en").setRegion("US").build();
Locale cLocale = new Locale.Builder().setLanguage("en").setRegion("GB").build();

```

The final example creates a `Locale` object for the Russian language:

```

Locale dLocale = new Locale.Builder().setLanguage("ru").setScript("Cyrl").build();

```

## `Locale` Constructors

There are three constructors available in the `Locale` class for creating a `Locale` object:

[`Locale(String language)`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#Locale-java.lang.String-)

[`Locale(String language, String country)`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#Locale-java.lang.String-java.lang.String-)

[`Locale(String language, String country, String variant)`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#Locale-java.lang.String-java.lang.String-java.lang.String-)

The following examples create `Locale` objects for the French language in Canada, the English language in the U.S. and Great Britain, and the Russian language.

```

aLocale = new Locale("fr", "CA");
bLocale = new Locale("en", "US");
cLocale = new Locale("en", "GB");
dLocale = new Locale("ru");

```

It is not possible to set a script code on a `Locale` object in a release earlier than JDK 7.

## `forLanguageTag` Factory Method

If you have a language tag string that conforms to the IETF BCP 47 standard, you can use the
[`forLanguageTag(String)`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#forLanguageTag-java.lang.String-) factory method, which was introduced in the Java SE 7 release. For example:

```

Locale aLocale = Locale.forLanguageTag("en-US");
Locale bLocale = Locale.forLanguageTag("ja-JP-u-ca-japanese");

```

## `Locale` Constants

For your convenience the `Locale` class provides
[constants](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#field_summary) for some languages and countries. For example:

```

cLocale = Locale.JAPAN;
dLocale = Locale.CANADA_FRENCH;

```

When you specify a language constant, the region portion of the `Locale` is undefined. The next three statements create equivalent `Locale` objects:

```

j1Locale = Locale.JAPANESE;
j2Locale = new Locale.Builder().setLanguage("ja").build();
j3Locale = new Locale("ja");

```

The `Locale` objects created by the following three statements are also equivalent:

```

j4Locale = Locale.JAPAN;
j5Locale = new Locale.Builder().setLanguage("ja").setRegion("JP").build();
j6Locale = new Locale("ja", "JP");

```

## Codes

The following sections discuss the language code and the optional script, region, and variant codes.

### Language Code

The language code is either two or three lowercase letters that conform to the ISO 639 standard. You can find a full list of the ISO 639 codes at
[http://www.loc.gov/standards/iso639-2/php/code_list.php](http://www.loc.gov/standards/iso639-2/php/code_list.php).

The following table lists a few of the language codes.

Language Code	Description
|------
`de`	German
`en`	English
`fr`	French
`ru`	Russian
`ja`	Japanese
`jv`	Javanese
`ko`	Korean
`zh`	Chinese

### Script Code

The script code begins with an uppercase letter followed by three lowercase letters and conforms to the ISO 15924 standard. You can find a full list of the ISO 15924 codes at
[http://unicode.org/iso15924/iso15924-codes.html](http://unicode.org/iso15924/iso15924-codes.html).

The following table lists a few of the script codes.

Script Code	Description
|------
`Arab`	Arabic
`Cyrl`	Cyrillic
`Kana`	Katakana
`Latn`	Latin

There are three methods for retrieving the script information for a `Locale`:

[`getScript()`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#getScript--) – returns the 4-letter script code for a `Locale` object. If no script is defined for the locale, an empty string is returned.

[`getDisplayScript()`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#getDisplayScript--) – returns a name for the locale's script that is appropriate for display to the user. If possible, the name will be localized for the default locale. So, for example, if the script code is "Latn," the diplay script name returned would be the string "Latin" for an English language locale.

[`getDisplayScript(Locale)`](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#getDisplayScript-java.util.Locale-) – returns the display name of the specified `Locale` localized, if possible, for the locale.

### Region Code

The region (country) code consists of either two or three uppercase letters that conform to the ISO 3166 standard, or three numbers that conform to the UN M.49 standard. A copy of the codes can be found at
[http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html](http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html).

The following table contains several sample country and region codes.
A-2 Code	A-3 Code	Numeric Code	Description
`AU`	`AUS`	`036`	Australia
`BR`	`BRA`	`076`	Brazil
`CA`	`CAN`	`124`	Canada
`CN`	`CHN`	`156`	China
`DE`	`DEU`	`276`	Germany
`FR`	`FRA`	`250`	France
`IN`	`IND`	`356`	India
`RU`	`RUS`	`643`	Russian Federation
`US`	`USA`	`840`	United States

### Variant Code

The optional `variant` code can be used to further distinguish your `Locale`. For example, the variant code can be used to indicate dialectical differences that are not covered by the region code.

As of the Java SE 7 release, which conforms to the IETF BCP 47 standard, the variant code is used specifically to indicate additional variations that define a language or its dialects. The IETF BCP 47 standard imposes syntactic restrictions on the variant subtag. You can see a list of variant codes (search for **variant**) at
[http://www.iana.org/assignments/language-subtag-registry](http://www.iana.org/assignments/language-subtag-registry).

For example, Java SE uses the variant code to support the Thai language. By convention, a `NumberFormat` object for the `th` and `th_TH` locales will use common Arabic digit shapes, or Arabic numerals, to format Thai numbers. However, a `NumberFormat` for the `th_TH_TH` locale uses Thai digit shapes. The excerpt from
[`ThaiDigits.java`](examples/ThaiDigits.java) demonstrates this:

```

String outputString = new String();
Locale[] thaiLocale = {
             new Locale("th"),
             new Locale("th", "TH"),
             new Locale("th", "TH", "TH")
         };

for (Locale locale : thaiLocale) {
    NumberFormat nf = NumberFormat.getNumberInstance(locale);
    outputString = outputString + locale.toString() + ": ";
    outputString = outputString + nf.format(573.34) + "\n";
}

```

The following is a screenshot of this sample:

filename: Creating a Locale.md


text:
# Reinstall LiveCD

Setup a re-install of LiveCD on a node using the previous configuration.

1. Backup to the data partition:

    ```bash
    pit# mkdir -pv /var/www/ephemeral/backup
    pit# pushd /var/www/ephemeral/backup
    pit# tar -czvf "dnsmasq-data-$(date  '+%Y-%m-%d_%H-%M-%S').tar.gz" /etc/dnsmasq.*
    pit# tar -czvf "network-data-$(date  '+%Y-%m-%d_%H-%M-%S').tar.gz" /etc/sysconfig/network/*
    pit# cp -pv /etc/hosts ./
    pit# popd
    pit# umount -v /var/www/ephemeral
    ```

1. Unplug the USB device.

   The USB device should now contain all the information already loaded, as well as the backups of
   the initialized files.

1. Plug the device into a new machine, or make a backup on the booted NCN. Make a snapshot of the USB device.

    ```bash
    mylinuxpc> mount -v /dev/disk/by-label/PITDATA /mnt
    mylinuxpc> tar -czvf --exclude *.squashfs \
    "install-data-$(date  '+%Y-%m-%d_%H-%M-%S').tar.gz" /mnt/
    mylinuxpc> umount -v /dev/disk/by-label/PITDATA
    ```

1. Follow the steps in the "Boot LiveCD" procedure in the HPE Cray EX System Installation and Configuration
Guide S-8000.
The new tar.gz file can be stored anywhere, and can be used to reinitialize the LiveCD.

1. The new tar.gz file you made can be stored anywhere, and can be used to reinit the liveCD. Follow
the directions in [Bootstrap PIT Node from LiveCD USB](bootstrap_livecd_usb.md) and then return here and move onto the
next step.

1. Delete the existing content on the USB device and create a new LiveCD on that same USB device.

   Once the install-data partition is created, it can be remounted and can be used to restore the backup.

    ```bash
    mylinuxpc> mount -v /dev/disk/by-label/PITDATA /mnt
    mylinuxpc> tar -xzvf $(ls -ltR *.tar.gz | head -n 1)
    mylinuxpc> ls -R /mnt
    ```

   The tarball should have extracted everything into the install-data partition.

1. Retrieve the SquashFS artifacts.
   The artifacts can be retrieved at the following locations:

   * `/mnt/var/www/ephemeral/k8s/`
   * `/mnt/var/www/ephemeral/ceph/`

1. Attach the USB to a Cray non-compute node and reboot into the USB device.

1. Once booted into the USB device, restore network configuration, dnsmasq, and ensure the pods are started.

   > STOP AND INSPECT ANY FAILURE IN ANY OF THESE COMMANDS

   ```bash
   pit# tar -xzvf /var/www/ephemeral/backup/dnsmasq*.tar.gz
   pit# tar -xzvf /var/www/ephemeral/backup/network*.tar.gz
   pit# systemctl restart wicked wickedd-nanny
   pit# systemctl restart dnsmasq
   pit# systemctl start basecamp nexus
   ```

1. The LiveCD is now re-installed with the previous configuration.


text:
# PayDollar/PesoPay/SiamPay Payment plugin for Magento 2.X
Use PayDollar/PesoPay/SiamPay plugin for Magento 2.X to offer ALL payments option.

## Download
Please download the latest plugin version. [Download](https://github.com/asiapay-lib/asiapay-Magento-2.x/releases/latest)

## Integration
The plugin integrates Magento 2.X with PayDollar/PesoPay/SiamPay payment gateway with All payment method.

## Requirements
This plugin supports Magento version 2.0 and higher.

## Installation
1.	Upload the paydollar plugin to the Magento correct folder structure using an FTP client.
2.	After  installation,  go  to  the  admin  side  of  the  store  and  log-in,  then  go  to  ***Store -> Configurations -> Advanced -> Advanced***
3.	Ensure that the module **'Asiapay_Pdcptb'** is enabled.

#### From **Magento 2.2.***, Advanced Menu is no longer available from step 2 and 3 of installation.
* Go to the admin side of the store and log-in, then go to ***System -> Web Setup Wizard -> Module Manager***
* Ensure that the component name **'Asiapay_Pdcptb'** is enabled in the action tab.

4.	Then go to ***Store -> Configurations -> Sales -> "Payment Methods"*** then expand the **“AsiaPay's PayDollar - Client Post Through Browser Module”** then configure the values accordingly then save changes.
5.	Set the module configurations

## Setup the Datafeed URL on PayDollar/PesoPay/SiamPay
 1. Login to your PayDollar/PesoPay/SiamPay account.
 2. After login, Go to left sidebar on Profile > Profile Settings > Payment Options.
 3. Click the “Enable” radio and set the datafeed URL on “Return Value Link” and click the “Update” button. The datafeed URL should be like this: http://www.yourmagentosite.com/pdcptb/datafeed/datafeed
 4. On the confirmation page, review your changes then click the “Confirm button”.

 ## Documentation
[Magento documentation](https://github.com/asiapay-lib/asiapay-Magento-2.x/raw/3DS-2.0/Magento2.0%20Payment%20Module%20Setup%20Guide.pdf)

## Support
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our [Customer Service](https://www.paydollar.com/en/contactus.html).

## License
MIT license. For more information, see the LICENSE file.

gha_language: PHP


text:
## CHANGELOG MIDTRANS JAVA LIBRARY

## v3.0.0 (April 13, 2021)

Feature:
- new static method CoreApi, SnapApi, IrisApi, TransactionApi
- can change, TimeUnit for http connection settings
- can set global config via Midtrans class
- can add custom headers with config class
- validation for server-key empty, contain whitespace

Improvement:
- handle okhttp raw error/exception via MidtransError exception class

Notable changes:
- Migrate from retrofit to okhttp as http client
- Migrate repo host from jcenter/bintray to maven central

## v2.1.1 (April 27, 2020)

Feature:

- API Iris disbursement
- Payment BIN API
- Set Connection Pool & Keep alive connection
- Set header X-Idempotency-key for Iris and Idempotency-Key for Payment
- Set `X-Append-Notification`: to add new notification url(s) alongside the settings on dashboard
- Set `X-Override-Notification`: to use new notification url(s) disregarding the settings on dashboard
- Library version on `User-Agent` header

Improvement:

- Change logic for setup headers
- Remove versioning path from base URL, move to `String API_VERSION` in CoreAPI, SnapAPI interface class
- Improve conditional logic for HttpLoggingInterceptors. Now all debugging response will be handled only from HttpLoggingInterceptors Which can show logs request and response information

Bugs fix:
- Failure/error response from Midtrans api result in empty json.

## v1.1.1 (Feb 3, 2020)

Improvement:

HttpLoggingInterceptor: Which can show logs request and response information. This feature This feature is disabled by default on production mode.

## v1.1.0 (Nov 27, 2019)

Feature:

- Allow HTTP Proxy config
- Allow set connectionTimeout
- Allow set readTimeout
- Allow set writeTimeout

## v1.0.0 (Sep 25, 2019) New release

Feature:
- CoreAPI basic functionality
- Snap API basic functionality
- Include Spring project example
- Basic usage sample on Readme
- Release via Bintray maven

repository: Midtrans/midtrans-java

gha_language: Java

repo_name: Midtrans/midtrans-java


text:
# Changelog

## 2.0.0
- Updated to stay current with Laravel Elixir 6.0.0.
- Deprecated `mix.babel()` in favor of `mix.browserify()`, `mix.webpack`, `mix.rollup`, or similar module bundlers.
- Nicer console output.
- Broke out first party extensions from the core (to keep in line with Laravel Elixir 6.0.0)
    - [`coldbox-elixir-browserify`](https://github.com/coldbox-elixir/extension-browserify)
    - [`coldbox-elixir-browsersync`](https://github.com/coldbox-elixir/extension-browsersync)
    - [`coldbox-elixir-rollup`](https://github.com/coldbox-elixir/extension-rollup)
    - [`coldbox-elixir-stylus`](https://github.com/coldbox-elixir/extension-stylus)
    - [`coldbox-elixir-vue`](https://github.com/coldbox-elixir/extension-vue)
    - [`coldbox-elixir-webpack`](https://github.com/coldbox-elixir/extension-webpack)
- Helpful warnings when trying to use methods provided by a first party extension.

## 1.1.0
- Travis Support
- BDD via TestBox fixes
- Updated all dependencies to latest versions
- Gulp tasks for compilation, tests and watchers
- Test App additions for testing direct gulp integrations
- If not tasks defined in the user's gulpfile, just a message is shown instead of an exception
- Removed coffeescript support, no longer needed
- Added new config map for `appPaths` to support all ColdBox conventions
- Vueify core support view browserify for Vue.js components
- Included a new `template` folder which helps setting up new elixir based projects

## 1.0.0
- Initial Port to ColdBox

repository: GunnarLieb/elixir-docs

repo_name: GunnarLieb/elixir-docs


text:
# NewRelicConfiguration

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_key** | **str** | New Relic REST API Key. |
**app_filter_regex** | **str** | A regular expression that a application name must match (case-insensitively) in order to collect metrics. | [optional]
**host_filter_regex** | **str** | A regular expression that a host name must match (case-insensitively) in order to collect metrics. | [optional]
**new_relic_metric_filters** | [**list[NewRelicMetricFilters]**](NewRelicMetricFilters.md) | Application specific metric filter | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

repository: wavefrontHQ/python-client

repo_name: wavefrontHQ/python-client


text:
# NoveCircularProgressBar

[![Version](https://img.shields.io/cocoapods/v/NoveCircularProgressBar.svg?style=flat)](https://cocoapods.org/pods/NoveCircularProgressBar) [![License](https://img.shields.io/cocoapods/l/NoveCircularProgressBar.svg?style=flat)](https://cocoapods.org/pods/NoveCircularProgressBar) [![Platform](https://img.shields.io/cocoapods/p/NoveCircularProgressBar.svg?style=flat)](https://cocoapods.org/pods/NoveCircularProgressBar)

An animated circular progress bar for your iOS projects in Swift.

## Features

- [x] Fully animated progress bar.
- [x] Can be used and customized in Interface Builder.
- [x] Customize color, animation duration and size.
- [x] Customize border size for bigger or smaller display.
- [x] Is unit tested.

## Requirements

- iOS 9.0+

## Installation

NoveCircularProgressBar uses [CocoaPods](http://cocoapods.org). It is a dependency manager for Cocoa projects.

To integrate **NoveCircularProgressBar** into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

pod 'NoveCircularProgressBar', '~> 1.0'
```

Then, run the following command:

```bash
$ pod install
```

## Usage

### Creating a new instance

In Interface Builder, you can add a `UIView` to your interface, and set the custom class to `NoveCircularProgressBar`:

You can also create the progress bar programmatically. To do so, simply import the module and use the following initializer:

```swift
import NoveCircularProgressBar

let progressBar = NoveCircularProgressBar(frame: CGRect(x: 0, y: 0, width: 24, height:  24))
```

Then, add the progress bar to its parent:

```swift
parentView.addSubview(progressBar)
```

### Configuration

The progress bar is composed of a static border and an animated progress bar.

`NoveCircularProgressBar` is configurable to match your app requirements. You can adjust the following settings:

* `color` will change the progress bar color and its border color.
* `speed` represents the duration of the animation for the progress bar to go from 0.0 to 1.0.
* `lineWidth` represents the border thickness and the space between the border and the progress bar.

You can set those properties in the Interface Builder:

Or you can set them programmatically once your bar is instanciated:

```swift
progressBar.lineWidth = 2.0
progressBar.color = .systemBlue
progressBar.speed = 1.0
```

### Percentage update

Once your progress bar is created — and configured — you can update the displayed percentage by calling:

```swift
progressBar.updateProgress(to: percentage, animated: true)
```

With the following parameters

* `to` is the new percentage to display (between 0.0 and 1.0),
* `animated` tells the component to play an animation or to jump to its destination.

## Credits

Steve Gigou ([Website](https://steve.gigou.fr), [Twitter](https://twitter.com/stevegigou))

## License

NoveCircularProgressBar is available under the MIT license. See the LICENSE file for more informations.

repository: sgigou/NoveCircularProgressBar

repo_name: sgigou/NoveCircularProgressBar


text:
---
layout: default
---

# 1998-07-30 - Re: Amused but still looking for...

## Header Data

From: Bill Stewart<EMAIL_ADDRESS>To: Michael Motyka<EMAIL_ADDRESS>Message Hash: ab1adce6f8621d4c26e5a4dc5a1730858bf5f5a4bd392f3d1d3cbf37e923ef0f

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1998-07-30 07:22:20 UTC

Raw Date: Thu, 30 Jul 1998 00:22:20 -0700 (PDT)

## Raw message

```
{% raw  %}From: Bill Stewart<EMAIL_ADDRESS>Date: Thu, 30 Jul 1998 00:22:20 -0700 (PDT)
To: Michael Motyka<EMAIL_ADDRESS>Subject: Re: Amused but still looking for...
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

At 03:39 PM 7/29/98 -0700, Michael Motyka wrote:
>Is there a coderpunks mail archive available anywhere? The URL that I've
>found has been down for too long.
>
>How about a list of ongoing projects?
>
>When is the next CP meeting?

Meetings are the second Saturday of the month (for the Bay Area).
Directions and agenda will be posted early next week;
volunteers for talks are always welcome.

				Thanks!
					Bill
Bill Stewart<EMAIL_ADDRESS>PGP Fingerprint D454 E202 CBC8 40BF  3C85 B884 0ABE 4639

{% endraw %}
```

## Thread

+ Return to [July 1998](/archive/1998/07)

+ Return to "[Bill Stewart <bill.stewart@pobox.com>](/authors/bill_stewart_bill_stewart_at_pobox_com_)"
+ Return to "[Michael Motyka <mmotyka@lsil.com>](/authors/michael_motyka_mmotyka_at_lsil_com_)"

+ 1998-07-29 (Wed, 29 Jul 1998 15:38:08 -0700 (PDT)) - [Amused but still looking for...](/archive/1998/07/1800f46310c289fe726da7304ae0d8dd67b30acd28eff15a0330993ef5144305) - _Michael Motyka<EMAIL_ADDRESS>  + 1998-07-30 (Thu, 30 Jul 1998 00:22:20 -0700 (PDT)) - Re: Amused but still looking for... - _Bill Stewart<EMAIL_ADDRESS>


text:
# Solving Unity Ml Agents with PyTorch

In this series of tutorials, we'll be solving Unity Environments with Deep Reinforcement Learning using PyTorch.  The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source Unity plugin that enables games and simulations to serve as environments for training intelligent agents.

Agents can be trained using reinforcement learning, imitation learning, neuroevolution, or other machine learning methods through a simple-to-use Python API. Currently, unity only supports Tensorflow to train model and there is no support for PyTorch.  To train these environments using PyTorch we'll be using the standalone version of these environments.

## Index

- [**Installation**](#installation)
- [**Environments**](#Environments)
- [**Any questions**](#any-questions)
- [**How to help**](#how-to-help)

## Installation

To get started with tutorial download the repository or clone it. Than create new conda environment install required dependencies from `requirements.txt`.

- Clone this repository locally.

  ```bash
  git clone https://github.com/deepanshut041/ml_agents-pytorch.git
  cd ml_agents-pytorch
  ```

- Create a new Python 3.7 The Environment.

  ```bash
  conda create --name unityai python=3.7
  activate unityai
  ```

- Install ml-agents and other dependencies.

  ```bash
  pip install -r requirements.txt
  ```

Now our environment is ready download Standalone environments and place them in `unity_envs` folder. You can download them from below according to your operating system.

- [Windows (64-bit)](https://drive.google.com/open?id=1yMMMJC4ttS118eqYbr2PpDSpdnyhSoDx)

## Environments

Basic

A linear movement task where the agent must move left or right to rewarding states. The goal is to move to the most reward state.

              :newspaper: Article
              :video_camera: Video Tutorial

              :file_folder: Implementation
              :page_with_curl: DQN

## Any questions

If you have any questions, feel free to ask me:

- **Mail**: <a href="mailto:squrlabs<EMAIL_ADDRESS>
- **Github**: [https://github.com/data-breach/MlAgents](https://github.com/data-breach/MlAgents)
- **Website**: [https://data-breach.github.io/MlAgents](https://data-breach.github.io/MlAgents)
- **Twitter**: @deepanshut041

Don't forget to follow me on twitter, github and Medium to be alerted of the new articles that I publish

## How to help

- **Clap on articles**: Clapping in Medium means that you like my articles. And the more claps I have, the more my article is shared to help them to be much more visible to the deep learning community.
- **Improve our notebooks**: if you found a bug or **a better implementation** you can send a pull request.


text:
# Open Telematics API

A project to enable business resiliency for motor freight carriers with tight integrations into Telematics Service Providers (TSPs).

![NMFTA Logo](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/image1.png)

This repository hosts the `v1.0-rc.0` draft formal specification of the Open Telematics API; in [API Blueprint format 1A](https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md).

The draft specification is pubished in various forms:

* here, in [`apiary.apib`](https://github.com/nmfta-repo/nmfta-opentelematics-api/blob/master/apiary.apib)
* at [opentelematicsapi.docs.apiary.io](https://opentelematicsapi.docs.apiary.io) as:
	* Interactive documentation
	* A mock server
* at [apimatic/.../nmfta-opentelematics-api](https://www.apimatic.io/apidocs/nmfta-opentelematics-api) as:
	* Exportable API specifications in multiple formats including: Open API 3.0, RAML 1.0, and Swagger 2.0
	* Downloadable (client) SDKs in .NET and Python

# Contributors

This Open Telematics API was made possible through the generous contributions of thought leadership and technical expertise
of many collaborators across the heavy vehicle cyber security community, working to push the industry forward and make it
more resilient. Though some of our contributors wish to remain anonymous, we are deeply grateful to everyone who has given
their time and energy to make this a reality.

| **Fleet Managers**   | **Telematics Providers** | **Independents**                                                |
|:--------------------:|:------------------------:|:---------------------------------------------------------------:|
| Bill Brown, SEFL     | Geotab                   | Altaz Valani, Security Compass                                  |
| Penske Truck Leasing | Samsara Networks, Inc.   | Andrew Smith, ISE Inc.                                          |
|                      | Omnitracs                | Dr. Jeremy Daily, UTulsa                                        |

![SEFL](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/SFL2c_300dpi-resized.jpg) ![Geotab](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/geotab-logo_full-colour-rgb_resized.png) ![Samsara Networks Inc.](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/samsara_horizontal_logo_black-resized.jpg) ![Security Compass](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/securitycompass-logo-resized.jpg) ![ISE Inc.](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/ISE_A_Trimble_Company_RGB.png) ![Omnitracs](https://raw.githubusercontent.com/nmfta-repo/nmfta-opentelematics-api/master/media/Omnitracs_logo_2015_CMYK_no_tagline.jpg)


text:
[![Angular Logo](./logo-angular.jpg)](https://angular.io/) [![Electron Logo](./logo-electron.jpg)](https://electron.atom.io/)

# Introduction

Desktop application (Electron and Angular 4+) for send and receive push notification with WebSockets.

Currently runs with:

- Angular v4.3.5
- Angular-CLI v1.4.1
- Electron v1.7.6
- Electron Packager v9.0.1

## Getting Started

Clone this repository locally :

``` bash
git clone https://github.com/itorK/push-desktop-app
```

Install dependencies with npm :

``` bash
npm install
```

There is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependencies manager.

If you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.

``` bash
npm install -g @angular/cli
```
##configuration

Change property `NOTIF_URL` at file `websocket.service.ts` to make communications with Websockets between server and this app.

## To build for development

- **in a terminal window** -> npm start
- **in another terminal window** -> npm run electron:serve

Voila! You can use your Angular + Electron app in a local development environment with hot reload !

The application code is managed by `main.ts`. In this sample, the app runs with a simple Electron window and "Developer Tools" is open.
The Angular component contains an example of Electron and NodeJS native lib import. See [Use NodeJS Native libraries](#use-nodejs-native-libraries) charpter if you want to import other native libraries in your project.
You can desactivate "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.ts`.

## To build for production

- Using development variables (environments/index.ts) :  `npm run electron:dev`
- Using production variables (environments/index.prod.ts) :  `npm run electron:prod`

Your built files are in the /dist folder.

## Included Commands

|Command|Description|
|--|--|
|`npm run start:web`| Execute the app in the brower |
|`npm run electron:linux`| Builds your application and creates an app consumable on linux system |
|`npm run electron:windows`| On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems |
|`npm run electron:mac`|  On a MAC OS, builds your application and generates a `.app` file of your application that can be run on Ma |

Notice that all NodeJS v7 native libs are already added in this sample. Feel free to remove those you don't need.

## Browser mode

Maybe you want to execute the application in the browser (WITHOUT HOT RELOAD ACTUALLY...) ? You can do it with `npm run start:web`.
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.

[<img alt="Karol Przybylski" width="117">](https://github.com/itorK) |
:---:
|[Karol Przybylski](https://github.com/itorK)|

repository: itorK/push-desktop-app

repo_name: itorK/push-desktop-app


text:
Coverage: 34%
# Project Title

IMS system porject

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
1. Make sure to have the latest version of java installed
2. Make sure you have access to the command terminal on your device

### Prerequisites

```
JDK 15.1
```

### Installing

A step by step series of examples that tell you how to get a development env running

1. Download IMS-0.0.1-jar-with-dependencies file from the documentation folder

```
IMS/documentation/IMS-0.0.1-jar-with-dependencies
```

Go to the folder where you have downloaded the file
On your explorer window click the path and type 'cmd'
```
Type in java- jar- IMS.0.0.1-jar-with-dependencies.jar
```

## Running the tests

To run the tests Fork the repository to your local machine. Then use an IDE to run the Junit tets

### Unit Tests
These tests test if the DAO functions correctly give the right output and if the database is working properly

```
	@Test
	public void testReadAll() {
		List<Customer> expected = new ArrayList<>();
		Customer customer = new Customer(1l, "jordan", "harrison");
		expected.add(customer);

		assertEquals(expected, customerDAO.readAll());

	}

```
This checks if the read all function works

### Integration Tests
These tests are made to make sure the objects are behaving correctly

```
	@Test
	public void testReadAll() {
		List<Customer> customers = new ArrayList<>();
		customers.add(new Customer(1l,"hoover", "hkfoor"));

		when(customerDAO.readAll()).thenReturn(customers);

		assertEquals(customers, customerController.readAll());

		verify(customerDAO, times(1)).readAll();
	}

```

## Built With

* [Maven](https://maven.apache.org/) - Dependency Management

## Versioning

We use git and github for versioning.

## Authors

* **Benediktas Noreika** - *Initial work* - [christophperrins](https://github.com/christophperrins)

## License

This project is licensed under the MIT license - see the [LICENSE.md](LICENSE.md) file for details

repository: BenediktasNoreika/IMS

repo_name: BenediktasNoreika/IMS


text:
# StoryChief addon for Statamic

## Description

Connect your Statamic website to [StoryChief](https://storychief.io) and publish straight to Statamic.

## Publish better content

Gain better collaboration, create more interactive and beautiful content with StoryChief and go Multi-Channel without any hurdles or technical requirements.

## Installation

Simply copy the `StoryChief` folder into `site/addons/`. That's it!

## HOW IT WORKS
1. Register on StoryChief
2. Add a Statamic channel
3. Install and activate the plugin
4. Configure the plugin by saving your encryption key and mapping
5. Publish from StoryChief to your Statamic website

**This plugin:**

* Publishes articles straight from StoryChief
* Keeps your formatting like header tags, bold, links, lists etc
* Does not alter your website’s branding, by using your site’s CSS for styling

## REQUIREMENTS
This plugin requires a StoryChief account.
Not a StoryChief user yet? [Sign up for free](https://app.storychief.io/register)!

repository: Story-Chief/statamic-addon

repo_name: Story-Chief/statamic-addon


text:
# CodeLens example extension

This is an example extension showing off how you can implement custom CodeLenses.

It adds a CodeLens called "Add console.log" to the top of all JS files. When
activated, it requests a line number and then will insert a console.log snippet
at that line number.

## Setup

To Test out the extension, download this repo, run `npm i`, and then go to the
debug panel in VS Code and run the "Extension" launch config.

repository: lannonbr/vscode-codelens-example

repo_name: lannonbr/vscode-codelens-example


text:
---
applied_at: '2021-04-01'
applies_to:
  - sdks
  - java
is_impactful: false
is_new_feature: true
release_source_url: 'https://github.com/box/box-java-sdk/releases/tag/v2.54.0'
collapse: true
---

# Box Java SDK `v2.54.0` released

**New Features and Enhancements:**

* Add file request support ([#869][1])

**Bug Fixes:**

* Fix `BoxWeblink` deserialization ([#881][2])

[1]: https://github.com/box/box-java-sdk/pull/869

[2]: https://github.com/box/box-java-sdk/pull/881

repository: box/box-developer-changelog

gha_language: JavaScript

repo_name: box/box-developer-changelog


text:
### 2016-04-06

#### swift
* [
      SimonFairbairn
      /
      SwiftyMarkdown
](https://github.com/SimonFairbairn/SwiftyMarkdown):
      Converts Markdown files and strings into NSAttributedString

* [
      gmarm
      /
      BetterSegmentedControl
](https://github.com/gmarm/BetterSegmentedControl):
      An easy to use, customizable replacement for UISegmentedControl & UISwitch.

* [
      prolificinteractive
      /
      Caishen
](https://github.com/prolificinteractive/Caishen):
      A Payment Card UI & Validator for iOS

* [
      mortenjust
      /
      cleartext-mac
](https://github.com/mortenjust/cleartext-mac):
      A text editor that only allows the top 1,000 most common words in English

* [
      jakarmy
      /
      swift-summary
](https://github.com/jakarmy/swift-summary):
      A summary of Apple's Swift language written on Playgrounds

* [
      mkoehnke
      /
      WKZombie
](https://github.com/mkoehnke/WKZombie):
      WKZombie is a Swift library for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. In addition, it can be used to run automated tests or manipulate websites using Javascript.

* [
      JellyDevelopment
      /
      JDAnimationKit
](https://github.com/JellyDevelopment/JDAnimationKit):
      Animate easy and with less code with Swift

* [
      delba
      /
      Permission
](https://github.com/delba/Permission):
      A unified API to ask for permissions on iOS

* [
      Alamofire
      /
      Alamofire
](https://github.com/Alamofire/Alamofire):
      Elegant HTTP Networking in Swift

* [
      danielgindi
      /
      Charts
](https://github.com/danielgindi/Charts):
      Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.

* [
      hyperoslo
      /
      Whisper
](https://github.com/hyperoslo/Whisper):
      Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside

* [
      fortmarek
      /
      SwipeViewController
](https://github.com/fortmarek/SwipeViewController):
      SwipeViewController is a Swift modification of RKSwipeBetweenViewControllers - navigate between pages / ViewControllers

* [
      vsouza
      /
      awesome-ios
](https://github.com/vsouza/awesome-ios):
      A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects

* [
      Nododo
      /
      Swift_100days
](https://github.com/Nododo/Swift_100days):
      Welcome to focus my Weibo！

* [
      ReactiveX
      /
      RxSwift
](https://github.com/ReactiveX/RxSwift):
      Reactive Programming in Swift

* [
      jathu
      /
      UIImageColors
](https://github.com/jathu/UIImageColors):
      iTunes style color fetcher for UIImage.

* [
      suzuki-0000
      /
      SKPhotoBrowser
](https://github.com/suzuki-0000/SKPhotoBrowser):
      Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift

* [
      liuzhiyi1992
      /
      ZYThumbnailTableView
](https://github.com/liuzhiyi1992/ZYThumbnailTableView):
      a TableView have thumbnail cell only, and you can use gesture let it expands other expansionView, all diy

* [
      czechboy0
      /
      Socks
](https://github.com/czechboy0/Socks):
      Pure-Swift Sockets: TCP, UDP; Client, Server; Linux, OS X.

* [
      ypresto
      /
      SwiftLintXcode
](https://github.com/ypresto/SwiftLintXcode):
      An Xcode plug-in to format your code using SwiftLint.

* [
      marmelroy
      /
      PeekPop
](https://github.com/marmelroy/PeekPop):
      Peek and Pop with backwards-compatibility

* [
      s4cha
      /
      ws
](https://github.com/s4cha/ws):
      Elegant JSON WebService for Swift

* [
      bizz84
      /
      SwiftyStoreKit
](https://github.com/bizz84/SwiftyStoreKit):
      Lightweight In App Purchases Swift framework for iOS 8.0+ and OSX 9.0+

* [
      szk-atmosphere
      /
      MartyJunior
](https://github.com/szk-atmosphere/MartyJunior):
      You can change tab contents with swipe gesture on middle of UITableView!!

* [
      ytakzk
      /
      Fusuma
](https://github.com/ytakzk/Fusuma):
      Instagram-like photo browser and a camera feature with a few line of code in Swift.

#### objective-c
* [
      gsdios
      /
      SDAutoLayout
](https://github.com/gsdios/SDAutoLayout):
      One line of code to implement automatic layout. 一行代码搞定自动布局！支持Cell和Tableview高度自适应，Label和ScrollView内容自适应，致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based Runtime.Auto Layout .

* [
      AFNetworking
      /
      AFNetworking
](https://github.com/AFNetworking/AFNetworking):
      A delightful networking framework for iOS, OS X, watchOS, and tvOS.

* [
      CoderJackyHuang
      /
      HYBImageCliped
](https://github.com/CoderJackyHuang/HYBImageCliped):
      开源高效处理圆角的扩展，包括UIImageView、UIView、UIButton、UIImage的扩展API，可根据图片颜色生成图片带任意圆角，可给UIButton根据不同状态处理图片。所有生成图片都不会引起离屏渲染且不会引起离屏、图层混合，支持添加图片边框

* [
      gsdios
      /
      GSD_WeiXin
](https://github.com/gsdios/GSD_WeiXin):
      高仿微信

* [
      dormitory219
      /
      ChatKit
](https://github.com/dormitory219/ChatKit):
      a workSpace For imServce

* [
      MSS0306
      /
      MSSCalendar
](https://github.com/MSS0306/MSSCalendar):
      A simple iOS Calendar

* [
      robbiehanson
      /
      CocoaAsyncSocket
](https://github.com/robbiehanson/CocoaAsyncSocket):
      Asynchronous socket networking library for Mac and iOS

* [
      SnapKit
      /
      Masonry
](https://github.com/SnapKit/Masonry):
      Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout

* [
      ChenYilong
      /
      iOSInterviewQuestions
](https://github.com/ChenYilong/iOSInterviewQuestions):
      iOS面试题集锦（附答案）--学习交流群541317935

* [
      ibireme
      /
      YYKit
](https://github.com/ibireme/YYKit):
      A collection of iOS components.

* [
      ReactiveCocoa
      /
      ReactiveCocoa
](https://github.com/ReactiveCocoa/ReactiveCocoa):
      Streams of values over time

* [
      bang590
      /
      JSPatch
](https://github.com/bang590/JSPatch):
      JSPatch bridge Objective-C and Javascript using the Objective-C runtime. You can call any Objective-C class and method in JavaScript by just including a small engine. JSPatch is generally use for hotfix iOS App.

* [
      icanzilb
      /
      JSONModel
](https://github.com/icanzilb/JSONModel):
      Magical Data Modelling Framework for JSON. Create rapidly powerful, atomic and smart data model classes

* [
      MoZhouqi
      /
      KMNavigationBarTransition
](https://github.com/MoZhouqi/KMNavigationBarTransition):
      A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically.

* [
      git-up
      /
      GitUp
](https://github.com/git-up/GitUp):
      The Git interface you've been missing all your life has finally arrived.

* [
      rs
      /
      SDWebImage
](https://github.com/rs/SDWebImage):
      Asynchronous image downloader with cache support as a UIImageView category

* [
      spotify
      /
      SPTPersistentCache
](https://github.com/spotify/SPTPersistentCache):
      Everyone tries to implement a cache at some point in their iOS app's lifecycle, and this is ours.

* [
      codingZero
      /
      XRCarouselView
](https://github.com/codingZero/XRCarouselView):
      The easiest way to use image circulate，超简单好用的图片轮播框架

* [
      ccgus
      /
      fmdb
](https://github.com/ccgus/fmdb):
      A Cocoa / Objective-C wrapper around SQLite

* [
      gsdios
      /
      SDCycleScrollView
](https://github.com/gsdios/SDCycleScrollView):
      Autoscroll Banner. “iOS第一图片轮播器” 无限循环图片轮播器。

* [
      alcatraz
      /
      Alcatraz
](https://github.com/alcatraz/Alcatraz):
      Package manager for Xcode

* [
      marcuswestin
      /
      WebViewJavascriptBridge
](https://github.com/marcuswestin/WebViewJavascriptBridge):
      An iOS/OSX bridge for sending messages between Obj-C and JavaScript in UIWebViews/WebViews

* [
      renzifeng
      /
      ZFPlayer
](https://github.com/renzifeng/ZFPlayer):
      基于AVPlayer，支持横屏、竖屏（全屏播放还可锁定屏幕方向），上下滑动调节音量、屏幕亮度，左右滑动调节播放进度。 Based on AVPlayer, support for the horizontal screen, vertical screen (full screen playback can also lock the screen direction), the upper and lower slide to adjust the volume, the screen brightness, or so slide to adjust the playback progress

* [
      hackiftekhar
      /
      IQKeyboardManager
](https://github.com/hackiftekhar/IQKeyboardManager):
      Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.

* [
      BradLarson
      /
      GPUImage
](https://github.com/BradLarson/GPUImage):
      An open source iOS framework for GPU-based image and video processing

#### go
* [
      tsenart
      /
      vegeta
](https://github.com/tsenart/vegeta):
      HTTP load testing tool and library. It's over 9000!

* [
      future-architect
      /
      vuls
](https://github.com/future-architect/vuls):
      Vulnerability scanner for Linux, agentless, written in golang.

* [
      labstack
      /
      echo
](https://github.com/labstack/echo):
      Echo is a fast and unfancy web framework for Go (Golang). Up to 10x faster than the rest.

* [
      getlantern
      /
      lantern
](https://github.com/getlantern/lantern):

 Open Internet for everyone. Lantern is a free desktop application that delivers fast, reliable and secure access to the open Internet for users in censored regions. It uses a variety of techniques to stay unblocked, including P2P and domain fronting. Lantern relies on users in uncensored regions acting as access points to the open Internet.

* [
      gogits
      /
      gogs
](https://github.com/gogits/gogs):
      Gogs (Go Git Service) is a painless self-hosted Git service.

* [
      qor
      /
      qor
](https://github.com/qor/qor):
      QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.

* [
      docker
      /
      docker
](https://github.com/docker/docker):
      Docker - the open-source application container engine

* [
      astaxie
      /
      build-web-application-with-golang
](https://github.com/astaxie/build-web-application-with-golang):
      A golang ebook intro how to build a web with golang

* [
      grafana
      /
      grafana
](https://github.com/grafana/grafana):
      Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB

* [
      spf13
      /
      hugo
](https://github.com/spf13/hugo):
      A Fast and Flexible Static Site Generator built with love in GoLang

* [
      itsabot
      /
      abot
](https://github.com/itsabot/abot):
      Abot makes it easy and fun to build your own digital assistant, and we include everything you need to get started.

* [
      golang
      /
      go
](https://github.com/golang/go):
      The Go programming language

* [
      galeone
      /
      rts
](https://github.com/galeone/rts):
      RTS: request to struct. Generates Go structs from JSON server responses.

* [
      fanux
      /
      lhttp
](https://github.com/fanux/lhttp):
      go websocket

* [
      drone
      /
      drone
](https://github.com/drone/drone):
      Drone is a Continuous Delivery platform built on Docker, written in Go

* [
      otoolep
      /
      rqlite
](https://github.com/otoolep/rqlite):
      Replicating SQLite using the Raft consensus protocol

* [
      kubernetes
      /
      kubernetes
](https://github.com/kubernetes/kubernetes):
      Container Cluster Manager from Google

* [
      hashicorp
      /
      terraform
](https://github.com/hashicorp/terraform):
      Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.

* [
      cockroachdb
      /
      cockroach
](https://github.com/cockroachdb/cockroach):
      A Scalable, Survivable, Strongly-Consistent SQL Database

* [
      itchyny
      /
      maze
](https://github.com/itchyny/maze):
      A maze command written in Go

* [
      coreos
      /
      etcd
](https://github.com/coreos/etcd):
      Distributed reliable key-value store for the most critical data of a distributed system

* [
      titanous
      /
      noise
](https://github.com/titanous/noise):
      Go implementation of trevp/noise

* [
      hashicorp
      /
      consul
](https://github.com/hashicorp/consul):
      Consul is a tool for service discovery, monitoring and configuration.

* [
      astaxie
      /
      beego
](https://github.com/astaxie/beego):
      beego is an open-source, high-performance web framework for the Go programming language.

* [
      avelino
      /
      awesome-go
](https://github.com/avelino/awesome-go):
      A curated list of awesome Go frameworks, libraries and software

#### javascript
* [
      FreeCodeCamp
      /
      FreeCodeCamp
](https://github.com/FreeCodeCamp/FreeCodeCamp):
      The http://FreeCodeCamp.com open source codebase and curriculum. Learn to code and help nonprofits.

* [
      andris9
      /
      mailtrain
](https://github.com/andris9/mailtrain):
      Self hosted newsletter app

* [
      kadirahq
      /
      react-storybook
](https://github.com/kadirahq/react-storybook):
      Isolate your React UI Component development from the main app

* [
      typicode
      /
      hotel
](https://github.com/typicode/hotel):
      local .dev domains for everyone and more!

* [
      FezVrasta
      /
      popper.js
](https://github.com/FezVrasta/popper.js):
      A ~3.5KB kickass library to manage your poppers

* [
      thejameskyle
      /
      the-super-tiny-compiler
](https://github.com/thejameskyle/the-super-tiny-compiler):

 Possibly the smallest compiler ever

* [
      appbaseio
      /
      Docbase
](https://github.com/appbaseio/Docbase):
      Turn markdown docs into beautiful sites

* [
      flickr
      /
      justified-layout
](https://github.com/flickr/justified-layout):
      Pass in box sizes and get back sizes and coordinates for a justified layout

* [
      ptmt
      /
      react-native-desktop
](https://github.com/ptmt/react-native-desktop):
      React Native for OS X

* [
      nnupoor
      /
      js_designpatterns
](https://github.com/nnupoor/js_designpatterns):
* [
      airbnb
      /
      javascript
](https://github.com/airbnb/javascript):
      JavaScript Style Guide

* [
      transloadit
      /
      uppy
](https://github.com/transloadit/uppy):

 A work in progress - you'll find nothing useful here yet.

* [
      getify
      /
      You-Dont-Know-JS
](https://github.com/getify/You-Dont-Know-JS):
      A book series on JavaScript. @YDKJS on twitter.

* [
      facebook
      /
      react-native
](https://github.com/facebook/react-native):
      A framework for building native apps with React.

* [
      rewonc
      /
      pastalog
](https://github.com/rewonc/pastalog):
      Simple, realtime visualization of neural network training performance.

* [
      dantrain
      /
      react-stonecutter
](https://github.com/dantrain/react-stonecutter):
      Animated grid layout component for React

* [
      facebook
      /
      react
](https://github.com/facebook/react):
      A declarative, efficient, and flexible JavaScript library for building user interfaces.

* [
      zaqqaz
      /
      ng-rest-api
](https://github.com/zaqqaz/ng-rest-api):

 Rest API provider for angular.

* [
      vizflow
      /
      vizflow
](https://github.com/vizflow/vizflow):
      vizflow is an ES6 interactive visualization engine

* [
      callemall
      /
      material-ui
](https://github.com/callemall/material-ui):
      React Components that Implement Google's Material Design.

* [
      reactjs
      /
      redux
](https://github.com/reactjs/redux):
      Predictable state container for JavaScript apps

* [
      mbostock
      /
      d3
](https://github.com/mbostock/d3):
      A JavaScript visualization library for HTML and SVG.

* [
      Dogfalo
      /
      materialize
](https://github.com/Dogfalo/materialize):
      Materialize, a CSS Framework based on Material Design

* [
      nodejs
      /
      node
](https://github.com/nodejs/node):
      Node.js JavaScript runtime

* [
      kenwheeler
      /
      cash
](https://github.com/kenwheeler/cash):
      An absurdly small jQuery alternative for modern browsers

#### ruby
* [
      fastlane
      /
      fastlane
](https://github.com/fastlane/fastlane):
      Connect all iOS and Android deployment tools into one streamlined workflow

* [
      Homebrew
      /
      brew
](https://github.com/Homebrew/brew):

 The missing package manager for OS X

* [
      jekyll
      /
      jekyll
](https://github.com/jekyll/jekyll):

 Jekyll is a blog-aware, static site generator in Ruby

* [
      rails
      /
      rails
](https://github.com/rails/rails):
      Ruby on Rails

* [
      Homebrew
      /
      homebrew-core
](https://github.com/Homebrew/homebrew-core):

 Core formulae for the Homebrew package manager

* [
      jondot
      /
      awesome-react-native
](https://github.com/jondot/awesome-react-native):
      An "awesome" type curated list of React Native components, news, tools, and learning material

* [
      mitchellh
      /
      vagrant
](https://github.com/mitchellh/vagrant):
      Vagrant is a tool for building and distributing development environments.

* [
      shakacode
      /
      react_on_rails
](https://github.com/shakacode/react_on_rails):
      Integration of React + Webpack + Rails to build Universal (Isomorphic) Apps

* [
      iridakos
      /
      duckrails
](https://github.com/iridakos/duckrails):
      A development tool to quickly & dynamically mock API endpoints

* [
      discourse
      /
      discourse
](https://github.com/discourse/discourse):
      A platform for community discussion. Free, open, simple.

* [
      orta
      /
      pragmatic-testing
](https://github.com/orta/pragmatic-testing):
      Pragmatic testing ebook

* [
      jamis
      /
      bulk_insert
](https://github.com/jamis/bulk_insert):
      Efficient bulk inserts with ActiveRecord

* [
      bbatsov
      /
      rubocop
](https://github.com/bbatsov/rubocop):
      A Ruby static code analyzer, based on the community Ruby style guide.

* [
      gitlabhq
      /
      gitlabhq
](https://github.com/gitlabhq/gitlabhq):
      GitLab is version control for your server

* [
      ruby
      /
      ruby
](https://github.com/ruby/ruby):
      The Ruby Programming Language

* [
      asross
      /
      repor
](https://github.com/asross/repor):
      Rails data aggregation framework

* [
      airblade
      /
      paper_trail
](https://github.com/airblade/paper_trail):
      Track changes to your models' data. Good for auditing or versioning.

* [
      elastic
      /
      logstash
](https://github.com/elastic/logstash):
      logstash - transport and process your logs, events, or other data

* [
      amatsuda
      /
      kaminari
](https://github.com/amatsuda/kaminari):
      A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Rails 3 and 4

* [
      rapid7
      /
      metasploit-framework
](https://github.com/rapid7/metasploit-framework):
      Metasploit Framework

* [
      jordansissel
      /
      fpm
](https://github.com/jordansissel/fpm):
      Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.

* [
      github
      /
      linguist
](https://github.com/github/linguist):
      Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

* [
      fluent
      /
      fluentd
](https://github.com/fluent/fluentd):
      Fluentd data collector

* [
      CocoaPods
      /
      CocoaPods
](https://github.com/CocoaPods/CocoaPods):
      The Cocoa Dependency Manager.

* [
      mperham
      /
      sidekiq
](https://github.com/mperham/sidekiq):
      Simple, efficient background processing for Ruby

repository: josephyzhou/github-trending

gha_language: Go

repo_name: josephyzhou/github-trending


text:
# Wireless Sensor Receiver Hub

[![Arduino Compile Sketches](https://github.com/Andy4495/Wireless-Sensor-Receiver-Hub/actions/workflows/arduino-compile-sketches.yml/badge.svg)](https://github.com/Andy4495/Wireless-Sensor-Receiver-Hub/actions/workflows/arduino-compile-sketches.yml)
[![Check Markdown Links](https://github.com/Andy4495/Wireless-Sensor-Receiver-Hub/actions/workflows/CheckMarkdownLinks.yml/badge.svg)](https://github.com/Andy4495/Wireless-Sensor-Receiver-Hub/actions/workflows/CheckMarkdownLinks.yml)

![Fully assembled Hub: Ethernet Shield (bottom), Shield-LaunchPad Interface (middle-bottom), MSP-EXP430FR6989 LaunchPad (middle-top), and CC110L BoosterPack (top).](jpg/hub.jpg)

This sketch is an example of a wireless receiver hub which receives sensor readings from various low-power, battery-operated remote sensors. These sensors use a short-range, low-power communication protocol implemented with CC110L [BoosterPack][2] from Texas Instruments. The hub receives periodic readings from the remote sensors and forwards the data using MQTT to the [ThingSpeak][5] IoT platform over ethernet.

The sketch is specifically designed to run on an MSP-EXPFR6989 [LaunchPad][1], CC110L [BoosterPack][2], and W5200-based [ethernet shield][3]. It will probably run on other MSP430-based lauchpads with sufficient program memory and minor code changes.

The code is not very generic and is currently written to support two types of sensors with specific data structures:

- An outdoor weather sensing station based on the SENSORS BoosterPack
- Simple, low-power MSP430 module using its internal temperature sensor

The current design sends the received sensor readings to the [ThingSpeak][5] IOT platform. Previous iterations used [Adafruit's][4] and [Cayenne's][9] platforms.

The built-in LCD display on the LaunchPad is used to display current temperature and battery level from the weather station sensor, plus connection status with the MQTT server (the antenna symbol).

An external OLED display is also supported, and can be used to print miscellaneous status information. This OLED display is optional and not necessary for basic receiver hub operation.

Additional sensors and changes to the data structures of the existing sensors would require changes to this sketch. Feel free to use this as a starting point, but do not expect it to work as-is for your application.

See the [Hardware](./Hardware) folder for specific hardware details.

Please read the sketch comments for details on the software operation.

## Header Files for User-Specific Info

In order to compile the code, an additional header file is needed: `MQTT_private_config.h`.

A template of the file named `MQTT_private_config-template` is included in the repo. This file should be updated with data specific to your configuration and then copied to `MQTT_private_config.h`.

In addition, `MQTT_publishing_feeds.h` should be updated with channel information specific to your application.

## Thingspeak API updates

ThingSpeak updated their MQTT interface in July 2021 with release [R2021a][10], which changed how MQTT API authentication works.

Instead of authenticating using your ThingSpeak username and MQTT API key, the updated method uses a separate MQTT device client ID and password. In addition, the ThingSpeak MQTT server is now named `mqtt3.thingspeak.com`.

The code and header files have been updated with these changes.

## External Libraries

- [Modified version][15] of Adafruit MQTT Library version 1.3.0
- [Modified version][17] of the WIZnet Ethernet Library
- [NewhavenOLED](https://github.com/Andy4495/NewhavenOLED)
  *The NewhavenOLED library is only needed if you plan to use an external OLED display as mentioned above.*

## Supported Remote Sensors

- [MSP430 Low Power Temperature Sensor][14]
- [MSP430 Temperature Sensor with Display][11]
- [MSP430 Temperature Sensor with Built-in LCD][19]
- [Outdoor Weather Sensor][12]
- [Sensor Repeater][13]

## References

- [MSP430FR6989 LaunchPad][1]
- CC110L BoosterPack [Quick Start Guide][2]
- [Seeed Studio W5200 Ethernet Shield][3]
- [ThingSpeak][5] IoT Platform
- ThingSpeak [release notes][10]
- Original [WIZnet Ethernet Library][18]
- Original [Adafruit MQTT Library][16]

## License

The software and other files in this repository are released under what is commonly called the [MIT License][100]. See the file [`LICENSE.txt`][101] in this repository.

[1]: http://www.ti.com/tool/MSP-EXP430FR6989
[2]: https://www.ti.com/lit/ml/swru312b/swru312b.pdf
[3]: http://wiki.seeedstudio.com/Ethernet_Shield_V2.0/
[4]: https://io.adafruit.com/
[5]: https://thingspeak.com/
[9]: https://cayenne.mydevices.com
[10]: https://www.mathworks.com/help/thingspeak/release-notes.html
[11]: https://github.com/Andy4495/MSP430TempSensorWithDisplay
[12]: https://github.com/Andy4495/Outdoor-Weather-Sensor
[13]: https://github.com/Andy4495/Sensor-Repeater
[14]: https://github.com/Andy4495/MSP430LowPowerTempSensor
[15]: https://github.com/Andy4495/Adafruit_MQTT_Library-1.3.0
[16]: https://github.com/adafruit/Adafruit_MQTT_Library
[17]: https://github.com/Andy4495/WIZ_Ethernet_Library
[18]: https://github.com/Wiznet/WIZ_Ethernet_Library
[19]: https://github.com/Andy4495/MSP430TempSensorLCD
[100]: https://choosealicense.com/licenses/mit/
[101]: ./LICENSE.txt
[//]: # ([200]: https://github.com/Andy4495/Wireless-Sensor-Receiver-Hub)


text:
# Unity-Bullet-Emitters
Code used for Game Objects to emit bullets for shoot 'em up or danmaku games.

This code contains an example ObjectPool and GameState, but that is up to the game implementation.

It's a pretty simple approach to have bullet emitters shoot at a target, at a fixed direction, and a more complex emitter that can be configured on every instance of an object.
Updating the `BasicBulletEmitter` in fixedupdate cycles allow to create some basic but interesting patterns that can be easily applied into any 2D shooting game gameplay.

repository: Joimer/Unity-Bullet-Emitters

repo_name: Joimer/Unity-Bullet-Emitters


text:
---
title: Recovering from removed controlplane chart release with removed assets directory
weight: 10
---

## Introduction

If you see the following error while running `lokoctl cluster apply` command:
```console
Controlplane component 'lokomotive' is missing, reinstalling...FATA[0086] Applying cluster failed: ensuring controlplane component "lokomotive": loading chart from assets: loading chart from asset directory "lokomotive-assets/cluster-assets/charts/lokomotive-system/lokomotive": stat lokomotive-assets/cluster-assets/charts/lokomotive-system/lokomotive: no such file or directory  args="[]" command="lokoctl cluster apply"
```

This means that the Helm release of some of the controlplane components has been uninstalled from your
cluster and `lokoctl` is not able to find a local copy of this controlplane component Helm chart in the
cluster assets directory.

As part of the `cluster apply` process, `lokoctl` ensures that the cluster is aligned with the last applied
configuration before the cluster is updated. This is done to ensure that the update process is consistent.

If a Helm release of some of the controlplane component is uninstalled from the cluster, `lokoctl cluster apply`
will re-install it before proceeding with the upgrade process to ensure that the cluster update is performed only
on a stable cluster. The re-installation process will be performed before the cluster assets directory is updated.

If you end up in a situation where the two conditions mentioned are met, `lokoctl cluster apply` has no way of knowing
which `lokoctl` version was used for the last cluster configuration, so it cannot guarantee that assets embedded in the
running binary will not update the cluster. To ensure safety, an error is returned in such cases.

Follow the steps below to resolve it.

### Checking which lokoctl version was used last time to manage the cluster

If you are sure that your local `lokoctl` binary is the same one which was used the last time you ran `lokoctl cluster apply`
successfully, you can run `lokoctl cluster apply` with the `--skip-pre-update-health-check` flag. This will skip the initial health
check and perform an upgrade from assets embedded in the binary, which should resolve the issue.

If you are not sure which version of `lokoctl` was used the last time, you can find it in the Terraform state.

To do that, first go to the cluster Terraform directory:

```sh
cd $ASSET_DIR/terraform
```

Where `$ASSET_DIR` matches the one defined in `asset_dir` in the `cluster` block.

Then, run the following command:

```sh
terraform state pull | grep lokoctl-version | uniq
```

It should print something similar to the following:

```console
$ terraform state pull | grep lokoctl-version | uniq
              "lokoctl-version": "v0.5.0"
```

Please note that `lokoctl-version` may not be available in Terraform state in all supported providers.

Then, you can compare the value with the output of `lokoctl version`.

### if version does not match

If the version of your local `lokoctl` binary does not match, get the right binary from the
[Releases](https://github.com/kinvolk/lokomotive/releases) page, then proceed with the steps below.

### If version matches

If the version matches, run the following command to fix your cluster:

```sh
lokoctl cluster apply --skip-pre-update-health-check
```

This will skip pre-update health checks, unpack embedded charts from the binary and run the upgrade process,
which should only re-install the missing releases.

repository: surajssd/lokomotive

repo_name: surajssd/lokomotive


text:
# 4.7 Input Validation Testing

4.7.1 [Testing for Reflected Cross Site Scripting](01-Testing_for_Reflected_Cross_Site_Scripting.md)

4.7.2 [Testing for Stored Cross Site Scripting](02-Testing_for_Stored_Cross_Site_Scripting.md)

4.7.3 [Testing for HTTP Verb Tampering](03-Testing_for_HTTP_Verb_Tampering.md)

4.7.4 [Testing for HTTP Parameter Pollution](04-Testing_for_HTTP_Parameter_Pollution.md)

4.7.5 [Testing for SQL Injection](05-Testing_for_SQL_Injection.md)

- <IP_ADDRESS> [Testing for Oracle](05.1-Testing_for_Oracle.md)

- <IP_ADDRESS> [Testing for MySQL](05.2-Testing_for_MySQL.md)

- <IP_ADDRESS> [Testing for SQL Server](05.3-Testing_for_SQL_Server.md)

- <IP_ADDRESS> [Testing PostgreSQL](05.4-Testing_PostgreSQL.md)

- <IP_ADDRESS> [Testing for MS Access](05.5-Testing_for_MS_Access.md)

- <IP_ADDRESS> [Testing for NoSQL Injection](05.6-Testing_for_NoSQL_Injection.md)

- <IP_ADDRESS> [Testing for ORM Injection](05.7-Testing_for_ORM_Injection.md)

- <IP_ADDRESS> [Testing for Client-side](05.8-Testing_for_Client-side.md)

4.7.6 [Testing for LDAP Injection](06-Testing_for_LDAP_Injection.md)

4.7.7 [Testing for XML Injection](07-Testing_for_XML_Injection.md)

4.7.8 [Testing for SSI Injection](08-Testing_for_SSI_Injection.md)

4.7.9 [Testing for XPath Injection](09-Testing_for_XPath_Injection.md)

4.7.10 [Testing for IMAP SMTP Injection](10-Testing_for_IMAP_SMTP_Injection.md)

4.7.11 [Testing for Code Injection](11-Testing_for_Code_Injection.md)

- <IP_ADDRESS> [Testing for Local File Inclusion](11.1-Testing_for_Local_File_Inclusion.md)

- <IP_ADDRESS> [Testing for Remote File Inclusion](11.2-Testing_for_Remote_File_Inclusion.md)

4.7.12 [Testing for Command Injection](12-Testing_for_Command_Injection.md)

4.7.13 [Testing for Format String Injection](13-Testing_for_Format_String_Injection.md)

4.7.14 [Testing for Incubated Vulnerability](14-Testing_for_Incubated_Vulnerability.md)

4.7.15 [Testing for HTTP Splitting Smuggling](15-Testing_for_HTTP_Splitting_Smuggling.md)

4.7.16 [Testing for HTTP Incoming Requests](16-Testing_for_HTTP_Incoming_Requests.md)

4.7.17 [Testing for Host Header Injection](17-Testing_for_Host_Header_Injection.md)

4.7.18 [Testing for Server-side Template Injection](18-Testing_for_Server-side_Template_Injection.md)

4.7.19 [Testing for Server-Side Request Forgery](19-Testing_for_Server-Side_Request_Forgery.md)

repository: doverh/wstg-translations-pt

repo_name: doverh/wstg-translations-pt


text:
---
title: Scheduler
order: 3
sequence_diagrams:  true
---

Task-Graph Scheduling
=====================
The task-graph scheduler, hosted at **`scheduler.taskcluster.net`**, is
responsible for scheduling dependent tasks with the queue. In this framework
the queue ensures execution, but it does not handle dependencies, nor is the
queue aware of task specific results. The queue only cares about task
completion, specifically that a task completed in a predictable manner.

The task-graph scheduler on the other hand, doesn't care about which tasks are
pending, whether or not machines crashes, etc. It cares about the result of
completed tasks. Hence, when a task completes it is the task-graph scheduler
that schedules dependent tasks, or tries to rerun the task if it completed
unsuccessfully.

**Notice**, the distinction between _rerun_ and _retry_, the queue _retries_ as
task if the worker failed to respond (ie. crashed), the scheduler _reruns_ a
task if the task completed unsuccessfully, (ie. the task payload command exited
non-zero).

Scheduler Interaction Example
-----------------------------
The following diagram illustrates how the task-graph scheduler defines tasks
from a task-graph on the queue, then schedules tasks without dependencies, in
this case taskA. When the task is completed by the queue, cooperation with
workers and provisioners, the scheduler picks up the next task completed
message and schedules any dependent tasks or reports the task-graph finished.

<div class="sequence-diagram-hand" style="margin:auto;">
participant Client
participant Scheduler
participant RabbitMQ
participant Queue

Client      ->  Scheduler   : Post task-graph
Scheduler   ->  RabbitMQ    : Bind completed tasks
Scheduler   ->  Queue       : Define taskA and taskB
Scheduler   ->  Queue       : Schedule taskA
Note over Queue : Worker completes taskA from queue
Queue       ->  RabbitMQ    : TaskA completed
RabbitMQ    --> Scheduler   : TaskA completed
Scheduler   ->  Queue       : Schedule taskB
Note over Queue : Worker completes taskB from queue
Queue       ->  RabbitMQ    : TaskB completed
RabbitMQ    --> Scheduler   : TaskB completed
Scheduler   ->  RabbitMQ    : Task-graph finished
</div>

If a task was to fail, the task-graph scheduler would report the task-graph as
blocked.

repository: Hexcles/taskcluster-docs

repo_name: Hexcles/taskcluster-docs


text:
---
layout: splash
permalink: /
excerpt: "Workshop at INLG 2020<br /> Dublin Ireland, 15-18 December 2020"
layout: single
classes: wide
header:
  overlay_color: "#000"
  overlay_filter: "0.1"
  overlay_image: /assets/images/bc.png
---

**Announcement**: INLG 2020 and its workshops are organized virtually due to the COVID-19 pandemic. More information soon.
{: .notice--danger}

tba

### Important Dates:

* Call for workshop papers or abstracts: July 20, 2020
* Submission deadline: September 20, 2020
* Notification of acceptance: October 20, 2020
* [INLG 2020 early registration](): tba (tba USD / workshop only)
* Camera ready papers due: November 20, 2020
* Workshop:

### Submission instructions

Position papers should be formatted using the [INLG Template]() and *not* anonymised.

* Submission website: [tba]()

### Organisers:

Shubham Agarwal, Ondrej Dusek, Sebastian Gehrmann, Dimitra Gkatzia, Ioannis Konstas, Emiel van Miltenburg, Sashank Santhanam, Samira Shaikh


text:
Debian-Gitlab-ce-multi-runner
=============================

GitLab runner for continuous integration service

Requirements
------------

This role requires a debian compliant system such as ubuntu.

Role Variables
--------------

No variables

Dependencies
------------

- cowops.debian-gitlab-ce

Example Playbook
----------------

    - hosts: servers
      roles:
         - { role: cowops.debian-gitlab-ce-multi-runner }

Tasks
-----

  - Install dependencies
  - Install [docker](https://www.docker.com/)
  - Install [gitlab-ce-multi-runner](https://about.gitlab.com/2016/08/05/continuous-integration-delivery-and-deployment-with-gitlab/)

License
-------

BSD

repository: cowops/debian-gitlab-ce-multi-runner

repo_name: cowops/debian-gitlab-ce-multi-runner


text:
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) > [paramodel](./paramodel.md) > [ActionResult](./paramodel.actionresult.md) > [base](./paramodel.actionresult.base.md)

## ActionResult.base property

Commit version at which the action was executed

<b>Signature:</b>

```typescript
readonly base: number;
```

license: ISC

repository: mwikstrom/paramodel

repo_name: mwikstrom/paramodel


text:
# 28th March 2022 [![Subscribe](https://img.shields.io/badge/%F0%9F%9A%80-subscribe!-important)](https://www.architecture-weekly.com/?utm_source=github_architecture_weekly)

****[Join the Paid Subscribers community to get access to exclusive webinars and a Discord channel where you can meet fellow Architects.](https://www.architecture-weekly.com/p/whats-architecture-weekly)**

Ukraine is still under brutal Russian invasion. A lot of Ukrainian people are hurt, without shelter and need help.** You can help in various ways, for instance, directly helping refugees, spreading awareness, putting pressure on your local government or companies. You can also support Ukraine by donating e.g. to [Red Cross](https://redcross.org.ua/en/), [Ukraine humanitarian organisation](https://savelife.in.ua/en/donate/). You may also consider joining [Tech for Ukraine](https://techtotherescue.org/tech/tech-for-ukraine) initiative.

----

## Architecture
- [MDN - HTTP conditional requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests)
- [Mathias Verraes - Eventsourcing Patterns: Multi-temporal Events](https://verraes.net/2022/03/multi-temporal-events/)
- [Kevin Swiber - What is API Observability?](https://hackernoon.com/what-is-api-observability)
- [Hugo Rocha - Solving Concurrency in Event-Driven Microservices](https://itnext.io/solving-concurrency-in-event-driven-microservices-79bbc13b597c)
- [CNCF - The maintainer's toolkit: Must-know resources for CNCF projects](https://www.cncf.io/blog/2022/03/10/the-maintainers-toolkit-must-know-resources-for-cncf-projects/)

## DevOps
- [Chris Spitzenberger - Terraform vs. AWS CloudFormation: Key Differences](https://spacelift.io/blog/terraform-vs-cloudformation)
- [GitHub Blog - An update on recent service disruptions](https://github.blog/2022-03-23-an-update-on-recent-service-disruptions/)

## Frontend
- [Antonio Lagrotteria - Lerna & Module Federation for AWS micro-frontends](https://alatech.medium.com/lerna-module-federation-for-aws-micro-frontends-c26ec6610016)
- [CSS-Tricks - CSS-Tricks is joining DigitalOcean!](https://css-tricks.com/css-tricks-is-joining-digitalocean/)

## Java
- [Bartłomiej Słota - Managing Business Processes in Microservice Architecture with Spring Ecosystem](https://www.youtube.com/watch?v=u9RCNlf462w)
- [Unit test your Java architecture](https://www.archunit.org/)
- [Spring Boot - Retry](https://docs.spring.io/spring-batch/docs/current/reference/html/retry.html)
- [Tom Gregory - How to build Gradle projects with GitHub Actions](https://tomgregory.com/build-gradle-projects-with-github-actions/)

## .NET
- [Andrew Lock - Cancelling await calls in .NET 6 with Task.WaitAsync()](https://andrewlock.net/cancelling-await-calls-in-dotnet-6-with-task-waitasync/)
- [Vladimir Gaevoy - .NET type for personally identifiable information (PII)](https://gaevoy.com/2022/03/18/personally-identifiable-information-data-types.html)
- [Antoine Aubry - YamlDotNet - A .NET library for YAML](https://github.com/aaubry/YamlDotNet)
- [Philipp Munin - Event debouncer helps to prevent calling the same event handler too often](https://gist.github.com/pmunin/634d8971be1e0e7b16edfd548f2a8526)

## Node.js
- [NodeJS - Stream Finished, handling closed or ended NodeJS stream](https://nodejs.org/api/stream.html#streamfinishedstream-options-callback)

## Python
- [Piotr Podgórski - Event sourcing with Python](https://www.youtube.com/watch?v=cxad9dw2OpM)

## Tools
- [Marp - Markdown Presentation Ecosystem](https://marp.app/)
- [Thunder Client - A lightweight Rest API Client Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client)

## Coding Life
- [programming is terrible - How I write software](https://programmingisterrible.com/post/102153932958/how-i-write-software)
- [Coda Hale - Work Is Work](https://codahale.com/)

## Product Design
- [CBInsights - 397 Startup Failure Post-Mortems](https://www.cbinsights.com/research/startup-failure-post-mortem/)

## Security
- [BleepingComputer - Lapsus$ hackers leak 37GB of Microsoft's alleged source code](https://www.bleepingcomputer.com/news/microsoft/lapsus-hackers-leak-37gb-of-microsofts-alleged-source-code/)
- [Okta - Updated Okta Statement on LAPSUS$](https://www.okta.com/blog/2022/03/updated-okta-statement-on-lapsus/)
- [Cloudflare - Cloudflare's investigation of the January 2022 Okta compromise](https://blog.cloudflare.com/cloudflare-investigation-of-the-january-2022-okta-compromise/)
- [BBC - Lapsus$: Oxford teen accused of being multi-millionaire cyber-criminal](https://www.bbc.com/news/technology-60864283)

## Industry
- [Tessa Kriesel - Gender discrimination at fintech startup, Fast](https://www.tessakriesel.com/gender-discrimination-at-fintech-startup-fast/)
- [The Verge - Stephen Wilhite, creator of the GIF, has died](https://www.theverge.com/2022/3/23/22992066/stephen-wilhite-gif-creator-dies)

repository: oskardudycz/ArchitectureWeekly

repo_name: oskardudycz/ArchitectureWeekly


text:
Search Action Sample App
------------------------

This sample app illustrates how to support the SEARCH_ACTION intent in your application so that you can
accept queries of the form "search for X on app_name".

Take a look at AndroidManifest.xml and SearchActivity.java to see how it is implemented.

repository: TsRamana/search-samples

repo_name: TsRamana/search-samples


text:
![7](https://i.imgur.com/fMCJitN.jpg)

## Introduction

---
Temperature sensor is a kind of sensor that can detect temperature and transfer it into output data. Temperature sensor is the core component of temperature gauges and instruments with multiple categories. In this experiment, we are going to learn analog temperature sensor--TMP36 and display its data on micro:bit.

## Components List

---
### Hardware:
- 1 x [micro:bit Board](http://www.elecfreaks.com/estore/bbc-micro-bit-board-for-coding-programming.html)
- 1 x Micro-B USB Cable
- 1 x [microbit Breadboard Adapter](http://www.elecfreaks.com/estore/microbit-breadboard-adapter.html)
- 1 x [Transparent Breadboard - 83 * 55 mm](http://www.elecfreaks.com/estore/transparent-breadboard-83-55-mm.html)
- 1 x TMP36 Temperature Sensor
- n x [Breadborad Jumper Wire 65pcs Pack](http://www.elecfreaks.com/estore/breadborad-jumper-wire-65pcs-pack.html)

****Tips: If you want all components above, you may need Elecfreaks Micro:bit Starter Kit.****

![](https://i.imgur.com/W4tseua.jpg)

## Major Components Introduction
---
### TMP36

TMP36 is a kind of analog temperature sensor. Its output voltage and temperature forms a linear relationship. That means higher temperature will have bigger output voltage.

![](https://i.imgur.com/SDoXRcM.jpg)

**Note:**
When we look at the front side marked “TMP36”, the left side pin of the chip is VCC, middle is Vout, and the right side pin is GND. Do not connect it wrong or the components connected might be damaged.

![](https://i.imgur.com/P6ZkUDh.jpg)

Here’s the curve chart for output voltage of TMP36 changing with temperature:

![](https://i.imgur.com/5R7izFc.jpg)
![](https://i.imgur.com/U2c4qdp.jpg)

We can know from the above chart that the temperature formula is:

Temperature（℃）=(Output Voltage（mV）-500)/10

## Experimental Procedure
---
### Hardware Connection
Connect your components according to the picture below:

- 1.Connect the sensor to P0 port of the breadboard adapter.

![](https://i.imgur.com/HnUeLBR.jpg)

You would see as  below after you finish the connection:

![](https://i.imgur.com/IAor80B.jpg)

### Software Programming

Click to open [Microsoft Makecode](https://makecode.microbit.org/), write the following code in the editor.

![](https://i.imgur.com/JHZUvh2.png)

### Program as the picture shows:

![](https://i.imgur.com/8kZxYpc.png)

### Details for the code:
- 1.Use the "map" function to confirm a value between 0~1023 with the value detected by the sensor through P0 port, then save it in voltage.
- 2.Transforming the value saved in voltage into temperature and show it on the micro:bit.

![](https://i.imgur.com/8kZxYpc.png)

### Reference
Links:[https://makecode.microbit.org/_AKuYFoDsLJ7D](https://makecode.microbit.org/_AKuYFoDsLJ7D)

You can also download the links directly:

---

## Result
---
The current temperature is showing on the micro:bit.

![](https://i.imgur.com/b0w5PkN.gif)

## Exploration
---

## FAQ
---


text:
# shellshock

this script is exploitations of remote code execution that and in aim vulnerability of shellshocks

Usage:

    python3 shell_shocker.py

    Enter target URL
    Enter cgi_path

    Enter any command


text:
# Hanami TODO Api

This is a simple Hanami TODO api.

This application was built to investigate the framework. I wrote a [blog post](http://io.bilby91.com/posts/rails-to-hanami) that tries to explain the different concepts for someone that comes from a Rails background.

## Contact

- Martín Fernández<EMAIL_ADDRESS>

gha_language: Ruby


text:
# RackTemps

A NodeJS package build for the Raspberry Pi to measure the Temperature in your server rack

## Structure
- NodeJS
- ES6
- NodeMon
- body-parser
- ejs
- Express

## Usage
- Install NodeJS 8.0 or higher.
- Run `npm install` in the root folder
- Run `npm start` or `npm run dev` in the root folder

Then open up your favorite web browser and go to: http://localhost:3001
That's it. Easy right?

## License

MIT

repository: glenndehaan/racktemps

repo_name: glenndehaan/racktemps