text:
---
layout: default
---

# 1996-08-31 - Re: WashPost report on airline security plan

## Header Data

From: Alan Horowitz<EMAIL_ADDRESS>To: David Lesher<EMAIL_ADDRESS>Message Hash: f85c6c4707638aee0744740e27689037a485e98d1ba33a06be2383fd807a3508

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1996-08-31 18:04:42 UTC

Raw Date: Sun, 1 Sep 1996 02:04:42 +0800

## Raw message

```
{% raw  %}From: Alan Horowitz<EMAIL_ADDRESS>Date: Sun, 1 Sep 1996 02:04:42 +0800
To: David Lesher<EMAIL_ADDRESS>Subject: Re: WashPost report on airline security plan
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

THe CBS Radio News (I think that's who) mentioned this morning that the
screening criteria for deciding whose baggage to search with fancy
machines, would include methods the passenger had chosen to make payments,
not merely for the ticket, but for his daily purchases. That this idea was
floating around a long time and has been given new impetus since the
flight 800 take-down.

Any one else see the analysis I saw on newsgroup (forget which) which
analyzed the pattern of damage to the aircraft, and came to the conclusion
that it had to be a proximity-fused missle.

{% endraw %}
```

## Thread

+ Return to [August 1996](/archive/1996/08)

+ Return to "[Alan Horowitz <alanh@infi.net>](/authors/alan_horowitz_alanh_at_infi_net_)"
+ Return to "[Black Unicorn <unicorn@schloss.li>](/authors/black_unicorn_unicorn_at_schloss_li_)"
+ Return to "[David Lesher <wb8foz@nrk.com>](/authors/david_lesher_wb8foz_at_nrk_com_)"
+ Return to "[Declan McCullagh <declan@eff.org>](/authors/declan_mccullagh_declan_at_eff_org_)"

+ 1996-08-31 (Sun, 1 Sep 1996 01:03:28 +0800) - [WashPost report on airline security plan](/archive/1996/08/ff2420d876a9e6d43d694096832d9a43dd2284b8211127cf68a822a9628a3ed3) - _David Lesher<EMAIL_ADDRESS>  + 1996-08-31 (Sun, 1 Sep 1996 02:04:42 +0800) - Re: WashPost report on airline security plan - _Alan Horowitz<EMAIL_ADDRESS>    + 1996-08-31 (Sun, 1 Sep 1996 05:17:24 +0800) - [Re: WashPost report on airline security plan](/archive/1996/08/c4a81594a12d5034462b6337ae9046431d035b76c99a808e5432586d0473535a) - _Black Unicorn<EMAIL_ADDRESS>  + 1996-08-31 (Sun, 1 Sep 1996 04:14:06 +0800) - [Re: WashPost report on airline security plan](/archive/1996/08/b3cca953ad64844af6076e7ca58c7d54f3ae817546c3291c7b79fc243b18b345) - _Declan McCullagh<EMAIL_ADDRESS>


text:
# Neural network + Gaussian process ( step function )
## Introduction
Gaussian process is typically used as a smoothing device, here, we show that by combining with a simple fully connected neural network, it's able to correctly learn sharp discontinuities.

Targeted function:
$$
\begin{gather}
y=F(x)+\epsilon,\;\epsilon\sim\mathcal{N}(0, 0.01^2)\\
F(x)=\left\{\begin{array}{rl}
    0.0 & \text{if } x\le0.0\\
    1.0 & \text{if } x>0.0
    \end{array}\right.
\end{gather}
$$

Neural network is used as a feature extractor, it can be viewed as a nonlinear transformation $T:\,x\to z$, Gaussian process with Automatic Relevance Determination (ARD) kernel is then used to map $z\to y$, the combined mapping can be represented as $y=f(T(x))$.

The results is show below:
![result](./predict.png)

## Reference
[1] [Deep kernel learning](https://arxiv.org/abs/1511.02222)

[2] [Manifold Gaussian Processes for Regression](https://arxiv.org/abs/1402.5876)

license: MIT

branch_name: refs/heads/master

extension: md

gha_license_id: NOASSERTION

license_type: permissive


text:
Archive git repositories to your dropbox folder.

## INSTALLATION

You can install it with `npm`.

```
npm install -g git-dropbox
```

## BASIC USAGE

From anywhere:

```
git dropbox https://github.com/eirikurn/my-repo.git
```

This will clone the repo as a bare repo at `~/Dropbox/git/my-repo.git`.

When runnin `git dropbox` inside a repo with no arguments, the `origin` remote
will be cloned to your dropbox folder. It will also add the new repo as a
`dropbox` remote.

```
git dropbox
git push dropbox master
```

When you have repos in your dropbox they can then be cloned on any of your computers by running.

```
git clone ~/Dropbox/git/my-repo.git
```

Be careful not to push to the dropbox repo from two computers at the same time,
it will cause a dropbox conflict and corrupt the repo.

## OVERRIDE TARGET

You can override where it is cloned with the `GIT_ARCHIVE_FOLDER` env
variable:

```
export GIT_ARCHIVE_FOLDER=~/Dropbox/git/archive
git dropbox <repo>
```

repository: eirikurn/git-dropbox

repo_name: eirikurn/git-dropbox


text:
## Event: 'line'

##

`function (line) {}`

Emitted whenever the `input` stream receives a `\n`, usually received when the
user hits enter, or return. This is a good hook to listen for user input.

Example of listening for `line`:

    rl.on('line', function (cmd) {
      console.log('You just typed: '+cmd);
    });


text:
# ParallelSparseMatMul

[![Build Status](https://travis-ci.org/madeleineudell/ParallelSparseMatMul.jl.png)](https://travis-ci.org/madeleineudell/ParallelSparseMatMul.jl)

A Julia library for parallel sparse matrix multiplication using shared memory.
This library implements SharedSparseMatrixCSC and Shared BilinearOperator types
to make it easy to multiply by sparse matrices in parallel on shared memory systems.

Installation
============

To install, just open a Julia prompt and call

	Pkg.clone("git@github.com:madeleineudell/ParallelSparseMatMul.jl.git")

Usage
=====

Before you begin, initialize all the processes you want to participate in multiplying by your matrix.

For example, if `typeof(A) == SparseMatrixCSC`, then you can share it by calling

	S = share(A)

If you're just experimenting, you might try calling one of the matrix creation functions,
eg random uniform entries `shsprand`, random normal entries `shsprandn`,
or an identity matrix `shspeye`.
These are often faster than their serial counterparts, since
they parallelize the generation of random numbers.

	m,n,p = 100,30,.1 # generate an 100 x 30 matrix with 10% fill
	S = shsprandn(m,n,p) # entries are normal random variables

You can multiply by your matrix and its transpose.
Multiplication by shared arrays will be faster than multiplication by other kinds of vectors,
which have to be shared first.

	x = Base.shmem_randn(n) # create a shared memory array of length n
	y = S*x
	x = S'*y

You can examine the entries of a shared sparse matrix by indexing into it,
eg `S[3,5]`.
Setting entries is not yet supported.
Instead, you can always convert your matrix to a local sparse matrix,
set entries, and re-share it.

	A = localize(S)
	A[3,5] = 42
	S = share(A)

Shared bilinear operators implement fast multiplication by A and A'.
This feature is useful in iterative algorithms that require many multiplications
by a fixed matrix and its transpose.

	L = operator(A) # make A into a shared bilinear operator L
	# multiplication by L' should be faster than multiplication by A'
	y = L*x
	x = L'*y


text:
# Contributing to MonkeyBot

First off, thank you for considering contributing to MonkeyBot to make it even better than it is. Here are the guidelines we'd like you to follow:

 - [Question or Problem?](#question)
 - [Issues and Bugs](#issue)
 - [Feature Requests](#feature)
 - [Submission Guidelines](#submit)

##  Got a Question or Problem?

If you have questions about how to use MonkeyBot, please join our [Discord](https://discord.gg/u43XvME).

##  Found an Issue?

If you find a bug in the source code or a mistake in the documentation, you can help us by
submitting an issue to our [GitHub Repository](https://github.com/MarkusKgit/MonkeyBot). Even better you can submit a Pull Request
with a fix.

**Please see the [Submission Guidelines](#submit) below.**

##  Want a Feature?

You can request a new feature by submitting an issue to our [GitHub Repository](https://github.com/MarkusKgit/MonkeyBot).  If you
would like to implement a new feature then consider what kind of change it is:

* **Major Changes** that you wish to contribute to the project should be discussed first in [Discord](https://discord.gg/u43XvME)
* **Small Changes** can be crafted and submitted to the [GitHub Repository](https://github.com/MarkusKgit/MonkeyBot) as a Pull Request against the development branch.

##  Submission Guidelines

### Submitting an Issue

If your issue appears to be a bug, and hasn't been reported, open a new issue.

Providing the following information will increase the chances of your issue being dealt with
quickly:

* **Overview of the Issue** - if an error is being thrown a stack trace helps
* **Motivation for or Use Case** - explain why this is a bug for you
* **Operating System** - is this a problem with all OS or only specific ones?
* **Reproduce the Error** - provide a example or an unambiguous set of steps.
* **Related Issues** - has a similar issue been reported before?
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
  causing the problem (line of code or commit)

### Submitting a Pull Request
Before you submit your pull request consider the following guidelines:

* Fork the repository
* Make your changes in a new git branch:

    ```shell
    git checkout -b my-fix-branch develop
    ```

* Create your patch following the repositories code style.

* Build your changes locally to ensure everything compiles

* Push your branch to GitHub:

    ```shell
    git push origin my-fix-branch
    ```

* Open a Pull Request against the development branch:

That's it! Thank you for your contribution!

#### After your pull request is merged

After your pull request is merged, you can safely delete your branch and pull the changes
from the main (upstream) repository:

* Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:

    ```shell
    git push origin --delete my-fix-branch
    ```

* Check out the development branch:

    ```shell
    git checkout develop -f
    ```

* Delete the local branch:

    ```shell
    git branch -D my-fix-branch
    ```

* Update your development branch with the latest upstream version:

    ```shell
    git pull --ff upstream develop
    ```

repository: MarkusKgit/MonkeyBot

branch_name: refs/heads/main

gha_language: C#

gha_license_id: MIT

repo_name: MarkusKgit/MonkeyBot


text:
# Twitter VideoDL
It's a simple cli utility made in C# (.Net Core 5.0) to download videos and gif (in mp4 format) from twitter.

# Requeriments
To download videos or gifs with this program you need to have ffmpeg either on your system path or in the executable folder.

# How to use it
Simply open a cmd and type:

    Twitter_VideoDL.exe [List of Urls]

# Disclaimer
I made this code with the purpose of learning, I'm not responsible of how you use it. Please take care and consider copyright before downloading anything.

# Credits
3rd party utilities used:
- Newtonsoft.Json
- Ffmpeg


text:
Redux Form

FAQ

Does `redux-form` work with React Native?

# Does `redux-form` work with React Native?

Yes, it does.

#### If your are using all `react-native@18+`, `redux@4+` and `npm@3+`

Just import it as usual:

```javascript
import {reduxForm} from 'redux-form';
```

#### Else

All you have to do is use:

```javascript
import {reduxForm} from 'redux-form/native';
```
instead of
```javascript
import {reduxForm} from 'redux-form';
```

#### Note:

`react-redux/native` is deprecated in `react-redux@4+`, it only appears in `react-redux@3`

#### See Also:

1. [[react-native] Depend on npm "react" instead of shipping with a vendored copy #2985](https://github.com/facebook/react-native/issues/2985)
2. [[react-redux] Update React Native installation instructions #236](https://github.com/rackt/react-redux/issues/236)
3. [Until React Native works on top of React instead of shipping a fork of React, you’ll need to keep using React Redux 3.x branch and documentation.](https://github.com/erikras/redux-form/issues/473#issuecomment-167690524)

repository: redux-form/redux-form-docs

gha_language: HTML

repo_name: redux-form/redux-form-docs


text:
## Distributed Motion Surveillance Security System (DMS3) Quick Install

This procedure describes how to use the `dms3build` build tools found in this project to install the **Distributed Motion Surveillance Security System (DMS3)**.

For details on how to manually install **Distributed Motion Surveillance Security System (DMS3)**, see the [Distributed Motion Surveillance Security System (DMS3) Manual Installation](https://github.com/richbl/go-distributed-motion-s3/blob/master/INSTALL.md) documentation. This document also provides much greater technical depth in describing the **DMS3** installation process.

### Installation Overview
The installation of **DMS3** is comprised of two steps:

1. The installation and configuration of **DMS3** components on participating hardware devices:

	| Component | Install Location | Required? |
	| :------------- | :------------- | :------------- |
	| DMS3Server | server | Yes |
	| DMS3Client | smart device clients (SDCs) | Yes |
	| DMS3Libs | server, SDCs | Yes |
	| DMS3Mail | SDCs | Optional(*) |

      > (*) if using the [Motion](https://motion-project.github.io/) motion detection application, the **DMS3Mail** component can be installed on the SDC to manage real-time email notification of surveillance events

2. The installation and configuration of a motion detection application, such as [Motion](https://motion-project.github.io/ "Motion") or the [OpenCV](http://opencv.org/ "Open Source Computer Vision Library") Library

### 1. Download the **DMS3** Project Release

1. Download the appropriate release file from [the DMS3 release repository](https://github.com/richbl/go-distributed-motion-s3/releases) and unzip into a temporary folder

	The **DMS3** release creates a folder called `dms3_release` containing all the necessary platform-specific [Go](https://golang.org/ "Go") binary executables, service, configuration, and media files. During installation, these files will be redistributed to either a **DMS3Server** component device or any number of **DMS3Client** component devices (SDCs).

	> **Important**: **DMS3** components must be compiled for the operating system (e.g., Linux) and CPU architecture (e.g., AMD64) of the hardware device on which the component will be installed. If the OS and architecture are not available in an official **DMS3** release, clone/download the **DMS3** project tree, configure a platform and compile as appropriate. For details on [Go](https://golang.org/ "Go") compiler support, see the [Go support for various architectures and OS platforms](https://golang.org/doc/install/source#environment "Go Support").

	The folder structure of a typical **DMS3** release is as follows:

```
	dms3_release/
	├── dms3build
	│   └── dms3build.toml
	├── dms3client
	│   ├── dms3client.service
	│   └── dms3client.toml
	├── dms3libs
	│   └── dms3libs.toml
	├── dms3mail
	│   └── dms3mail.toml
	├── dms3server
	│   ├── dms3server.service
	│   ├── dms3server.toml
	│   └── media
	│       ├── motion_start.wav
	│       └── motion_stop.wav
	├── linux_amd64
	│   ├── dms3client_remote_installer
	│   ├── dms3server_remote_installer
	│   ├── go_dms3client
	│   ├── go_dms3mail
	│   ├── go_dms3server
	│   └── install_dms3
	├── linux_arm6
	│   ├── dms3client_remote_installer
	│   ├── dms3server_remote_installer
	│   ├── go_dms3client
	│   ├── go_dms3mail
	│   ├── go_dms3server
	│   └── install_dms3
	└── linux_arm7
	    ├── dms3client_remote_installer
	    ├── dms3server_remote_installer
	    ├── go_dms3client
	    ├── go_dms3mail
	    ├── go_dms3server
	    └── install_dms3
```

### 3. Install the **DMS3** Components

1. Configure the Installer

   The `dms3_release` folder includes a folder called `dms3build` which contains a file, `dms3build.toml`, used for enumerating and configuring **DMS3** components. All participating **DMS3** components must be represented in this configuration file.

   An example of a **DMS3Server** component device:

   ```
   [Servers.0]
      User = "richbl"
      DeviceName = "main.local"
      SSHPassword = ""      # using SSH certificate
      RemoteAdminPassword = "PASSWORD"
      Port = 22
      Platform = "linuxAMD64"
   ```

   An example of a **DMS3Client** smart client device (SDC):

   ```
   [Clients.0]
      User = "pi"
      DeviceName = "picam-alpha.local"
      SSHPassword = ""        # using SSH certificate
      RemoteAdminPassword = "PASSWORD"
      Port = 22
      Platform = "linuxArm7"
   ```

   A device configuration must be filled out for each device that will participate in the **DMS3** network environment.

   >**Note:** the `dms3build` tools use the SSH protocol to perform remote actions on these device client platforms. Be sure SSH is made available on these devices

2. Run the Installer

   The `dms3build` installer does the following:
   1. Copies all platform-specific binaries and service, configuration, and media files to the designated device platform (the `dms3_release` folder)
   2. Copies a remote installer script to that device platform
   3. Runs the remote installer script, which in turn, redistributes **DMS3** component files into their respective default locations on that device
   4. Deletes the remote installer script

   To install all configured **DMS3** components, run `install_dms3` (i.e., `./install_dms3`)

   The `dms3build` installer will display installation progress on all device platforms.

	Upon completion, these device platforms will be properly configured to run **DMS3**.

### 4. Confirm the Installation of a Motion Detection Application on All SDCs

1. Confirm the installation of a motion detection application on all smart device clients (SDCs), such as a desktop computer, or Raspberry Pi or similar single board computer (SBC), all with an operational video camera device

2. If using the [Motion](https://motion-project.github.io/ "Motion") motion detection application, configure [Motion](https://motion-project.github.io/) to run as a daemon

   For proper operation with **DMS3**, [Motion](https://motion-project.github.io/) must be set to run in daemon mode (which permits [Motion](https://motion-project.github.io/) to run as a background process). This is achieved through an edit made to the `motion.conf` file located in the [Motion](https://motion-project.github.io/) folder (e.g., `/etc/motion`).

   In the section called Daemon, set the `daemon` variable to `on` as noted below:

	```
	 ############################################################
	 # Daemon
	 ############################################################

	 # Start in daemon (background) mode and release terminal (default: off)
	 daemon on
	```

### 5. Optional: Integrate **DMS3Mail** with [Motion](https://motion-project.github.io/) on the Device Client

**DMS3Mail** is a stand-alone client-side component responsible for generating and sending an email whenever a valid motion event is triggered in [Motion](https://motion-project.github.io/). The **DMS3Mail** component is called by [Motion](https://motion-project.github.io/) whenever the [*on_picture_save*](http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionOnPictureSave "on_picture_save command") and the [on_movie_end](http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionOnMovieEnd "on_movie_end command") commands (called [hooks](http://en.wikipedia.org/wiki/Hooking "Hooking")) are fired during a motion event.

> Note that **DMS3Mail** runs independently from, and has no dependencies on **DMS3Client** (or **DMS3Server**). It can, in fact, be run standalone with [Motion](https://motion-project.github.io/), apart from **DMS3** entirely.

The syntax for these [Motion](https://motion-project.github.io/) commands are:

```
<on_picture_save|on_movie_end> <absolute path to go_dms3mail> -pixels=%D -filename=%f -camera=%t
```

These commands are saved in the [Motion](https://motion-project.github.io/) configuration file called `motion.conf` (located in `/etc/motion`).

> **Note:** the parameters passed on this command (`%D`, `%f`, and `%t`) are called *conversion specifiers* and are described in detail in the [Motion](https://motion-project.github.io/) documentation on [ConversionSpecifiers](http://www.lavrsen.dk/foswiki/bin/view/Motion/ConversionSpecifiers "ConversionSpecifiers").

1. Update the [Motion](https://motion-project.github.io/) `motion.conf` file to call **DMS3Mail** on picture save (or movie end)

	The easiest way to edit this file is to append the `on_picture_save` or `on_movie_end` command at the end of the `motion.conf` file. For example:

	```
	$ sudo sh -c "echo 'on_picture_save /usr/local/bin/go_dms3mail -pixels=%D -filename=%f -camera=%t' >> /etc/motion/motion.conf"
	```

2. Restart [Motion](https://motion-project.github.io/) to have the update to `motion.conf` take effect

	```
	$ sudo /etc/init.d/motion restart
	```

	or if running with [`systemd`](https://en.wikipedia.org/wiki/Systemd)

	```
	$ sudo service motion restart
	```

**DMS3Mail** will now generate and send an email whenever [Motion](https://motion-project.github.io/) generates an `on_picture_save` or `on_movie_end` command.

### 6. Run the **DMS3** Components

With all the **DMS3** components properly configured and installed across various server and client devices, it's now possible to run the **DMS3**.

#### Running Components as Executables
1. On the server, run **DMS3Server** by typing `./go_dms3server`. The component should now be started, and if configured, generating logging information either to the display or to a log file.

	An example of server logging output is displayed below:

	```
	INFO: 2017/08/27 06:51:41 lib_log.go:79: OPEN connection from: <IP_ADDRESS>:57368
	INFO: 2017/08/27 06:51:41 lib_log.go:79: Sent motion detector state as: 0
	INFO: 2017/08/27 06:51:41 lib_log.go:79: CLOSE connection from: <IP_ADDRESS>:57368
	INFO: 2017/08/27 06:51:52 lib_log.go:79: OPEN connection from: <IP_ADDRESS>:33586
	INFO: 2017/08/27 06:51:54 lib_log.go:79: Sent motion detector state as: 0
	INFO: 2017/08/27 06:51:54 lib_log.go:79: CLOSE connection from: <IP_ADDRESS>:33586
	```

	In this example, logging is set to the INFO level and is reporting that **DMS3Server** is sending out to all participating **DMS3Client** components a motion detector state of 0 (disabled).

2. On each of the smart clients, run **DMS3Client** by typing `./go_dms3client`. The component should now be started, and if configured, generating logging information either to the display or to a log file.

	An example of client logging output is displayed below:

	```
	INFO: 2017/08/28 09:18:00 lib_log.go:79: OPEN connection from: <IP_ADDRESS>:1965
	INFO: 2017/08/28 09:18:00 lib_log.go:79: Received motion detector state as: 0
	INFO: 2017/08/28 09:18:00 lib_log.go:79: CLOSE connection from: <IP_ADDRESS>:1965
	INFO: 2017/08/28 09:18:15 lib_log.go:79: OPEN connection from: <IP_ADDRESS>:1965
	INFO: 2017/08/28 09:18:15 lib_log.go:79: Received motion detector state as: 0
	INFO: 2017/08/28 09:18:15 lib_log.go:79: CLOSE connection from: <IP_ADDRESS>:1965
	```

	In this example, logging is set to the INFO level and is reporting that **DMS3Client** is receiving from the **DMS3Server** component a motion detector state of 0 (disabled).

#### Running  Components as Services

1. Optional: configure the **DMS3Server** component to run as a [daemon](https://en.wikipedia.org/wiki/Daemon_(computing) "computing daemon")

	Running the **DMS3Server** component as a [`systemd`](https://en.wikipedia.org/wiki/Systemd) service is preferred, as this service can be configured to run at machine startup, recover from failures, etc.

	> As different Unix-like systems use different approaches for system service management and startup, daemon configuration is beyond the scope of the install procedure. However, the **DMS3** project does include a sample daemon file for running with [`systemd`](https://en.wikipedia.org/wiki/Systemd), called `dms3server.service`, located in the `dms3_release` folder at `dms3_release/dms3server`.

1. Optional: configure **DMS3Client** components to run as a [daemon](https://en.wikipedia.org/wiki/Daemon_(computing) "computing daemon")

	Running **DMS3Client** components as a [`systemd`](https://en.wikipedia.org/wiki/Systemd) service is preferred, as this service can be configured to run at machine startup, recover from failures, etc.

	> As different Unix-like systems use different approaches for system service management and startup, daemon configuration is beyond the scope of the install procedure. However, the **DMS3** project does include a sample daemon file for running with [`systemd`](https://en.wikipedia.org/wiki/Systemd), called `dms3client.service`, located in the `dms3_release` folder at `dms3_release/dms3client`.


text:
## Aim

Create sounds without audio files part two. Pass created data into a buffer to make noise. Add filter effects to manipulate that noise.

Work in [index.html](index.html). The file is set up with some existing code and a button to help you get started.

## Tasks

1. In our play snare function start setting up a buffer

   `const snareBufferSize = context.sampleRate;`
   `const snareBuffer = context.createBuffer(1, snareBufferSize, context.sampleRate);`

2. Create a buffer source node

   `const snare = context.createBufferSource();`

3. Get the existing data (nothing) and replace it with generated data

```javascript
  var snareData = snareBuffer.getChannelData(0);

  for (let i=0; i<snareBufferSize; i++) {
    snareData[i] = Math.random()*2 - 1;
  }

  snare.buffer = snareBuffer;
```

4. Create a filter node

   `const snareFilter = context.createBiquadFilter();`

5. Set filer params

```javascript
   snareFilter.type = "bandpass";
   snareFilter.frequency = 10000;
   snareFilter.Q.value = 0.0001;
```

6. We also create a gain node and drop the volume as before to create effect... lastly make sure the audio graph is connected and call the play snare function on button click

## What you learnt!

1. Hopefully a bit more about buffers and data, this makes up a good understanding of the API
2. Filters, just one way to modify sound dramatically. The others all work in similar ways as far as coding is concerned.
3. That building a drum kit isn't so hard after all.


text:
# Lambda-Replate-BE

### Register New Business

POST to `https://bw-replate.herokuapp.com/api/auth/business/register`

Takes an object including:
```javascript
{
    username: "bussinessUsername",
    password: "pass",
    organization_name: "alskjdflaksjdf"
    address: "1234 Somewhere Place, New York, NY 12345",
    email<EMAIL_ADDRESS>    phone: 55
}
```
You will be returned the newly created user object as well as a JWT

### Login Existing Business

POST to `https://bw-replate.herokuapp.com/api/auth/business/login`

Takes an object including:
```javascript
{
    username: "businessUsername",
    password: "pass"
}
```

You will be returned a JWT

### Register New Volunteer

POST to `https://bw-replate.herokuapp.com/api/auth/volunteer/register`

Takes an object including:
```javascript
{
    username: "volunteerUsername",
    password: "pass",
    organization_name: "alskjdflaksjdf"
    address: "1234 Somewhere Place, New York, NY 12345",
    email<EMAIL_ADDRESS>    phone: 55
}
```
You will be returned the newly created user object as well as a JWT

### Login Existing Volunteer

POST to `https://bw-replate.herokuapp.com/api/auth/volunteer/login`

Takes an object including:
```javascript
{
    username: "volunteerUsername",
    password: "pass"
}
```

You will be returned a JWT

### Post a new food item to be donated

POST to `https://bw-replate.herokuapp.com/api/food`

Takes a JWT and an object including:

```javascript
{
	name: "New Food Item",
	time: "113033",
	description: "Wow look at this food to be donated",
	is_claimed: "0", //0 if false, 1 if true
	pickup_date: “01/01/2019“
}
```

You will be returned the newly created food object including:
```javascript
{
    name: "New Food Item",
    time: "113033",
    description: "Wow look at this food to be donated",
    is_claimed: “0", //0 if false, 1 if true",
    pickup_date: “01/01/2019“,
    business_id: 7, //automatically assigned according to provided JWT
    volunteer_id: null //will be assigned when claimed by a volunteer
}
```

### Update food item info

PUT to `https://bw-replate.herokuapp.com/api/food/:id` //where id is food's ID

Takes a JWT and an object containing any of the existing food properties that are to be updated.

### Delete food item

DELETE to `https://bw-replate.herokuapp.com/api/food/:id` //where id is food's ID

Takes a JWT

### Get all food items in database

GET to `https://bw-replate.herokuapp.com/api/food`

Requires JWT

Will be returned an array with food objects.

### Get all food items owned by logged in business

GET to `https://bw-replate.herokuapp.com/api/food/business`

Requires JWT

Will be returned an array with food objects.

### Get all food items claimed by the logged in volunteer

GET to `https://bw-replate.herokuapp.com/api/food/volunteer`

Requires JWT

Will be returned an array with food objects.

### Claim a food item (volunteer)

PUT to `https://bw-replate.herokuapp.com/api/food/claim/:id`

Requires JWT and object including:

```javascript
{
    is_claimed: 1 //0 for false, 1 for true
}
```

When claimed, food object's `volunteer_id` will be assigned the value of the volunteers ID by decoding the provided JWT.

When unclaimed, `volunteer_id` will be set to `null` and `is_claimed` will be set back to 0.

Will be return 1 if modified or a 0 if nothing was modified.


text:
# Dubious bit shifting of a fixed size integer value

Bit shifting a value past its size will always clear the value.

For instance:

    v := int8(42)
    v >>= 8

will always result in 0.

This check flags bit shifting operations on fixed size integer values only.
That is, int, uint and uintptr are never flagged to avoid potential false
positives in somewhat exotic but valid bit twiddling tricks:

    // Clear any value above 32 bits if integers are more than 32 bits.
    func f(i int) int {
        v := i >> 32
        v = v << 32
        return i-v
    }

Available since
    2020.2

Online documentation
    https://staticcheck.io/docs/checks#SA9006

repository: codacy/codacy-staticcheck

gha_language: Scala

repo_name: codacy/codacy-staticcheck


text:
# Raspberry Pi Pico samples

## Development with Thony...

## Development with Visual Studio Code...

## Tutorials

Here is a series of tutorials to get started with the Raspberry pi pico microcontroller.

### Getting started

This section describes a series of tutorials to quickly get started with Raspberry pi pico. You will learn here how to connect the Raspberry pi pico to your computer as well as how to program to make work the led 25 (the one present on the board, see the photo bellow).

![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/led_25_indication.jpg)

#### Connect the Raspberry pi pico microcontroller to you computer

Here is how to connect your Raspberry pi pico to your computer to develop on it, in 5 steps:

1. Check that you have a Raspberry pi pico microcontroller and a male USB / micoUSB adapter on both sides.

![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/getting_started_step_1.jpg)

2. Connect the Raspberry pi pico microcontroller with the adapter by the micoUSB side.

![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/getting_started_step_2.jpg)

3. Press the "BOOTS" button (shown in the photo) then connect your adapter (with the Raspberry pi pico microcontroller already connected) to your computer on the USB side while keeping the button pressed.

![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/getting_started_step_3_1.jpg)
![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/getting_started_step_3_2.jpg)

4. fourth step

on Microsoft's Windows...

![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/connected_windows_1.PNG)
![](https://github.com/Vicken-Ghoubiguian/electronic_samples/blob/main/raspberry_pi_pico/images/connected_windows_2.PNG)

on Apple's macOS...

on Linux Ubuntu...

5. fith step

That's all folks. It is now time to program...

#### Coding with Thonny

#### Coding with Visual Studio Code

#### Access all of tutorials

All of tutorials are available just [here](https://github.com/Vicken-Ghoubiguian/electronic_samples/tree/main/raspberry_pi_pico/Getting_started_tutorials).

For each sample, exposed, here is the rendering when running:

### With electronic components

## Documentation

* [Welcome to Raspberry Pi RP2040](https://www.raspberrypi.org/documentation/rp2040/getting-started/),
* [Getting started with Raspberry Pi Pico](https://projects.raspberrypi.org/en/projects/getting-started-with-the-pico),
* [Raspberry Pi PICO la carte Microcontrôleur de la Fondation](https://www.framboise314.fr/raspberry-pi-pico-la-carte-microcontroleur-de-la-fondation/#Connecter_la_carte_Pico_en_USB),
* [Your First Steps with Raspberry Pi Pico and Visual Studio Code](https://dev.to/blues/your-first-steps-with-raspberry-pi-pico-and-visual-studio-code-4jbd),
* [Pico-Go](https://marketplace.visualstudio.com/items?itemName=ChrisWood.pico-go),
* [Raspberry Pi et Visual Studio Code: une excellente combinaison](https://www.netcost-security.fr/actualites/5363/raspberry-pi-et-visual-studio-code-une-excellente-combinaison/#Code_pour_le_Pico_dans_Code)


text:
---
layout: post
title: v7.3.1 is released
author: "kisvegabor"
cover: /assets/release_cover.png
---

### Bugfixes
- Fix drawing value string twice
- Rename  `lv_chart_clear_serie` to `lv_chart_clear_series` and `lv_obj_align_origo` to `lv_obj_align_mid`
- Add linemeter's mirror feature again
- Fix text decor (udnerline strikethrough) with older versions of font converter
- Fix setting local style property multiple times
- Add missing background drawing and radius handling to image button
- Allow adding extra label to list buttons
- Fix crash if `lv_table_set_col_cnt` is called before `lv_table_set_row_cnt` for the first time
- Fix overflow in large image transformations
- Limit extra button click area of button matrix's buttons. With large paddings it was counter intuitive. (Gaps are mapped to button when clicked).
- Fix color picker invalidation in rectangle mode
- Init disabled days to gray color in calendar

repository: mzoggia/blog

repo_name: mzoggia/blog


text:
# Backbone.Validate

Simple Backbone model validation

## Getting Started
Download the [production version][min] or the [development version][max].

[min]: https://raw.github.com/zestia/backbone.validate/master/dist/backbone.validate.min.js
[max]: https://raw.github.com/zestia/backbone.validate/master/dist/backbone.validate.js

## Documentation
_(Coming soon)_

## Examples

```coffeescript
class Person extends Backbone.Model
  validations:
    name:
      required: true
      minLength: 3
    age:
      range: [0, 200]
    'email[].emailAddress':
      email: true
```

## Release History
_(Nothing yet)_

## License
Copyright (c) 2012 Ross Grayton
Licensed under the MIT license.


text:
## Description 📜

## Domain of Contribution 📊

- [ ] Android Dev (Flutter, Java, Kotlin)
- [ ] Backend Dev (Java, .NET, Python)
- [ ] C/CPP
- [ ] Competitive Programming
- [ ] Cyber Security
- [ ] DSA
- [ ] Database
- [ ] Datascience with Python
- [ ] Datascience with R
- [ ] Frontend Dev (HTML, CSS, JS)
- [ ] Frontend Dev (React, Angular, Vue)
- [ ] Golang
- [ ] Interview Prep
- [ ] Java
- [ ] JavaScript
- [ ] MERN
- [ ] Machine Learning
- [ ] Open Source
- [ ] Python
- [ ] Rust
- [ ] Statistics
- [ ] UI/UX

gha_language: Jupyter Notebook


text:
---
title: 'Community Wallet Modules'
taxonomy:
    category:
        - docs
---

The Nanowallet has been built from the ground up with extensibility in mind. Below is a collection of Nanowallet modules that were built by fellow NEM community members.
[Guide to Building on Nanowallet](https://forum.nem.io/t/how-to-build-a-module-for-nano-wallet/2976)

##### Building a Changelly Nanowallet Module
[Changelly Nanowallet Module](https://forum.nem.io/t/changelly-addon-for-nanowallet-and-how-to-add-modules-to-nanowallet/2921)

##### Building a Nanowallet Addressbook Module
[Addressbook Nanowallet Module](https://forum.nem.io/t/making-the-nanowallet-address-book-module/3323)

repository: ritikchaddha/nemioDev

repo_name: ritikchaddha/nemioDev


text:
Injectable Generic Camera System by Frans Bouma
===============================================

This is a generic injectable camera system which is used as a base for cameras for taking screenshots within games.
The main purpose of the system is to hijack the in-game 3D camera by overwriting values in its camera structure
with our own values so we can control where the camera is located, it's pitch/yaw/roll values,
its FoV and the camera's look vector. Some camera implementations have additional features like timestop.

It's written in C++ with some x86/x64 assembler to be able to intercept the location of the 3D camera in the game.
The system is initially designed for 64bit hosts as all games are 64bit nowadays, but has been reworked to be used for 32bit games too.

## Folder structure description

In the folder `Cameras` you'll several implementations of the system, adapted for specific games.

The cameras don't use a shared piece of code as in general cameras have to be adapted to a game pretty deeply and I didn't want to make a big
configurable ball. Additionally, cameras are often written once and perhaps fixed once or twice when the game is updated, but that's it. Copying
the code for each camera and adapting it makes possible to add new features to future cameras without affecting the older ones.

## Requirements to build the code
To build the code, you need to have VC++ 2015 update 3 or higher, newer cameras need VC++ 2017.
Additionally you need to have installed the Windows SDK, at least the windows 8 version. The VC++ installer should install this.
The SDK is needed for DirectXMath.h

### External dependencies
There's an external dependency on [MinHook](https://github.com/TsudaKageyu/minhook) through a git submodule. This should be downloaded
automatically when you clone the repo. The camera uses DirectXMath for the 3D math, which is a self-contained .h file, from the Windows SDK.

## Cameras released:
Ace Combat 7: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/AC7v1.4
Dirt Rally 2.0: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/DR2v2.11
Mutant Year Zero: Road to Eden: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/MYZv1.1
Deserts of Kharak: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/DoKv1.0
BSG Deadlock (Reserruction DLC): https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/BSGDv2.01
Ni No Kuni: Wrath of the White Witch Remastered: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/NNKRv1.0
Ni No Kuni 2: Revenant Kingdom: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/NNK2v1.0
MechWarrior 5: Mercenaries: [UUU](https://framedsc.github.io/GeneralGuides/universal_ue4_consoleunlocker.htm)
Final Fantasy XIII: https://github.com/ghostinthecamera/IGCS-GITC/releases/tag/FFXIII_v1.1

## In-depth article about IGCS and how to create camera tools
Frans has written a long, in-depth article about how to create camera tools and how IGCS works [on his blog](https://weblogs.asp.net/fbouma/let-s-add-a-photo-mode-to-wolfenstein-ii-the-new-colossus-pc).

## Acknowledgements
Some camera code uses [MinHook](https://github.com/TsudaKageyu/minhook) by Tsuda Kageyu.

repository: ghostinthecamera/IGCS-GITC

repo_name: ghostinthecamera/IGCS-GITC


text:
# Gollum

This role installs Gollum with the repository under `./repo`. Gollum is quite easy to install; all you need is a Gemfile (with a Gemfile.lock for `bundler --deployment`) and a `config.ru`. Mine is nicely commented if you need some tips on what the options mean.

The role needs only two variables:

- `gollum.fulldir`, to indicate the path you want Gollum to live under. In my case that's `/var/gollum`.
- `gollum.user`. As with Redmine, the Gollum stuff will be owned by the same user that nginx (and passenger) are running under. If you want to run the application workers under another user, you should probably parameterize this as a separate variable.

repository: tummychow/typhon

repo_name: tummychow/typhon


text:
---
title: Open a Document
subtitle: Ctrl + O
layout: modal
img: /img/flashcards/windows10/ctrl-o.png
category: training-card
tag: windows10
---
Hold the Control (Ctrl) Key and Press "O" for Open to open a file.

For example open an existing text document from within your text editor such as word.

extension: markdown


text:
---
layout: post
title:  "Setting up a browser to improve privacy"
date:   2020-08-07
tags: privacy
categories: articles
---

The modern internet makes avoiding tracking and preserving any of your privacy into a Sisyphean task; many people see this and just give up any hope of having privacy at all.
Something that feeds into this is that many privacy advocates encourage taking an all-or-nothing approach: delete all of your accounts with Google, Facebook, etc. and only connect to the internet via [Tails](https://tails.boum.org/) and [Tor](https://www.torproject.org/) on public wifi.

While these are measures that will protect your privacy, and it may be worthwhile learning how to use these tools, you can significantly reduce how much you are tracked by setting up your browser differently. The goal of this post is to show how you can quickly setup a browser that limits how much you are tracked.

### Setting up your browser

In this section, I will be describing how to do everything on a Debian-based Linux distribution, but on Windows, macOS, and *nix systems, this process should be generally the same: in big strokes, you are cleaning out all of your existing data except the stuff you explicitly save somewhere, and then installing 2 fresh browsers - Firefox (what you'll use normally) and Chrome (which you will use as your backup for when Firefox is having trouble).

To start with, make sure to save any data you want to keep. For example, get a copy of your bookmarks and history. Then place whatever you kept somewhere for safekeeping.

Next, uninstall your browsers and delete the directories where they keep their info. On Linux, check `~/.config/<browser name>`:

```bash
sudo apt-get purge firefox google-chrome-stable chromium-browser
rm -rf ~/.config/google-chrome
rm -rf ~/.config/chromium
rm -rf ~/.mozilla/firefox/
```

Then install a fresh copy of Firefox:

```bash
sudo apt-get install firefox
```

Set `update-alternatives` for your browser to make Firefox your default browser:

```bash
update-alternatives --set gnome-www-browser "$(which firefox)"
```

Open up Firefox, then head over to the preferences. Go through the settings and set things up to your taste. There are a few you should definitely turn on though:

* Set `Enable Container Tabs` to be checked.
* Turn off `Check your spelling as you type`.
* Set your default search engine to be `DuckDuckGo` and delete all of the other search engine options.
* Change your `Search Suggestion` preferences to be as restrictive as you are willing to tolerate.
* Turn `Enhanced Tracking Protection` to `Custom` with cookies checked and set to `All third-party cookies`, and all other boxes checked.
* Always send a "Do Not Track" signal, even though nobody actually respects it.
* Set Firefox to delete cookies and site data when closed: then add all the sites to the whitelist that you want to stay logged in for.
* Turn off saved logings/passwords, autofill for forms/addresses, etc.
* For the permissions panel, set everything to be as restrictive as you are willing to tolerate.
* Turn on `Deceptive Content and Dangerous Software Protection`.
* For the question `When a server requests your personal certificate` select `Ask you every time`.

Next, we will install all of the addons we want to help us out. Open the [Firefox addons page](https://addons.mozilla.org/en-US/) and install the following addons:

1. [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/) - This is our main ad blocker and most important addon. It blocks a ton of tracking and ads; even by itself it is a HUGE quality of life improvement over vanilla.
1. [Decentraleyes](https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/) - This will block CDNs like Google Hosted Libraries, while hosting the data locally to prevent sites from breaking.
3. [NoScript](https://addons.mozilla.org/en-US/firefox/addon/noscript/) - This allows us to block Javascript, which is going to be one of our biggest sources of nastiness. We can use this to allow some sites to use Javascript, which is a big improvement over blocking all Javascript.
4. [Firefox Multi-Account Containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/) - Very useful tool for sandboxing a site. Then the site can't peep on your other cookies etc, that aren't included in the container.
5. [Privacy Badger](https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/) - Optional, if you are using everything else above. Blocks trackers, mopping up some of those missed by our other tools above.
6. [DuckDuckGo Privacy Essentials](https://addons.mozilla.org/en-US/firefox/addon/duckduckgo-for-firefox/) - Optional. This has the excellent feature of showing a privacy score for sites, which gives you a decent idea of how much the site you're using respects your privacy.
7. [HTTPS Everywhere](https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/) - Optional. Makes sure that you always use the HTTPS version of a site when available.
8. [SmartReferer](https://addons.mozilla.org/en-US/firefox/addon/smart-referer/) - Optional. Prevents shenanigans regarding referers.

Once you've installed each of the addons, visit some sites and see what breaks. You will need to start whitelisting things, which is very tedious at first but after a few days becomes very managable from that point forward. Stick with it and you'll really benefit in the long term. But, you will sometimes still hit errors, which brings me to my next topic.

### Troubleshooting errors

Because lots of sites rely on Javascript, bad referer handling practices, trackers, ads, etc, using this setup will break some sites. Sometimes these will be sites you need to use, so you will need to be able to troubleshoot these problems and having a good mental model of what the errors are helps immensely.

These are the steps I generally take, in order:

1. Enable Javascript by clicking on the NoScript icon, then selecting the `Disable restrictions for this tab` button, then refresh the page. If you use this page regularly, it may be worth figuring out which domains you should add to your NoScript whitelist to allow it to work.
2. Check the console. Right click `Inspect Element` and open the second tab, titled `Console`. There is often a description of what errors are happening, which can inform your next steps.
3. Try turning off SmartReferer and refreshing the page. Some sites use subdomains that SmartReferer doesn't like (eg the AWS Console), so it can lead to a dead white page. Note that this problem often leaves telltale signs in the console, so once you've found it, it may be worth checking what is shown there.
4. If none of the above steps worked or gave you actionable information, temporarily disable each addon one-by-one to determine which one is responsible for the breakage. You can then whitelist the site in that addon.
5. If the site still doesn't work with Firefox when all addons are turned off, it may just be that only Chrome/Safari/Edge is supported. Consider whether you actually want to use/support this site, given that it is misbehaved and probably doesn't respect your privacy at all: if you do still want to use it, fire up Chrome.

Ultimately, you will need to find what works for you, and decide if you want to use each of the addons.

#### Using a secondary browser

I highly recommend that once you have a setup you like, install a secondary browser (probably Chrome) which you keep totally vanilla.

### Downsides to this approach

One big downside is that the first week will feel pretty bad: lots of sites you use will barely work or not work at all, and it will seem like you need to constantly be tweaking your setup to get anything to work. But this feeling will pass once you've gotten used to your setup and your whitelists are well populated with the main sites you use.

Another potential downside: because this is a non-standard setup, this configuration could be used to fingerprint your browser. To check out how this works, visit the EFF's [Panopticlick site](https://panopticlick.eff.org/). But the vast majority of people tracking you will be doing it in a way that is easily foiled by this setup, so unless your threat model warrants something stronger, the upsides significantly outweigh the downsides.

gha_language: CSS


text:
---
article_image : "installing-ubuntu-16.04-on-odroid-xu3-lite.jpg"
author : "Jeferson"
date : "2016-07-18T13:37:52+02:00"
news_keywords : ["ubuntu", "odroid", "mate"]
pinned : "notpinned"
project : ""
resources :
  - "Ubuntu ISOs for odroid xu3 lite": "http://de.eu.odroid.in/ubuntu_16.04lts/"
  - "odroid flashing tools": "http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools"
  - "dd on linux.die.net": "https://linux.die.net/man/1/dd"
series : []
tags : ["ubuntu", "odroid", "mate"]
title : "Installing ubuntu 16.04 on odroid xu3 lite"

---

## Choosing an image
Ubuntu 16.04 mate has just been released by odroid team, including support for xu3/xu4 boards and their lite versions. In this case we're going to test Ubuntu 16.04 on odroid xu3 lite, which is the board I own. We'll install it on an eMMC module, which is something like an small ssd (not really the same, eMMC isn't as fast as ssd is). This module will give us a boost on performance, although we can also install Ubuntu on a SD card (class 10).
Firslty, we need to download the image we want to install:
http://de.eu.odroid.in/ubuntu_16.04lts/
From the list above I took the image I was looking for, which is the complete version for odroid xu3:

* [ubuntu-16.04-mate-odroid-xu3-20160708.img.xz](http://de.eu.odroid.in/ubuntu_16.04lts/ubuntu-16.04-mate-odroid-xu3-20160708.img.xz)

<!--more-->

## Writing the image on odroid board
The next step will be to uncompress the image. This is very important because if we try to write a compressed image into the eMMC module, it won't work at all. So, to uncompress it, use the following command:
{{<highlight sh>}}
[jag@2ndChance distros]$ unxz ubuntu-16.04-mate-odroid-xu3-20160708.img.xz
{{</highlight>}}
Ok, now we are ready to install the linux image. The easiest way to do it is using the dd command:
{{<highlight sh>}}
[jag@2ndChance distros]$ sudo dd if=ubuntu-16.04-mate-odroid-xu3-20160708.img of=/dev/sdc bs=1M conv=fsync
[jag@2ndChance distros]$ sync
[jag@2ndChance distros]$ sync
[jag@2ndChance distros]$ sync
[jag@2ndChance distros]$ sync
{{</highlight>}}
## Checking the result
It is very important to use the sync command multiple times after dd so we make sure we flush all the cache content and write the complete image into the eMMC module.
Now we need to verify the image was correctly written into the eMMC module, we'll use the dd command again:
{{<highlight sh>}}
[jag@2ndChance distros]$ sudo dd if=/dev/sdc bs=512 count=$((`stat -c%s ubuntu-16.04-mate-odroid-xu3-20160708.img`/512)) | md5sum
[sudo] password for jag:
8968192+0 registros leídos
8968192+0 registros escritos
4591714304 bytes (4,6 GB) copiados, 106,332 s, 43,2 MB/s
ff988a4039d9bcd6978910447930f5d5 -
[jag@2ndChance distros]$ dd if=ubuntu-16.04-mate-odroid-xu3-20160708.img bs=512 count=$((`stat -c%s ubuntu-16.04-mate-odroid-xu3-20160708.img`/512)) | md5sum
8968192+0 registros leídos
8968192+0 registros escritos
4591714304 bytes (4,6 GB) copiadosff988a4039d9bcd6978910447930f5d5 -
, 26,0306 s, 176 MB/s
[jag@2ndChance distros]$
{{</highlight>}}

We we did with the first command is writing the content of the eMMC module (/dev/sdc) into stdout, piping that output into md5sum command, which gives us the md5 for the content of the eMMC module. With the second command, we read the image from local disk and write it into stdout to pipe it into md5sum, this gives us the md5 for the image we downloaded. Now we can compare both md5 values to check if they are the same,
As you can see, md5 hashes are the same, so everything is ok.
If everything worked out, we'll be able to connect to the board with an ssh connection. In my case I have a static IP assigned for my board, but if you don't know which IP has your odroid, you'll have to log in the router and check it out. You can also use utilities like nmap to discover new devices on the local network. Once we know the IP for the board, we can log in with the following credentials:
root:odroid

I've been testing Ubuntu on the board and the first impression was really good. They've solved some issues with the hdmi output. In previous versions I had a lot of trouble to make it work, but now it was Plug & Play. On the other hand, I've detected an issue with Ethernet connection, which doesn't work always as expected.

## UPDATE

* After some updates and checking the wires, the Ethernet connection works just fine.


text:
# Oblio PHP API Client

Super-simple, minimum abstraction Oblio API wrapper, in PHP

## Installation

Use the package manager [composer](https://getcomposer.org/) to install the Oblio API Wrapper.

```bash
composer require mrbig00/oblio-php-api-client
```

## Usage

```php
$client = new \mrbig00\Oblio\Api\Client(
<EMAIL_ADDRESS>    'clientSecret'
);

$client->getCompanies(['cif' => 'YOUR_CIF']);
$client->getVatRates(['cif' => 'YOUR_CIF']);

```

## Available methods

- getClients
- getProducts
- getSeries
- getLanguages
- getManagement
- getVatRates
- addProforma
- addNotice
- addInvoice
- getInvoice
- getProforma
- getNotice
- cancelInvoice
- cancelProforma
- cancelNotice
- deleteInvoice
- deleteProforma
- deleteNotice
- restoreInvoice
- restoreProforma
- restoreNotice

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)

gha_language: PHP


text:
RBStringReplaceRule replaces a matched tree with another tree (which may include metavariable from the matching tree). This is a very succint syntax for specifying most rewrites.

Instance Variables:
	replaceTree	<RBProgramNode>	The tree to replace the matched tree with.

repository: dalehenrich/tode

gha_language: Smalltalk

repo_name: dalehenrich/tode


text:
# Knative Eventing NATS Streaming Provisioner

## Overview

This chart includes Knative NATS streaming provisioner release files.

Included releases:

* https://github.com/knative/eventing-contrib/tree/release-0.10/natss/config

Kyma-specific changes:

* New environment variables: **{EB_USER}** and **{EB_PASS}** added for authentication.
* Environment variables **{DEFAULT_CLUSTER_ID}** and **{DEFAULT_NATSS_URL}** set for Kyma-specific needs.
* A new label `rand` added to Deployments to force Pod restart during the upgrade.
* A new label `kyma-project.io/dashboard: event-mesh` added for event-mesh dashboard.

repository: sayanh/kyma

gha_language: Go

repo_name: sayanh/kyma


text:
---
description: IBusinessRulesService<TModel> (SanteDB.Core.Api)
---

# Business Rules Service

## Summary

Represents a service that executes business rules based on triggers which happen in the persistence layer

### Remarks

Note: This can be done, instead with events on the persistence layer on the SanteDB datalayer, however there may come a time when a rule is fired without persistence occurring

## Properties

| Property | Type                           | Access | Description                                                         |
| -------- | ------------------------------ | ------ | ------------------------------------------------------------------- |
| Next     | IBusinessRulesService\<TModel> | RW     | Gets or sets the rule to be run after this rule (for chained rules) |

## Operations

| Operation      | Response/Return      | Input/Parameter                    | Description                          |
| -------------- | -------------------- | ---------------------------------- | ------------------------------------ |
| AfterInsert    | TModel               | _TModel_ **data**                  | Called after an insert occurs        |
| AfterObsolete  | TModel               | _TModel_ **data**                  | Called after obsolete committed      |
| AfterQuery     | IEnumerable\<TModel> | _IEnumerable\<TModel>_ **results** | Called after query                   |
| AfterRetrieve  | TModel               | _TModel_ **result**                | Called after retrieve                |
| AfterUpdate    | TModel               | _TModel_ **data**                  | Called after update committed        |
| BeforeInsert   | TModel               | _TModel_ **data**                  | Called before an insert occurs       |
| BeforeObsolete | TModel               | _TModel_ **data**                  | Called before obsolete               |
| BeforeUpdate   | TModel               | _TModel_ **data**                  | Called before an update occurs       |
| Validate       | List\<DetectedIssue> | _TModel_ **data**                  | Called to validate a specific object |

## Implementations

None

## Example Implementation

```csharp
/// Example Implementation
using SanteDB.Core.Services;
/// Other usings here
public class MyBusinessRulesService<TModel> : SanteDB.Core.Services.IBusinessRulesService<TModel> {
    public String ServiceName => "My own IBusinessRulesService`1 service";
    /// <summary>
    /// Gets or sets the rule to be run after this rule (for chained rules)
    /// </summary>
    public IBusinessRulesService<TModel> Next {
        get;
        set;
    }
    /// <summary>
    /// Called after an insert occurs
    /// </summary>
    public TModel AfterInsert(TModel data){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called after obsolete committed
    /// </summary>
    public TModel AfterObsolete(TModel data){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called after query
    /// </summary>
    public IEnumerable<TModel> AfterQuery(IEnumerable<TModel> results){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called after retrieve
    /// </summary>
    public TModel AfterRetrieve(TModel result){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called after update committed
    /// </summary>
    public TModel AfterUpdate(TModel data){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called before an insert occurs
    /// </summary>
    public TModel BeforeInsert(TModel data){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called before obsolete
    /// </summary>
    public TModel BeforeObsolete(TModel data){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called before an update occurs
    /// </summary>
    public TModel BeforeUpdate(TModel data){
        throw new System.NotImplementedException();
    }
    /// <summary>
    /// Called to validate a specific object
    /// </summary>
    public List<DetectedIssue> Validate(TModel data){
        throw new System.NotImplementedException();
    }
}
```

repository: santedb/dev-doc

repo_name: santedb/dev-doc


text:
# Contributing #
This filter list is written with compliance to adblock plus filter guidelines: https://adblockplus.org/en/filters

#### Examples of recommendations that should be blocked: ####
* Most recommendations in sidebars of magazine websites
* Youtube sidebar recommendations include lots of recommendations that are unrelated to the video being watched. They are all somehow related to watch history but relatedness in this project is relative to the topic at hand. As a result, they are blocked.
* Stack Exchange "Hot Network Questions" list should be blocked since the entries are unrelated to the question at hand.

#### Examples of recommendations that should not be blocked: ####
* Stack Exchange "Linked" and "Related" lists should not be blocked since they are related to the question.

### Modules That Should not be Blocked ###
* Webpages that provide recommendations only and don't have a particular topic. Lots of homepages are in this category e.g. youtube.com/ or homepages of magazine/newspaper websites.
* Obviously: Search bars and search results should not be blocked

### Sorting ###
Grouping similar filters is cannon. Alphabetical sorting is not strictly necessary since ctrl+f replaces this need. It is preferred though.

### Comments ###
Comments for every filter is desired. Comments should be positioned over the filter.

license: Unlicense

repository: KCaglarCoskun/enur-filter-list

gha_license_id: Unlicense

repo_name: KCaglarCoskun/enur-filter-list


text:
# Introduction

This document reflects my (Seth's) limited understanding of the issues at hand and what I think should be guiding principles for the proxy app if my understanding is more or less correct.

This is meant as another starting point for discussion and not as a manifesto :)

# Motivation

Computational physicists estimate that the next generation of particle physics experiments will require an increase in simulation throughput on the order of 100× by the mid-2020s. This computational burden can only be satisfied with exascale computer architectures and an exascale-ready particle physics application.

The number and complexity of physical processes necessary in these simulations are not straightforwardly amenable to execution on the GPU accelerators that provide most of the computational power of the current and next generation of machines. There is therefore a strong need for an application that can approximately *represent* the challenges of the necessary particle physics but can be rapidly changed to determine how to obtain maximum performance on pre-exascale systems.

This requirement implies three key guiding principles for the proxy app:
 1. Modularity. We need to be able to determine whether changing a physics model, a geometry implementation, or even the overall program flow can substantially improve performance.
 2. Simplicity. The app may be implemented on multiple architectures with multiple programming paradigms.
 3. Scalability. The application needs to be fast *at scale*, which means the components of the app should be parameterized so that both small and large problems can be run on both small and large machines.

# Next steps

We need to identify the following before we can actually write a requirements document. We should also be careful to separate a requirement ("geometric representation of an array of tubes") from an implementation of that requirement ("GDML input of a tube array").

## Capabilities

What is the *smallest* set of capabilities that can reasonably represent a real-life simulation? What are the ultimate anticipated set of capabilities needed for an exascale-level simulation?

## Data usage and access patterns

What are the data requirements for these capabilities? This includes:
 - Fixed memory requirements of the problem geometry
 - Fixed memory requirements of the physics kernels
 - Amount of data input per event
 - Amount of data *output* per event

## Parameters

What are the key areas of *scalable* complexity? These might include:
 - Number of events, and amount of data that needs to be collected per event
 - Number of physics modules, and amount of cross section data in each of the modules
 - Number of geometrical regions, and the depth of their CSG representation

What ranges do these values take, from most simple test case to most complex
anticipated simulation?

repository: Geant-RnD/ExascaleProxyDocuments

repo_name: Geant-RnD/ExascaleProxyDocuments


text:
# urlencode

Escapes a value for use in a URL.

---

```htmldjango
{{ value|urlencode }}
```

f `value` is `"https://www.example.org/foo?a=b&c=d"`, the output will be `"https%3A//www.example.org/foo%3Fa%3Db%26c%3Dd"`.

An optional argument containing the characters which should not be escaped can be provided.

If not provided, the '/' character is assumed safe. An empty string can be provided when all characters should be escaped. For example:

```htmldjango
{{ value|urlencode:"" }}
```

If `value` is `"https://www.example.org/"`, the output will be `"https%3A%2F%2Fwww.example.org%2F"`.


text:
[![Maintainability](https://api.codeclimate.com/v1/badges/0090be0efc58b7c5163e/maintainability)](https://codeclimate.com/github/bekomay26/MusicApp/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/0090be0efc58b7c5163e/test_coverage)](https://codeclimate.com/github/bekomay26/MusicApp/test_coverage)
# Music App

A Music App Store API that will bring an upcoming artiste to the limelight

## Demo
- [Pivotal Tracker](https://www.pivotaltracker.com/n/projects/2352701).
- [Heroku App](https://lms-music.herokuapp.com/).

## Running Locally
- run `composer install`
- run `php artisan migrate`
- signup with the register route(api/v1/register)
- make requests to endpoints

## Features

### User

- Log in /Log out
- Search or go through music genre/categories
- Play/View the songs
- Download a song
- Subscribe to become a premium user
- Pay for a premium account using Stripe
- Generate payment receipt in PDF format

### Artiste
- Create a profile
- Create albums
- Can add tracks to albums

### API Endpoints

- Register - POST api/v1/register
- Login - POST api/v1/login
- Create an album - PUT api/v1/albums
- Add track to album - api/v1/albums/{id}/tracks
- Create a new song - POST api/v1/songs
- View Song - GET api/v1/songs/{id}
- Download song - GET api/v1/songs/download/{id}
- Create genre - POST api/v1/genres
- Subscribe to the premium plan - POST api/v1/subscribes
- Download payment invoice - GET api/v1/subscribes/invoice

## Built with
* [Laravel](https://laravel.com/docs/5.8) - A free and open-source PHP web framework

## Authors
**Folajimi Ogunbadejo**

## License
  [MIT License](https://opensource.org/licenses/MIT)

branch_name: refs/heads/develop


text:
## Capacity Alert

Command line interface to easily the checking of available ram and disk.

Is built thinking in integration with [Slack](https://slack.com/) using a webhook integration.

### Use
Help
```shell
$ python main.py --help
Usage: main.py [OPTIONS]

  Program to check the system capacity on RAM and DISK and send alert if is
  lower than certain threshold set by the user.

Options:
  -rp, --ram-percentage TEXT   Percent of total ram
  -rf, --ram-fixed TEXT        Fixed amount of ram
  -dp, --disk-percentage TEXT  Percent of total disk
  -df, --disk-fixed TEXT       Fixed amount of disk
  -sw, --slack-webhook TEXT    Slack webhook
  -sa, --slack-admins TEXT     Slack administrator ids
  --help
```
Default behaviour sent an alert if the available resource is lower than 1GB
```shell
$ python main.py
[WARNING] LOW AVAILABLE RAM 0.763Gb/11.625Gb
[WARNING] LOW AVAILABLE DISK 0.962Gb/97.709Gb
```
Using a Slack webhook
```shell
$ python main.py -sw https://hooks.slack.com/services/.../.../...
```
Using a Slack webhook and tag multiple users
```shell
$ python main.py -sw https://hooks.slack.com/services/.../.../... -sa user1 -sa user2
```

### LICENSE
MIT

repository: Michotastico/CapacityAlert

repo_name: Michotastico/CapacityAlert


text:
League of Angels utility scripts
===
All scripts are generally tested to work with Python 3.x

tt.py
-----
Attempts to simulate Team Tournament battles. Configuration of player matchup results in tt.yml

Requires PyYAML to be installed:
http://pyyaml.org/wiki/PyYAML

gemology.py
-----------
Recognizes a gemology board, calculates and performs best move.

Requires Python 3.x
https://www.python.org/downloads/

Requires pywin32, download tha appropriate version for your version of python:
http://sourceforge.net/projects/pywin32/files/pywin32/

Also requires Pillow which can be installed via:
easy_install Pillow

Can run with --help parameter to get list of options.  In normal mode after starting it will ask how much energy you have left. Then it will ask you to place your mouse over the top left gem and press enter.  To do this, have both command line window and browser window open side by side with the gems visible and the command window in focus. Place mouse over top left gem but keep focus on command line window, then press enter.  Script will then home in on exact coordinates for the gemology grid, it will then repeat the following:

1. Scan what colors the gems are.
2. Calculate best move based upon current configuration.
3. Perform the gem swap move.
4. Wait for the move to resolve itself.
5. Back to 1, until out of energy.

The script recognizes when it gets to the end of the energy and stops trying to setup 2 or 3 move combos when there is not enough energy left to do so.

To quit the script in the middle of operation, press ctrl + c. Do not move the browser window, or hide the view of the gems.  If the script fails to recognize the gem colors, it will stop running.

repository: jshumaker/LoA

repo_name: jshumaker/LoA


text:
# esp8266-deep-sleep-examples

This repository is a example code base demonstrating some
aspects of ESP8266' `ESP.deepSleep` function for the Arduino platform. It results from my experiments when hacking on a DIY project.

When you tried deep sleep on an ESP8266 and wondered,
* where is my memory gone?
* why is the wifi not working as expected?
* are there some patterns for this stuff?

then please read on.

The examples do not come with a build system, but can be run using [PlatformIO](http://www.platformio.org).

4 flavors:

* [01_default_nowifi: The bare minimum for playing with deep sleep](01_default_nowifi/README.md)
* [02_default_nowifi_retainvars: How to retain variables](02_default_nowifi_retainvars/README.md)
* [03_default_wifi: Wifi](03_default_wifi/README.md)
* [04_disablerf_wifi_retainstate, Wifi, extra power save by disabling RF](04_disablerf_wifi_retainstate/README.md)


text:
<meta itemprop="name" content="recsim.agents.agent_utils.GymSpaceWalker" />
<meta itemprop="path" content="Stable" />
<meta itemprop="property" content="__init__"/>
<meta itemprop="property" content="apply_and_flatten"/>

# recsim.agents.agent_utils.GymSpaceWalker

View
source

Class for recursively applying a given function to a gym space.

recsim.agents.agent_utils.GymSpaceWalker(
    gym_space, leaf_op
)

Gym spaces have nested structure in terms of container spaces (e.g. Dict and
Tuple) containing basic spaces such as Discrete and Box. This class consumes a
gym observation definition and a leaf operator is used to produce a flat list of
the contents of the gym space, apply the leaf operator to all basic spaces in
the proces. E.g., given a gym space of the form Tuple((Box(1), Box(1)) and a
leaf operator f, this class can is used to transform an observation (a, b) to
[f(a), f(b)].

<colgroup><col width="214px"><col></colgroup>

Args

gym_space: An instance of an OpenAI Gym space. leaf_op: A function taking as
arguments an OpenAI Gym space and an observation conforming to that space. There
are no requirements on its output.

## Methods

apply_and_flatten

View
source

apply_and_flatten(
    gym_observations
)

repository: rahul-zomato/recsim

repo_name: rahul-zomato/recsim


text:
# Webhook Printer

This service creates temporary Webhook URLs and displays the sent content. If the URL is entered in services, the transmitted data is displayed.

![GitHub](https://img.shields.io/github/license/pkuebler/webhook-printer?style=for-the-badge)
[![Travis (.org)](https://img.shields.io/travis/pkuebler/webhook-printer?style=for-the-badge)](https://travis-ci.org/github/PKuebler/webhook-printer)
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/pkuebler/webhook-printer?style=for-the-badge)](https://hub.docker.com/repository/docker/pkuebler/webhook-printer)
[![MicroBadger Layers](https://img.shields.io/microbadger/layers/pkuebler/webhook-printer?style=for-the-badge)](https://hub.docker.com/repository/docker/pkuebler/webhook-printer)
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/pkuebler/webhook-printer/latest?style=for-the-badge)](https://hub.docker.com/repository/docker/pkuebler/webhook-printer)
[![Docker Automated build](https://img.shields.io/docker/cloud/automated/pkuebler/webhook-printer?style=for-the-badge)](https://hub.docker.com/repository/docker/pkuebler/webhook-printer)
[![Docker Build Status](https://img.shields.io/docker/cloud/build/pkuebler/webhook-printer?style=for-the-badge)](https://hub.docker.com/repository/docker/pkuebler/webhook-printer)

![Usecase](https://raw.githubusercontent.com/PKuebler/webhook-printer/master/screenshot.png)

## Features

- Create dynamic Webhook Endpoints
- Show endpoints

This service does not store data persistently and deletes all data as soon as the browser connection is interrupted.

## Use

Start the docker container or binary. The service listen on `:8080` and serve the website.

## License

MIT

repository: PKuebler/webhook-printer

repo_name: PKuebler/webhook-printer


text:
#### What is InsightR?
InsightR is a web-application based on R, which supports the workflow of machine learning starting from the extraction of raw data from a relational database and ending with the exploration of the final ML-Model in an easy-to-use manner.

The source code of the application along with further instructions can be found on gitHub: https://github.com/f-opp/InsightR

Report bugs and issues there - thanks.

#### Overview
The used ML-Workflow consists of 5 steps. The InsightR tool supports the tasks in each of those 5 steps in its 4 modules.

![alt text](../images/workflow_sm.png "5 Steps of ML-Workflow")

The application is split into four modules, each serving to fulfill different tasks of the workflow. The following table contains the tasks of each of the modules. Some tasks are mandatory to view for the workflow to continue, others are optional.

![alt text](../images/tasks_sm.png "tasks")

repository: f-opp/InsightR

repo_name: f-opp/InsightR


text:
---
name: Issue
about: File an issue
title: ''
labels: ''
assignees: ''

---

Bug reports are filed via the **Bug report** template.

**Screenshots:** If applicable, add screenshots to help explain the issue.
In addition to screenshots of your app add a screenshot from the [MathJax sandbox](https://www.mathjax.org/#demo) for comparison.

gha_language: TypeScript