text:
# Lsrcr Rules

1. # Rules of *All* Lsrcr Services
   1. **You or your account(s) shall not--intentionally or unintentionally--do any of the following actions**:
      1. **Allow another person to access any of your Lsrcr-related accounts** including external accounts used to access or attached to Lsrcr services.
      2. **Send or share any of the following content**:
         1. **Malicious files (malware)**: content including, but not limited to, trojans, ransomware, keyloggers, DDoS, or game cheats.
         2. **Executable files**: content including, but not limited to, ".EXE" files, scripts, or any other file designed to be run or executed on any system.
         3. **Mature content**: content including, but not limited to, pornography, realistic gore or violence, nudity, and sexual content.
         4. **Copyrighted content**: content including, but not limited to, any content that the owner holds the exclusive rights to that you do not have permission to distribute.
         5. **Spam**: content including, but not limited to:
            1. Advertisements for non-Lsrcr servers or projects.
            2. Junk.
            3. Repetitive content or messages.
            4. Support tickets or forum posts (like reports or unban appeals) sent to staff in an attempt to expedite its review.
            5. Excessive cursing/swearing.
            6. Asking for, begging for, or otherwise contacting anyone for the purpose of obtaining any donation item, in-game items, in-game cash, or any other service or entity unless that person has an open advertisment on the Lsrcr forum explicitly stating their intention to sell or give away the item in question.
         6. **Harassing content**: content including, but not limited to, threats to commit real-life crime or violation of these rules, repetitive insults, racial slurs, bullying, asking for personal details, content containing explicit or implicit sexual overtones, or any other content sent to an individual after being asked by that person to stop sending such content.
         7. **Controversial content**: content including, but not limited to, religions, deities, cults, politics, and world events.
         8. **Any content pertaining to using, obtaining, creating, or otherwise related to rule <IP_ADDRESS> or <IP_ADDRESS>**.
         9. **Any content that encourages others to break these rules**.
      3. **Abuse any bug, glitch, error, flaw, fault, or any other unintended function**.
         1. Any such bug, glitch, error, fault, or other unintended function shall be immediately reported to a Lsrcr staff member and shall not be revealed to anyone but Lsrcr staff.
      4. **Impersonate another**.
      5. **Lie to an administrator during an investigation of rule-break**.
      6. **Disobey orders from a staff member**. If you feel a staff member's order is unreasonable, collect evidence and report that staff member to a higher-ranked moderator or administrator. If a staff member is telling you to do something, there is likely a good reason for it.
      7. **Copy, steal, recreate, reverse-engineer, or otherwise take any Lsrcr created, operated, or used content**. This includes, but is not limited to the game script, forum content, groups, etc.
      8. **Research, seek out, or disseminate any private or identifying information about any individual or organization other than yourself**. This includes, but is not limited to images, real names, email addresses, phone numbers, physical addresses, etc. This is commonly known as "Doxing".
      9. **Access any account, system, profile, etc. that does not belong to you, or that you are not granted access to by an administrator**. This includes committing or attempting to commit any sort of cyber attack against Lsrcr or its players.
   2. EXCEPTIONS to the "Lsrcr Services" rule:
      1. Content sent through non-Lsrcr services (e.g. Discord PMs) are not policed by Lsrcr staff unless all of the following are met:
         1.  A user contacts another user with the intent to violate rule 1.1 without the other user's consent.
         2. The user was able to contact the other user solely as a result of the two users being a part of Lsrcr's Discord.

2. # Lsrcr SAMP-Specific Rules

   1. **You or your account(s) shall not--intentionally or unintentionally--do any of the following actions**:
      1. **Deathmatch**. Deathmatch includes:
         1. Shooting or otherwise causing damage to innocent players as an innocent or law enforcement officer.
         2. Shooting or otherwise causing damage to another player who you successfully robbed, raped, broke, etc. before they attacked you first.
         3. Shooting or otherwise causing damage to another player who only unsuccessfully robbed, raped, broke, etc. you.
         4. Carrying out your own hit.
         5. Assisting another kill someone where you had no justification to attack.
         6. EXCEPTIONS to rule <IP_ADDRESS> through <IP_ADDRESS>:
            1. A hitman may kill any player who has a hit.
            2. Shooting a vehicle where the driver is innocent, but you are justified in shooting the passenger(s) is allowed.
            3. Utilizing melee weapons, excluding chainsaw, you may attack any person for any reason. Vehicles are NOT considered melee weapons for the purposes of this exception. This exception does not allow violating harassment rules (rule 2.1.2).
         7. EXCEPTIONS to rule <IP_ADDRESS>:
            1. Pagati members may carry out their own hits in the course of proper Pagati roleplay, if the hit was placed by the server for Pagati automatically, or if intruders enter the Pagati base without permission and do not leave when asked by members to do so, in which case they may open fire.
      2. **Harass others**. Harassment includes:
         1. Committing any of the following after being asked by the other player to stop:
            1. Following someone for more than three (3) minutes within a ten (10) minute period unless attacking as allowed by rule 2.1.1 (excluding rule <IP_ADDRESS>.3).
            2. Committing more than three (3) hostile actions toward another player within a ten (10) minute period if that player did not retaliate with an attack or a hostile action in return. A "hostile action" means anything from raping, robbing, or breaking to killing as allowed by rule 2.1.1.
         2. EXCEPTIONS to rule <IP_ADDRESS>:
            1. The following classes are exempt under the following circumstances:
               1. Law enforcement - when chasing a wanted player
               2. Hitmen - when chasing a player with a hit
               3. Pagati - in the course of proper Pagati roleplay or when chasing a player with a hit
         3. Intentionally carrying out acts of suicide to trigger anti-DM measures on others. This includes, but is not limited to, deliberately jumping on heli-blades with intent to quiz and/or jail the pilot.
      3. **Abuse commands**. Command abusing includes:
         1. Using /rp without a valid reason. Valid reasons include, but are not limited to:
            1. Holding a weapon in public
            2. Assault
            3. Reckless driving
            4. Damaging property
         2. Using /tune to avoid damage to your vehicle for any reason.
         3. Misuse of the /cuff command. This includes:
            1. Repeated cuffing of innocents, who do not show hostility, following a /search.
            2. Repeated (un)cuffing of hitmen as a means of taking them down.
         4. Using animation commands as a means of avoiding damage and/or death. This includes, but is not limited to, misusing anims such as /fall or /rollfall.
      4. **Cheat**. Cheating includes:
         1. Using any modification or tool that may give you an unfair advantage over another player who does not use the tool or modification. This includes, but is not limited to any of the following:
            1. Aimbot
            2. Airbrake cheat
            3. Key-binds
            4. Teleport cheat
         2. Failing to report a cheater.
         3. Using the BMX high-jump SMG bug to escape a player allowed to kill you per rule 2.1.1.
         4. Entering the menu (Esc) or minimizing the game to evade a player allowed to kill you per rule 2.1.1.
         5. Warping through solid objects to evade a player allowed to kill you or to access an otherwise inaccessible area by entering the passenger seat of vehicles ("G" abuse).
         6. Refilling your armor more than once from weapon checkpoints in the middle of a fight.
         7. C-Bugging to generate a faster reload time by circumventing the reloading animation.
      5. **Place random hits**. Valid hit reasons include hitting a player within five (5) minutes of any of the following actions being taken:
         1. For successfully or unsuccessfully committing a "hostile action" against you as defined in rule <IP_ADDRESS>.
         2. For arresting or fining you.
         3. For damaging your vehicle.
         4. For insulting you.
         5. For following you for an extended period of time.
         6. For placing a hit on you.
      6. **Leave the server while being pursued by law enforcement or by a hitman when you have a hit**.
         1. EXCEPTIONS to rule 2.1.6:
            1. Waiting at least thirty (30) minutes before returning to the server is not a violation of rule 2.1.6.
      7. **Enter an instanced or other area separated from what is accessible by the general public while being chased by someone allowed to kill you per rule 2.1.1**.
         1. EXCEPTIONS to rule 2.1.7:
            1. Entering an area that the chaser can enter is not a violation of rule 2.1.7.
            2. A criminal may escape law enforcement by entering the black market and is not a violation of rule 2.1.7.
      8. **Exchange any Lsrcr goods or services for real-life currency**. These goods include, but are not limited to, donator points, jail cards, or duel cards.
      9. **Scoreboost**. Scoreboosting is repeatedly selling items, weapons, etc, or otherwise increasing your score in a particular class by collaborating with another account or by any other means in order to increase your score at an expedited rate. Leaving to evade cooldown timers shall also be considered scoreboosting.
      10. **Improperly use chat channels**:
          1. All chat channels shall be used for their original intended purpose. This includes administrative channels such as /ask or /adm.
          2. Under no circumstances shall any non-English language be spoken in main chat. This includes class channels such as /cm or /tm.
          3. Do not make /q and/or /reconnect jokes as a way of tricking players to closing/restarting their connection to the server.
          4. Posting links other than those from the domain "ls-rcr.com".
      11. **Improperly utilize the water cannon**. The water cannon shall only be used when killing is allowed under rule 2.1.1.
      12. **Kidnap or drag an AFK player**.
      13. **Go AFK while selling hot dogs or sell hot dogs right next to checkpoints**.
      14. **Own more than one non-donation house at a time**. This rule applies to each PERSON--meaning you may not set up multiple accounts to circumvent this rule.
          1. NOTE: When a donation house is transferred from one player to another (not purchased directly from Lsrcr with donation points), the house automatically becomes a non-donation house.
      15. **Trade any donation items other than donation points, jail cards, duel cards, or houses with other players**.
          1. Players with these points are permitted to sell or trade them for any reason (within the constraints of rule 2.1.8).
          2. Players may not directly ask others to trade unless responding to a generic public enquiry made in the game's main chat or a post on the forums. This also includes direct enquiries for free donation items.
      16. **Scam unless all of the following apply**:
          1. Scammer does not have the [Lsrcr] tag.
          2. Scammer does not scam more than $300,000.
          3. Trade does not involve any donation items. This does not include a donated house.
          4. The victim of the scam has at least 500 score.
      17. **Ban evade**. You may not circumvent the ban system by creating another account and/or using a different IP address from the one that is banned.
      18. **Asking staff members to do events or for packets, teleports, etc**.
      19. **Interrupt Pagati in their course of official roleplay**. You should not deliberately carry out any actions that could lead to a player being withdrawn from their roleplaying activity. This includes, but is not limited to, the following:
          1. Cuffing, searching and/or arresting.
          2. Raping and/or kidnapping.
          3. Melee DM.
          4. **NOTE:** This rule does NOT apply when Pagati engage in normal gameplay and/or carry a wanted level (permissing LEOs to engage as per normal).

3. # Lsrcr Forum-Specific Rules

   1. **You or your account(s) shall not--intentionally or unintentionally--do any of the following actions**:
      1. **Post support tickets or forum posts (like reports or unban appeals) in an attempt to expedite its review**. Admins know the reports are there, and they will get to them as soon as they can.
      2. **Make topics or post in topics that may insight hatred or flaming**. If something is wrong, make a report or private message an administrator, assistant senior administrator, senior administrator, or the head administrator.
      3. **Go off topic**. Go to "The Bar" if you want to be random. Being random does not include being bashful and hateful.
      4. **Bump old topics** unless you are adding something useful or interesting to the conversation.

4. # Lsrcr TeamSpeak-Specific Rules

   1. **You or your account(s) shall not--intentionally or unintentionally--do any of the following actions**:
      1. **Poke spam** other users.
      2. **Whisper spam** other users.

5. # Lsrcr Discord-Specific Rules

   1. The "Lsrcr Discord" is a subdivision of the "Half-a-Nerd" Discord.
   2. **You or your account(s) shall not--intentionally or unintentionally--do any of the following actions**:
      1. **Spam tag other users/groups without a good reason**. If someone was recently tagged, do not tag them again unless necessary.
      2. **Tag "@everyone", "@here", or any other large group without good reason or justification**.
         1. For example:
            1. Tagging "@here" would be appropriate in the "#twitch-youtube" channel if advertising your current stream or a new YouTube video you uploaded.
            2. Tagging "@everyone" in "#general" to say "Come in game!" would not be appropriate.
            3. Tagging "@SAMP Staff" in "#support" to say "ID 32 ([Lsrcr]Energ) is using airbrake. There are no admins online." would be appropriate.

6. EXCEPTIONS to rules 1, 2, 3, 4, and 5:

   1. Any Lsrcr administrator ranked level 4 and above is exempt from any rule that becomes necessary to violate in order to carry out administrative duties of Lsrcr as long as that duty falls within that administrator's assigned scope of duties.
      1. Some examples:
         1. An administrator may need to violate rule 1.1.8 in order to resolve a support ticket issue such as changing a player's email on their behalf. This would be an appropriate usage of this exception.
         2. If an administrator publicly posted a player's email address on the forum, this would not be an appropriate usage of this exception, and would be a flagrant violation of the server rules and players' trust.
         3. If an administrator were to deathmatch a player to further investigate one who they determine may be utilizing cheats, this would be an appropriate usage of this exception.

license: Unlicense

repository: lsrcrandrew/rules

repo_name: lsrcrandrew/rules


text:
# PipelineCache

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uuid** | **String** | The UUID identifying the pipeline cache. |  [optional]
**pipelineUuid** | **String** | The UUID of the pipeline that created the cache. |  [optional]
**stepUuid** | **String** | The uuid of the step that created the cache. |  [optional]
**name** | **String** | The name of the cache. |  [optional]
**path** | **String** | The path where the cache contents were retrieved from. |  [optional]
**fileSizeBytes** | **Integer** | The size of the file containing the archive of the cache. |  [optional]
**createdOn** | [**OffsetDateTime**](OffsetDateTime.md) | The timestamp when the cache was created. |  [optional]

branch_name: refs/heads/main

extension: md

license_type: permissive


text:
# Environmental Stressor

[![Build Status](https://travis-ci.org/matheusneder/environmental-stressor.svg?branch=master)](https://travis-ci.org/matheusneder/environmental-stressor)

This is an ASP.NET Core web application for test environment (like a server or cluster).

It provides operations to simulate:
  - Long running startup
  - Long running request
  - High CPU usage
  - Memory leak
  - Out of memory
  - High throughput

# Running

Docker image available at: https://hub.docker.com/r/matheusneder/environmental-stressor

```
# docker run matheusneder/environmental-stressor:v1.0-alpha.4
```

license: MIT

repository: matheusneder/environmental-stressor

branch_name: refs/heads/master

repo_name: matheusneder/environmental-stressor


text:
# Tag2Gauss: Learning Tag Representations via Gaussian Distribution in Tagged Networks

```
@inproceedings{tag2gauss_ijcai19,
  title     = {Tag2Gauss: Learning Tag Representations via Gaussian Distribution in Tagged Networks},
  author    = {Wang, Yun and Du, Lun and Song, Guojie and Ma, Xiaojun and Jin, Lichen and Lin, Wei and Sun, Fei},
  booktitle = {Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI)},
  pages     = {3799--3805},
  year      = {2019}
}
```

links
- [ijcai](https://www.ijcai.org/proceedings/2019/527)

gha_language: Jupyter Notebook

gha_license_id: MIT


text:
# Credits

* Adafruit - for being awesome. They have made a super duper board - with love AT Commands
* [bbx10](https://forums.adafruit.com/viewtopic.php?f=53\&t=145081\&start=15) on the Adafruit forums who got this up and running. Awesome.
* [Keyboard](https://thenounproject.com/search/?q=keyboard\&i=1442359) by Atif Arshad from the Noun Project
* [Bluetooth](https://thenounproject.com/search/?q=bluetooth\&i=1678456) by Adrien Coquet from the Noun Project

repository: AceCentre/RelayKeys

gha_language: Python

repo_name: AceCentre/RelayKeys


text:
# `Angular Reedsy`

- Please download the repo.

- Install dependencies:
```
npm install
```

- Run Demo Page:
```
npm start
```
App should be running on  `http://localhost:8000/`

- Documentation:

If Demo page is running:
`http://localhost:8000/docs/`

- Run tests:
```
npm test-single-run
```

Thanks

repository: tiagotedsky/bookShelf

repo_name: tiagotedsky/bookShelf


text:
### [CVE-2021-1830](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-1830)
![](https://img.shields.io/static/v1?label=Product&message=iOS%20and%20iPadOS&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%2014.5%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=A%20local%20user%20may%20be%20able%20to%20read%20kernel%20memory&color=brighgreen)

### Description

An out-of-bounds read was addressed with improved input validation. This issue is fixed in iOS 14.5 and iPadOS 14.5. A local user may be able to read kernel memory.

### POC

#### Reference
No PoCs from references.

#### Github
- https://github.com/p1ay8y3ar/cve_monitor

repository: trickest/cve

gha_language: HTML

repo_name: trickest/cve


text:
# BogoDb

BogoDb is a toy database management system written in Go.
Inspired by CMU Database Group's Lecture (of course not homework!) This db still works completely poor. I realized it is so difficult to develop efficient database...

## Specification

- SQL
    - create table
    - insert statment
    - select statement(from, where)
    - begin, commit, rollback
- Index(with b-tree)
- Buffer on memory
- Concurrency(only transaction)
- not mmap implementation

## Requirement

- go
- maybe unix
- protoc

## How to run

```
# start bogodb server
> go run .

# create table
> curl `create table users { id int primary key }

# insert
> curl `insert into users values (1)`

# select
> curl `select id from users`
```

## TODO

- refactoring `query`, especially analyse, eval...
- btree's implementation
- add update, delete statement

## Author

ad-sho-loko

## LICENSE

MIT

repository: S-YOU/bogoDB

repo_name: S-YOU/bogoDB


text:
##VIRTUAL CLINC

## AUTHOR
Abdirahman Noor

## DESCRIPTION
This is a Django web application for managing patients information in a clinc.

## SETUP
To access this project on your local files, you can clone it using these steps:

1. Open your Terminal.
2. Use this command to clone `https://github.com/abdirahman-ahmednoor/clinc.git`
3. This will clone the repository into your local folder.

## BDD
1. Provides appointment form
   | input       |    output  |
     | :--      | :---      |
   | user fills appointments form  | new appointment added in the form |
2. Provides prescription forms
   | input       |    output  |
     | :--      | :---      |
   | menu link "prescription" clicked | new prescription added  |
3. Show user patient
   | input       |    output  |
     | :--      | :---      |
   | user patient icon clicked  | patient page with user information displayed  |
4. Show visit details
   | input       |    output  |
     | :--      | :---      |
   | visit information clicked  |  a new page loaded with visit details   |

5. Provides  delete function
   | input       |    output  |
     | :--      | :---      |
   | delete button clicked | form deleted  |

## DEPENDENCIES
1. django-bootstrap
2. Pillow
3. cloudinary
4. psycopg2
5. django-registration
6. python-decouple
7. Python Venv
8. Whitenoise
9. Gunicorn

## TECHNOLOGIES USED

1. Python3
2. HTML
3. CSS
4. Javascript

## LIVE
View [Live](https://medical-clinc.herokuapp.com/)

## LICENSE
This project is under [MIT](Licence) license.


text:
## Requirements to run the script
#### Dependencies

- requests
- pyyaml

#### client_secret.json
In the same folder as the script

[HOWTO](https://developers.google.com/api-client-library/python/auth/installed-app#creatingcred)

Sample:
```
{
    "installed": {
        "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
        "auth_uri": "https://accounts.google.com/o/oauth2/auth",
        "client_id": "000000000000-00000000000000000000000000000000.apps.googleusercontent.com",
        "client_secret": "000000000000000000000000",
        "project_id": "youtube-pldump",
        "redirect_uris": [
            "urn:ietf:wg:oauth:2.0:oob",
            "http://localhost"
        ],
        "token_uri": "https://accounts.google.com/o/oauth2/token"
    }
}
```

## Usage

```
$ > python ytpld.py
```

## Convert yaml to json
```
$ > python y2j.py dump.yaml dump.json
```


text:
1.src\main\java\com\otaliastudios\cameraview\CameraView.java

takePicture()为CameraView.java三方库提供的接口

```java
/**
    * Asks the camera to capture an image of the current scene.
    * This will trigger {@link CameraListener#onPictureTaken(PictureResult)} if a listener
    * was registered.
    *
    * @see #takePictureSnapshot()
    */
public void takePicture() {
    PictureResult.Stub stub = new PictureResult.Stub();
    mCameraEngine.takePicture(stub);
}

```

2.根据PictureResult.Stub 调用
src\main\java\com\otaliastudios\cameraview\engine\CameraBaseEngine.java

```java
@Override
public /* final */ void takePicture(final @NonNull PictureResult.Stub stub) {
    // Save boolean before scheduling! See how Camera2Engine calls this with a temp value.
    final boolean metering = mPictureMetering;
    getOrchestrator().scheduleStateful("take picture", CameraState.BIND,
            new Runnable() {
        @Override
        public void run() {
            LOG.i("takePicture:", "running. isTakingPicture:", isTakingPicture());
            if (isTakingPicture()) return;
            if (mMode == Mode.VIDEO) {
                throw new IllegalStateException("Can't take hq pictures while in VIDEO mode");
            }
            stub.isSnapshot = false;
            stub.location = mLocation;
            stub.facing = mFacing;
            stub.format = mPictureFormat;
            onTakePicture(stub, metering);
        }
    });
}

```

3.src\main\java\com\otaliastudios\cameraview\engine\Camera2Engine.java

```java
@EngineThread
@Override
protected void onTakePicture(@NonNull final PictureResult.Stub stub, boolean doMetering) {
    if (doMetering) {
        LOG.i("onTakePicture:", "doMetering is true. Delaying.");
        Action action = Actions.timeout(METER_TIMEOUT_SHORT, createMeterAction(null));
        action.addCallback(new CompletionCallback() {
            @Override
            protected void onActionCompleted(@NonNull Action action) {
                // This is called on any thread, so be careful.
                setPictureMetering(false);
                takePicture(stub);
                setPictureMetering(true);
            }
        });
        action.start(this);
    } else {
        LOG.i("onTakePicture:", "doMetering is false. Performing.");
        stub.rotation = getAngles().offset(Reference.SENSOR, Reference.OUTPUT,
                Axis.RELATIVE_TO_SENSOR);
        stub.size = getPictureSize(Reference.OUTPUT);
        try {
            if (mPictureCaptureStopsPreview) {
                // These two are present in official samples and are probably meant to
                // speed things up? But from my tests, they actually make everything slower.
                // So this is disabled by default with a boolean flag. Maybe in the future
                // we can make this configurable as some people might want to stop the preview
                // while picture is being taken even if it increases the latency.
                mSession.stopRepeating();
                mSession.abortCaptures();
            }
            CaptureRequest.Builder builder
                    = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE);
            applyAllParameters(builder, mRepeatingRequestBuilder);
            mPictureRecorder = new Full2PictureRecorder(stub, this, builder,
                    mPictureReader);
            mPictureRecorder.take();
        } catch (CameraAccessException e) {
            throw createCameraException(e);
        }
    }
}

```

4.src\main\java\com\otaliastudios\cameraview\engine\CameraBaseEngine.java
```java
@Override
public /* final */ void takePicture(final @NonNull PictureResult.Stub stub) {
    // Save boolean before scheduling! See how Camera2Engine calls this with a temp value.
    final boolean metering = mPictureMetering;
    getOrchestrator().scheduleStateful("take picture", CameraState.BIND,
            new Runnable() {
        @Override
        public void run() {
            LOG.i("takePicture:", "running. isTakingPicture:", isTakingPicture());
            if (isTakingPicture()) return;
            if (mMode == Mode.VIDEO) {
                throw new IllegalStateException("Can't take hq pictures while in VIDEO mode");
            }
            stub.isSnapshot = false;
            stub.location = mLocation;
            stub.facing = mFacing;
            stub.format = mPictureFormat;
            onTakePicture(stub, metering);
        }
    });
}
```

5.src\main\java\com\otaliastudios\cameraview\engine\Camera2Engine.java
```java
@EngineThread
@Override
protected void onTakePicture(@NonNull PictureResult.Stub stub, boolean doMetering) {
    LOG.i("onTakePicture:", "executing.");
    stub.rotation = getAngles().offset(Reference.SENSOR, Reference.OUTPUT,
            Axis.RELATIVE_TO_SENSOR);
    stub.size = getPictureSize(Reference.OUTPUT);
    mPictureRecorder = new Full1PictureRecorder(stub, Camera2Engine.this, mCamera);
    mPictureRecorder.take();
    LOG.i("onTakePicture:", "executed.");
}

```

6.src\main\java\com\otaliastudios\cameraview\picture\Full1PictureRecorder.java
```java
public Full1PictureRecorder(@NonNull PictureResult.Stub stub,
                            @NonNull Camera2Engine engine,
                            @NonNull Camera camera) {
    super(stub, engine);
    mEngine = engine;
    mCamera = camera;

    // We set the rotation to the camera parameters, but we don't know if the result will be
    // already rotated with 0 exif, or original with non zero exif. we will have to read EXIF.
    Camera.Parameters params = mCamera.getParameters();
    params.setRotation(mResult.rotation);
    mCamera.setParameters(params);
}
```

7.\Android\Sdk\sources\android-29\android\hardware\Camera.java
```java
/**
    * Equivalent to <pre>takePicture(Shutter, raw, null, jpeg)</pre>.
    *
    * @see #takePicture(ShutterCallback, PictureCallback, PictureCallback, PictureCallback)
    */
public final void takePicture(ShutterCallback shutter, PictureCallback raw,
        PictureCallback jpeg) {
    takePicture(shutter, raw, null, jpeg);
}

```

8.
```java

/**
    * Triggers an asynchronous image capture. The camera service will initiate
    * a series of callbacks to the application as the image capture progresses.
    * The shutter callback occurs after the image is captured. This can be used
    * to trigger a sound to let the user know that image has been captured. The
    * raw callback occurs when the raw image data is available (NOTE: the data
    * will be null if there is no raw image callback buffer available or the
    * raw image callback buffer is not large enough to hold the raw image).
    * The postview callback occurs when a scaled, fully processed postview
    * image is available (NOTE: not all hardware supports this). The jpeg
    * callback occurs when the compressed image is available. If the
    * application does not need a particular callback, a null can be passed
    * instead of a callback method.
    *
    * <p>This method is only valid when preview is active (after
    * {@link #startPreview()}).  Preview will be stopped after the image is
    * taken; callers must call {@link #startPreview()} again if they want to
    * re-start preview or take more pictures. This should not be called between
    * {@link android.media.MediaRecorder#start()} and
    * {@link android.media.MediaRecorder#stop()}.
    *
    * <p>After calling this method, you must not call {@link #startPreview()}
    * or take another picture until the JPEG callback has returned.
    *
    * @param shutter   the callback for image capture moment, or null
    * @param raw       the callback for raw (uncompressed) image data, or null
    * @param postview  callback with postview image data, may be null
    * @param jpeg      the callback for JPEG image data, or null
    * @throws RuntimeException if starting picture capture fails; usually this
    *    would be because of a hardware or other low-level error, or because
    *    release() has been called on this Camera instance.
    */
public final void takePicture(ShutterCallback shutter, PictureCallback raw,
        PictureCallback postview, PictureCallback jpeg) {
    mShutterCallback = shutter;
    mRawImageCallback = raw;
    mPostviewCallback = postview;
    mJpegCallback = jpeg;

    // If callback is not set, do not send me callbacks.
    int msgType = 0;
    if (mShutterCallback != null) {
        msgType |= CAMERA_MSG_SHUTTER;
    }
    if (mRawImageCallback != null) {
        msgType |= CAMERA_MSG_RAW_IMAGE;
    }
    if (mPostviewCallback != null) {
        msgType |= CAMERA_MSG_POSTVIEW_FRAME;
    }
    if (mJpegCallback != null) {
        msgType |= CAMERA_MSG_COMPRESSED_IMAGE;
    }

    native_takePicture(msgType);
    mFaceDetectionRunning = false;
}
```


text:
Nivēśa :: Kāguṇita
==================

Kāguṇita (ಕಾಗುಣಿತ) is a collection of input methods for Kannada (ಕನ್ನಡ) for [OS X](https://en.wikipedia.org/wiki/OS_X) and [iOS](https://en.wikipedia.org/wiki/IOS) (coming soon).

## Kāguṇita (OS X)

The Kāguṇita `osx` directory contains a phonetic Kannada keyboard layout for OS X. Though OS X has an inbuilt `Kannada - QWERTY` keyboard which is also a phonetic keyboard, many characters can be entered only by pressing `alt` or `shift+alt`. Getting this right really slows down typing speed. Kāguṇita tries to address this issue.

Kāguṇita uses the OS X [character accent menu](https://support.apple.com/kb/PH18436?locale=en_US&viewlocale=en_US) to insert Kannada characters that phonetically map to the same English character. So to type ಟ, user can press and hold `t` (by default maps to ತ) and select ಟ from the accent menu.

Kāguṇita (OS X) keyboard layout was created using [Ukelele](http://scripts.sil.org/ukelele).

### INSTALLATION

1. Execute the following commands:

       $ cp -R osx/Kagunita.bundle ~/Library/Keyboard\ Layouts/
       $ PRESS_HOLD=/System/Library/Input\ Methods/PressAndHold.app
       $ sudo cp Keyboard-kn.plist $PRESS_HOLD/Contents/Resources

2. Restart OS X

3. Add `Kagunita` keyboard layout via _System Preferences > Keyboard > Input Sources_

### USAGE

To familiarize one-self with Kagunita's phonetic mapping, use the OS X Keyboard Viewer. See the [support page for Keyboard Viewer](https://support.apple.com/kb/PH18449) for details. Press `shift` and/or `alt` and see the mapping changes.

To get an idea without the Keyboard Viewer, typing "yav mohn murLi kreyito dUr tIrke ninfnnu" will input "ಯಾವ ಮೊಹನ ಮುರಳಿ ಕರೆಯಿತೊ ದೂರ ತೀರಕ ನಿನ್ನನು".

### LICENSE

Kāguṇita (OS X) keyboard layout is available under [MIT](http://opensource.org/licenses/MIT) license.

repository: jayakumarhg/nivesha

repo_name: jayakumarhg/nivesha


text:
# expand-discord-emojis
JavaScript bookmark to make Discord emojis bigger.

Copy the code from "growmoji.js" into a bookmark's URL field and run it when starting Discord from the Web browser.

It should also work if you copy everything after "javascript: " and run it from one of the desktop clients.

PLEASE NOTE: MUST BE RUN EVERY TIME DISCORD LOADS (INCLUDING REFRESH).

Change the size to whatever you want, but anything over 150px is probably unreasonable, and I really wouldn't recommend over 100-125.
Default is 75px.

Works by looping through each instance of the ".emoji" class and changing the CSS style for height and width.

repository: gsfordham/expand-discord-emojis

repo_name: gsfordham/expand-discord-emojis


text:
# teg

*teg* is command-line utility to generate customized template/boilerplate files and folders.

[![Build Status](https://travis-ci.org/tu4mo/teg.svg?branch=master)](https://travis-ci.org/tu4mo/teg)
[![dependencies Status](https://david-dm.org/tu4mo/teg/status.svg)](https://david-dm.org/tu4mo/teg)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![Styled With Prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

## Installation

Install it once globally:

```sh
npm install -g teg
```

## Usage

Teg accepts two arguments. `template` defines which template to use. `file` defines the output filename.

```sh
teg <template> <file>
```

## Templates

* A template is just a folder that contains files used to generate new files.
* Place templates in `~/.teg/templates` directory.
* Template's files and folders named `_index(.*)` are automatically renamed to the file specified in the `<file>` parameter.

### Tags

* You can use tags inside templates.
* Currently only supported tag is `{{file}}`, which will be replaced by the name defined for `file` argument.
* The case of the value of a tag can be changed by using a pipe: `{{file|paramCase}}`. Check out [available methods](https://github.com/blakeembrey/change-case).

### Example of a template

A template can contain anything. Here's any example of a template to create React component, with a CSS file.

#### ~/.teg/templates/react-const/\_index.js

```javascript
import React, { Component } from 'react'

const {{file}} = () => (
  <div className="{{file|paramCase}}">

  </div>
)

export default {{file}}
```

#### ~/.teg/templates/react-const/\_index.css

```css
.{{file|paramCase}} {
  display: flex;
}
```

To generate files from this template, run:

```sh
$ teg react-const NewComponent
```

This will generate two new files, `NewComponent.js` and `NewComponent.css`, in the current working directory, replacing `{{file}}` tag with `NewComponent` and `{{file|paramCase}}` with `new-component`.

## TODO

* Custom `{{tags}}` inside templates
* Configuration for tags' formatting

license: ISC

gha_language: JavaScript

gha_license_id: ISC


text:
jQuery World Calendars
======================

This plugin provides support for various world calendars, including a datepicker.

* Calendars: Gregorian, Julian, Taiwanese, Thai, Persian, Islamic, Umm al-Qura, Hebrew, Ethiopian, Coptic, Nepali, Mayan, Nanakshahi, and Discworld.
* Parse and format dates in all these calendars.
* Style the datepicker using one of five themes, or use any of the standard Themeroller themes.
* Over 70 localisations for Gregorian/Julian calendars.

Have a look at the plugin Web site, http://keith-wood.name/calendars.html, for demonstrations of its abilities.

For documentation on the functionality see http://keith-wood.name/calendarsRef.html.

repository: alexcjohnson/world-calendars

repo_name: alexcjohnson/world-calendars


text:
---
layout: project
type: project
image: images/pm_00.png
title: Project manager
permalink:
# All dates must be YYYY-MM-DD format!
date: 2013-03-02
labels:
  - JavaScript
  - AngularJS
  - Google Cloud
summary: A project management application with a tree-like structure of tasks.
---

## Project overview

    Development time:
    2 months

    Development scope:
    From idea to deployment, full stack

    Technology stack:
    Python, JavaScript, AngularJS, Google Cloud

    Database schema:
    3 Kinds of Entities in Google Cloud Datastore

    Source lines of code:
    1,300

## Summary

A project management application with a tree-like structure of tasks.

## Functionality

- Seamless workflow in desktop and mobile devices
- Adding, editing and removing projects
- Sorting projects by date and alphabetically
- Adding, editing and removing tasks
- Using Flags in tasks
- Indenting tasks
- Hiding tasks based on completion and flags

## Live demo

https://task-instance.uc.r.appspot.com/


text:
## Telsa Clone

Created a clone of Tesla's UI for their mobile app using react-native expo cli.

Tesla Clone

![Screenshot](./assets/images/screenshots/capture.jpg)

repository: millennialdev/tesla-clone

repo_name: millennialdev/tesla-clone


text:
This app  demonstrates using Fragments. There are two activities and two fragments. On a device with a:
  * small screen - the first activity loads the first fragment, and the second activity loads the second fragment
  * large screen
     * portrait orientation: the first activity loads fragment 1 on top and fragment 2 at the bottom
     * landscape orientation: the first activity loads fragment 1 on the left and fragment 2 on the right.

Note: This app is just one app in the class demo repository. To get the source code for this app you will need to clone or download the whole repository, https://github.com/ProfBird/AndroidAppExamples-Java/.

Read more about android programming on my blog, BirdsBits: https://birdsbits.blog

repository: ProfBird/AndroidAppExamples-Java

repo_name: ProfBird/AndroidAppExamples-Java


text:
[![Go Report Card](https://goreportcard.com/badge/github.com/Luzifer/vercmp)](https://goreportcard.com/report/github.com/Luzifer/vercmp)
![](https://badges.fyi/github/license/Luzifer/vercmp)
![](https://badges.fyi/github/downloads/Luzifer/vercmp)
![](https://badges.fyi/github/latest-release/Luzifer/vercmp)
![](https://knut.in/project-status/vercmp)

# Luzifer / vercmp

`vercmp` resembles [`vercmp`](https://www.archlinux.org/pacman/vercmp.8.html) utility from [Archlinux](https://www.archlinux.org/) with two small differences: It runs on systems without `libalpm.so` and it strictly uses [SemVer](https://semver.org/) - otherwise it should be fully interchangeable.

## Usage

```console
# vercmp

Compare version numbers using SemVer version logic

Usage: vercmp <ver1> <ver2>

Output values:
  < 0 : if ver1 < ver2
    0 : if ver1 == ver2
  > 0 : if ver1 > ver2

# vercmp 7.6.0 7.4.1
1
```

repository: Luzifer/vercmp

repo_name: Luzifer/vercmp


text:
# git-pull-request [![npm version](https://badge.fury.io/js/git-pull-request.svg)](https://badge.fury.io/js/git-pull-request)

A node based cli utility to pull a remote branch based on a github PR number. gpr makes checking out a contribution locally in order to see it in action as simple as `gpr <pr#>`!

## NB v2.x.x breaking change

`-p` is now used to push, for `pull` (`update`), use `-u`

## Installation

`npm install -g git-pull-request`

You must have [Node.js](https://nodejs.org) installed to use `gpr`.
(However, you don't need to be using node or npm for your project.)

`gpr` reads your repository information from the either the git remotes named `upstream` or `origin` (in that order),
or the `package.json` file if it is present.

If you have neither a remote called "upstream" nor "origin", nor repository url in your `package.json` file,
then you will need to configure git, or update your package.json:

```json
{
  "repository": {
    "url": "git+https://github.com/your/repository.git"
  }
}
```

## Usage

```
gpr [-i | -l [-r] | -p | -f | -b [<name>] | -n | -d | -D | -v | -h] <pr#>

By default, gpr will fetch the remote branch for <pr#> and checkout on a detached HEAD.

[-i | info] <pr#>               Show the PR title and requestor for <pr#>.
[-l | ls | list] [-r | remote]  List local gpr branches. / List 30 most recent open PRs.

[-u | update | pull] <pr#>      Pull the remote branch for <pr#> to the current branch.
[-f | force] <pr#>              Force overwrite the local branch and checkout on a detached HEAD.
[-b | branch] [<name>] <pr#>      Create new branch [name] from master and pull. Defaults to 'gpr/<pr#>'.
[-n] [user:branch]              Fetch from the named ref and checkout on a detached HEAD.

[-p | push] <user:branch>       Push the current branch or detached HEAD to the remote branch.\n' +
[-P | Push] <<user:branch>      Force push the current branch or detached HEAD to the remote branch.\n' +

[-d | delete] <pr#>             Delete the gpr/<pr#> branch.
[-D | Delete] <pr#>             Force delete the gpr/<pr#> branch.

[-v | version]                  Show git-pull-request version.
[-h | help]                     This help.

<pr#>                           PR number to apply the command to.
 ```

### Example usage

The simplest use case, this pulls the remote branch for PR # 123 to a detached HEAD

```sh
> gpr 123

```

### Usage notes

`gpr -p <user:branch>` can also be used to create a new branch on your own repo from a detached HEAD. :tada:

repository: mbrookes/git-pull-request

repo_name: mbrookes/git-pull-request


text:
# Scripts-Deployment

## Synopsis

Executes a list of SQL script files agianst a list of SQL Server instances.

## Description

Based on an open-source project hosted at <https://github.com/reubensultana/Scripts-Deployment>
Reads a text file containing a list of Servers, another file containing a list of TSQL Scripts, and executes all of the scripts against the list of remote servers.
The output is stored as text in a LOG file in a subfolder, using the time stamp name for the file name.

## Syntax

``` powershell
.\Deploy-Scripts.ps1
    [-ServerListFile] <IO.FileInfo>]
    [-ScriptListFile] <IO.FileInfo>]
    [-ConnectionTimeout] <Int32]
    [-QueryTimeout] <Int32]
    [<CommonParameters>]
```

## Examples

### Example 1

Parameters inline:

``` powershell
.\Deploy-Scripts.ps1 -ServerListFile .\ServerList.txt -ScriptListFile .\FileList.txt -ConnectionTimeout 60 -QueryTimeout 60
```

### Example 2

This will use defaults for ConnectionTimeout and QueryTimeout:

``` powershell
.\Deploy-Scripts.ps1 -ServerListFile .\ServerList.txt -ScriptListFile .\FileList.txt
```

### Example 3

Parameter values in variables:

``` powershell
[string] $ServerListFile = ".\ServerList.txt"
[string] $ScriptListFile = ".\FileList.txt"
.\Deploy-Scripts.ps1 -ServerListFile .\ServerList.txt -ScriptListFile .\FileList.txt -ConnectionTimeout 60 -QueryTimeout 60
```

### Example 4

This is my favourite example. Passing parameter values using Splatting:

``` powershell
$Params = @{
    ServerListFile      = ".\ServerList.txt"
    ScriptListFile      = ".\FileList.txt"
    ConnectionTimeout   = 60
    QueryTimeout        = 60
    Verbose             = $true
}
.\Deploy-Scripts.ps1 @Params
```

## Required Parameters

**-ServerListFile**
A text file containing the list of servers where the scripts will be executed/deployed.
NOTE: the files must exist (DOH!) and have to have a SQL extension.

**-ScriptListFile**
A text file containing the paths to the list of files that will be executed/deployed.
NOTE: each script must contain the name of the affected database, otherwise execution will default to "master".

## Optional Parameters

Both are mapped to the respective parameters from the [Invoke-Sqlcmd cmdlet](https://docs.microsoft.com/en-us/powershell/module/sqlserver/invoke-sqlcmd) - so I'm reproducing the orignal documentation description.

**-ConnectionTimeout**
Specifies the number of seconds when this cmdlet times out if it cannot successfully connect to an instance of the Database Engine. The timeout value must be an integer value between 0 and 65534. If 0 is specified, connection attempts do not time out.

**-QueryTimeout**
Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer value between 1 and 65535.

repository: reubensultana/Scripts-Deployment

gha_language: PowerShell

repo_name: reubensultana/Scripts-Deployment


text:
![](logos/top_banner.png)

### greta is an R package for writing statistical models and fitting them by MCMC and optimisation

greta lets you write your own model like in BUGS, JAGS and Stan, except
that you write models right in R, it scales well to massive datasets,
and it’s easy to extend and build on.

### See the [website](https://greta-stats.org/) for more information, including [tutorials](https://greta-stats.org/articles/get_started.html), [examples](https://greta-stats.org/articles/example_models.html), [package documentation](https://greta-stats.org/reference/index.html), and the [greta forum](https://forum.greta-stats.org).

You can install the current release version of the package from
CRAN:

``` r
install.packages("greta")
```

Or install the development version of `greta` from [r-universe](https://greta-dev.r-universe.dev/ui#builds):

```r
# Enable this universe
options(
  repos = c(
    gretadev = 'https://greta-dev.r-universe.dev',
    CRAN = 'https://cloud.r-project.org'
    )
  )

# Install greta
install.packages('greta')
```

(Note - installing from r-universe is just like installing from CRAN, and should be faster and more convenient than installing from GitHub)

You can also install the development version of `greta` via GitHub:

``` r
devtools::install_github("greta-dev/greta")
```

# Installing Python Dependencies

The `install_greta_deps()` function helps install the Python dependencies (Google's [TensorFlow](https://www.tensorflow.org/) version 1.14.0, and  [tensorflow-probability](https://github.com/tensorflow/probability) version 0.7.0).

This helper function, `install_greta_deps()`, installs the exact pythons package versions needed. It also places these inside a "greta-env" conda environment. This isolates these exact python modules from other python installations, so that only `greta` will see them. This helps avoids installation issues, where previously you might update tensorflow on your computer and overwrite the current version needed by `greta`. Using this "greta-env" conda environment means installing other python packages should not be impact the Python packages needed by `greta`.

If these python modules aren't yet installed, when `greta` is used, it provides instructions on how to install them for your system. If in doubt follow those.

<!-- badges: start -->
[![Codecov test coverage](https://codecov.io/gh/greta-dev/greta/branch/master/graph/badge.svg)](https://app.codecov.io/gh/greta-dev/greta?branch=master)
[![R-CMD-check](https://github.com/greta-dev/greta/workflows/R-CMD-check/badge.svg)](https://github.com/greta-dev/greta/actions)
[![cran
version](http://www.r-pkg.org/badges/version/greta)](https://CRAN.R-project.org/package=greta)
[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![doi](https://zenodo.org/badge/73758247.svg)](https://zenodo.org/badge/latestdoi/73758247)
[![joss](https://joss.theoj.org/papers/10.21105/joss.01601/status.svg)](https://joss.theoj.org/papers/10.21105/joss.01601)
![](logos/bottom_banner.png)
<!-- badges: end -->

repository: njtierney/greta

gha_language: R

gha_license_id: NOASSERTION

repo_name: njtierney/greta


text:
---
layout: post
title:  "How to Learn Efficiently : Techniques and Advices"
date:   2019-12-28
feature: /assets/img/knowledge.jpg
excerpt: "Learn everything well as quick as possible"
tags: [lifestyle, studies, studying, organization, optimization]
comments: true
---

 Learn Efficiently From Method to Smart Drugs.

## Intro

This is not going to be a thread about bullsnap like 'exercise well, eat well, sleep well', no.
After my years in such intense courses I've come to the conclusion that for success, this is not possible unless you are borderline obsessive-compulsive or at a functional level of Aspergers.
This is the real deal on how to succeed.

Topics I will address:

* Motivation: identify and develop your motivators for study.
* Attitude: get the right attitude.
* Learn to Learn Effectively: find out your learning style and how can you best study according to it.
* Your Lifestyle and Academic Performance: what factors in your life affect your academic performance and how can you modify these to reach your maximum potential.

* Smart Drugs (Nootropics): what ones work, their uses, how to take them and the science backing their use.
* Acing Exams: a review of the physical and mental side of exams and how to maximise your performance in them.
* Assessment Technique: a brief look at how you should best approach assessments to obtain maximum marks.

tl;dr : Check these tldr sections to get the key points from a section.

## 1. The Motivation

This may be the most important factor when it comes to success in your academics. What motivates you to study.
This will be your key driving force that keeps you going in the early hours of the morning.
Knowing this will allow you to tailor your environment to inspire and encourage you to learn.
I want you to take a moment now to think, really think, why is it that you're studying what you're studying?

"Motivation and engagement can be regarded as the driving forces of learning. They can also affect students’ quality of life during their adolescence and can influence whether they will successfully pursue further educational or labour market opportunities."

Some definitions to keep in mind:
Extrinsic Motivation: occurs when we are motivated to perform a behavior or engage in an activity to earn a reward or avoid punishment.

Intrinsic Motivation: involves engaging in a behavior because it is personally rewarding; essentially, performing an activity for its own sake rather than the desire for some external reward.

Examples of bad motivation:
* I just want to graduate so I can be called "Doctor", "Teacher". [extrinsic - you want respect off other people]
* I just need to pass so I don't have to do again this course. [extrinsic - you don't want the inconvenience of lost time]
* I feel guilty because my friends are studying and I am not. [extrinsic]

Examples of ok motivation:
* I want to be better than other drs so they respect me. [extrinsic]
* I want to finish this so I can make some money. [extrinsic]
* I want to impress my family/friends/teacher. [extrinsic]
* I don't want to fail (when your definition of failure is less than a distinction). [extrinsic]
* I want to beat my friends and look smarter than them. [extrinsic]

Examples of the perfect motivation:
* I want to be the best engineer to I can help change the world for good! [instrinsic]
* I want to be the best computer expert in the world so I can help develop awesome technology for the world! [instrinsic]
* I love learning this because I know it will help me achieve my main goal. [instrinsic]
Some of these may seem intrinsic where I have labelled them extrinsic - why? Because we say one thing but really what we actually mean is something else (the statements in [])!

Key to Success: From the examples above, you can see there are forms of extrinsic (external) and intrinsic (internal) things that can motivate you. Intrinsic motivators are higher in quality, however, a fusion of BOTH intrinsic and extrinsic motivation is the KEY.

My advice : Write it down now, What is your intrinsic / extrinsic motivations?

You must to fill your space with stuff that reminds you of both of these things ; intrinsic motivators can be complicated to fill your space with.

How I initially surrounded myself with these ideas:

* Small A4 posters with images of what I will be able to do when I finish my new career and income.
* End goals clearly are written and visible every day.
* Comparing myself to my peers - asking what they have been studying, how they have been going in classes and competing internally (don't be a dick when it comes to this - nobody likes a competitive CVNT - if someone asked my grade and they did Clay Davis(hope you got this one) I would just say I passed too, there's no honour in making others feel bad. Modesty is a good quality!)
* Tell yourself every day, morning and night in the mirror your intrinsic motivation.

tl;dr : Get a good reason to study - otherwise don't bother. It should be more meaningful than to win or be the best.

 Learn Efficiently From Method to Smart Drugs.

## 2. Attitude

Like most things in life, everything is what you make of it. You can sit, work, and hate your life while you're there waiting for the time you can go home, or you can learn to enjoy it. This is a mental game, how strong is your mind? Many of us have altered [coping mechanisms](https://www.dictionary.com/browse/coping-mechanism) for whatever reason; genetic, developmental, environmental etc. These will be habits. Very hard habits to break. You must be aware of them and checking yourself when you go into these states. This can be enough to permanently alter your attitude.

The *"This is stupid"* attitude.
We've all had that moment in geometry or writing essays when we have asked ourselves 'when will I ever need this'.

# REAL WORLD CHECK!

We ALL have to study stuff we don't enjoy/hate! It's important to not look at the subject in a negative view, look at the fundamental issue at hand. This type of forward thinking from a broad perspective is exactly what makes humans so incredible (unfortunately not all of us are capable of doing it without instruction).
You can complain that circle geometry is pointless because you're going to play the triangle in a band, prepare for failure. Sounds harsh? I've watched all my classmates say this stuff and now they're flipping burgers struggling to make ends meet. I hated all these things but could see the broader goal of what I was working towards.

Here's a secret to help you stop feeling sorry for yourself...
Can you guess the real reason why we do AP calculus and not learn simply how to do your taxes or buy a house? It's to teach you the process of thinking! If you can learn AP calculus you can learn something as simple as buying a house or doing your taxes. You may not know the deep details of tax, but that's why we have accountants! Those people who are better in calculus, generally have a greater aptitude for that type of critical thinking and therefore are most likely to perform better than their poorer scoring peers in jobs where critical thinking is required (engineers, doc, etc).

The *"I don't need to study to be successful"* attitude.
You may be right! You may not have to! However, these days with increasing populations, 3rd world countries are developing a greater and greater competition for schools and jobs ! Gone are the days of our parents/grandparents where they could do what they wanted (assuming they had enough money). Education is a good way to safeguard your future (well more so).

*"But Mark Zuckerberg, Bill Gates etc didn't graduate from College!"*
Yeah, but they dropped out of Harvard. HARVARD. Not some generic college that lets anyone in. They obviously had awesome scores and an impeccable aptitude for learning to be admitted into Harvard. So, next argument please.

*Indifference and Frustration*
The statements above probably all come down to these emotions. So it is these emotions that will control your performance and determine success.

Indifference - meaning 'not giving a fucc'.
I don't have a hard and fast solution for you stopping giving a fucc. That's completely internal.

Here are some suggestions:

* Do you have an inspiration? If not research and get one for anything you want to succeed in. You don't need just one inspiration, I have many when it comes to different aspects of life. Friends I have met abroad that inspire me in terms of my way of life, Bill Gates for his philanthropic work, Elon Musk for his thinking...

* Are you surrounded by motivated people? Maybe you're surrounded by people (friends, family, colleagues) that simply do not wish to achieve. Then make new friends! I'm not saying dump them, these days you can so easily connect with people who have similar ambitions and interests through forums, social media, discords and more!

* Do you lack clear goals? Put time aside to research, travel, talk to people to identify goals. When you're able to identify a larger goal, break these goals down into smaller achievable goals!

* Do you not find class interesting? Sit in the front row and pay more attention, ask to change classes, ask to change subjects, change schools or my personal favourite. **TEACH YOURSELF!** This is the 21st century and we can easily find torrent textbooks for free, online courses, podcasts, countless youtube videos, sites dedicated to your course. We are so lucky to have more resources than just the teacher in front of us! There is no excuses for not doing this. I came from one of the worst ranked schools in my nation however I had an internet connection and youtube was my best friend! I taught myself maths, algorithms, AI, Blockchain, etc. So you can teach yourself elementary maths from youtube.

Frustration

It is unrealistic to believe you can rid yourself of frustration forever, but you can learn to do things to minimize your frustrations and to make sure you do not engage in unhealthy responses to frustration. You will need to learn to distinguish between what you hope will happen, what will probably happen, and what actually happened.  Life inevitably has its ups and downs - its moments of relaxation and times of tension. When you learn to truly accept this reality, you come one step closer to being able to deal with frustration in a healthy way.

Identify what you are frustrated by. We can choose whether to be frustrated and give up (entrapment), or frustrated and cope (fight). You can decide how you respond. Below is an illustrated pathway of how we respond to threats or stresses. Humans are highly adaptive when it comes to these situations - you must just be willing to alter the path your brain chooses to follow. Entrapment, or cope. Fight, or withdraw.

Format: ![Alt Text](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3263396/bin/DialoguesClinNeurosci-13-495-g001.jpg)

If you're finding yourself struggling to follow the coping pathway even after this guide, perhaps it's time to seek professional help in the form of a psychologist. Can't afford a psychologist? Here is a book on cognitive behavioural therapy that will teach you the methods psychologists will help you alter your response pathways: "Change Your Thinking" by Sarah Edelman. Also available on [Amazon](https://www.amazon.com.au/Change-Thinking-Third-Sarah-Edelman-ebook/dp/B00ALM730W).

So how will you deal with the frustration?

* Ask for help from your teacher.
* Take breaks time.
* Review difficult concepts often so you don't forget them.
* Write things down (we will get into study technique later).
* Study harder and harder.
* Seek additional help from a mentor.

A deeper look at dealing with your frustrations:

* Have Realistic Goals: if you can't add up 2+2 today don't expect to be doing complex polynomials the day after. Take your time and reward yourself when you make positive progress.

* Feed Your Passions: some people are just terrible at complex mathematics but excel and take pride in art. Appreciate what you do well and notice that you are capable of things.

* Be Persistent: success comes easier to others, but we all struggle. When things get hard, fight harder. The feeling when I'm memorising a list of 20 korean words and finally get them is amazing. The more persistent you are, the better you will get at conquering your struggles.

* Have Gratitude: this is my number one tip and has got me through some of the toughest of times in my academic career! If you're reading me right now then you probably have some form of an electronic device with an internet connection. Remind yourself of how lucky you are to be in the position you are in!
Children are starving to death in Africa, dying of terrible diseases, can't have proper education. That's the common lot in the world but so many forget it. Be grateful and learn for those who cannot.

* Develop Resilience: this ties in with the flow-chart above. We all have (well ME! maybe not 'all') failed something or multiple things! Like actual fail, less than 0%. I remember my first algorithm exam I got something like 30% of good answers! I was so disappointed in myself at the age of 18. Only 2 people passed (narrowly!). Half the people dropped the class too because they failed. I took this mark onboard and worked 10x harder than ever before - because I didn't want the feeling of failure I experienced again (see extrinsic motivation - this was my early days of education before I taught myself to succeed)... I ended up having my exam and finally my degree.

tl;dr: Get inspired and set clearly defined goals. We all have to do stuff we don't want to do in-order to **achieve** a goal. Surround yourself with motivated people (in person or online). Have gratitude for your ability to even get to learn and have access to the internet. Be **resilient**!

## 2.5 Learn to Learn

You've probably heard it before, we all have different styles that work for us. Let's try and uncover our methods of learning together! Unfortunately, this is an extremely difficult skill to master and individualise (I'll explain my personal techniques at the end). It took me 5 years (of 8 intense fulltime study years) to get to a technique that works best for me and I'm sure it could use refining.

The 7 Different Learning Styles:

* Visual (spatial): You prefer using pictures, images, and spatial understanding.
* Aural (auditory-musical): You prefer using sound and music.
* Verbal (linguistic): You prefer using words, both in speech and writing.
* Physical (kinesthetic): You prefer using your body, hands and sense of touch.
* Logical (mathematical): You prefer using logic, reasoning and systems.
* Social (interpersonal): You prefer to learn in groups or with other people.
* Solitary (intrapersonal): You prefer to work alone and use self-study.

You may think you know your learning style. If you're like me you don't conform to a single learning style - this is of great benefit if you! If you are certain you only learn from one style I encourage you to try and integrate other methods - there is emerging evidence to support that using a variety of styles increases learning potential.

Take this short quiz to determine your [Learning Style](https://www.learning-styles-online.com/inventory/questions.php?cookieset=y)

**NOTE**: you'll need to enter a name and email to receive your results. I selected this because it accurately determines my main methods of learning (and least favoured).

Format: ![Alt Text](https://i.imgur.com/8rEBusS.png)

______

How I Study:

* Type a summary.
* Make a question sheet directly from my summary and print multiple copies. Make the questions answers ideally in dot point or flow charts and require expansion.
* I take the first letter from the keywords of dot points and make a word out of them using a scrabble word finder: http://wordfinder.yourdictionary.com/ This makes *   recall much easier.
* Handwrite copying directly 3 times from summary to answers.
* 4th attempt try recalling from memory.
* Go to whiteboard and recall lists and details.
* Read out loud as writing on the whiteboard and re-read.
* Alternate between paper and white board.
* Watch youtube videos to reinforce visually and through audio.
* Once I have this down pat I study with friends to cement what I know by talking to them without reference to notes - it also helps me identify areas in which I can    expand or where I may have gone overboard.

This aligns with my results visual (whiteboard), solitary (initially), logical (drawing connections between information and flow charts really cements knowledge for me), social (to further cement information).

Once you have determined your learning styles, it's time to start studying according to them. It's safe to say the top 4 results would be highly applicable to you and you should try all 4 methods to the same topic to get the maximum benefit.

# 3. Lifestyle and Academic Performance

I'm going to start by pointing out the obvious - for best performance you need to have a balanced diet, exercise, sleep etc. I mentioned in the introduction I won't talk about these, much. I'll address the ideal situation, then I'll address the real-life student situation.

There are several possible direct and indirect pathways linking healthy eating and physical activity with academic achievement. While the current evidence is limited but evolving, it shows that certain factors can improve academic achievement. These factors include access to healthy foods and opportunities to stay physically active.

Improving access to healthy foods and physical activities is linked to healthier students who are also better learners.

## Evidence on dietary behaviours and academic achievement

* Student participation in the United States Department of Agriculture (USDA) School Breakfast Program (SBP) is associated with increased academic grades and standardized test scores, reduced absenteeism, and improved cognitive performance (e.g., memory).

* Skipping breakfast is associated with decreased cognitive performance (e.g., alertness, attention, memory, processing of complex visual display, problem-solving) among students.

* Lack of adequate consumption of specific foods, such as fruits, vegetables, or dairy products, is associated with lower grades among students.
Deficits of specific nutrients (i.e., vitamins A, B6, B12, C, folate, iron, zinc, magnesium and Omega3) are associated with lower grades and higher rates of absenteeism and tardiness among students.

* Hunger due to insufficient food intake is associated with lower grades, higher rates of absenteeism, repeating a grade, and an inability to focus on students.

## Evidence on physical activity and academic achievement

* Students who are physically active tend to have better grades, school attendance, cognitive performance (e.g., memory), and classroom behaviours (e.g., on-task behaviour).

* Higher physical activity and physical fitness levels are associated with improved cognitive performance (e.g., concentration, memory) among students.
More participation in physical education class has been associated with better grades, standardized test scores, and classroom behaviour (e.g., on-task behaviour) among students.

* Time spent in recess has been shown to positively affect students’ cognitive performance (e.g., attention, concentration) and classroom behaviours (e.g., not misbehaving).

* Brief classroom physical activity breaks (i.e., 5-10 minutes) are associated with improved cognitive performance (e.g., attention, concentration), classroom behaviour (e.g., on-task behaviour), and educational outcomes (e.g., standardized test scores, reading literacy scores, math fluency scores) among students.

* Participation in extracurricular physical activities such as interscholastic sports has been associated with higher grade point averages (GPAs), lower drop-out rates, and fewer disciplinary problems among students.

## Evidence on Sleep and academic achievement

From most recent data:

Quote:

*Sleepwalking through School: New Evidence on Sleep and Academic Performance (Wang, K., Sabia, J. J., Cesur, R., (2016))
Our findings provide some evidence that increased sleep duration—up to 8.5 to 9.0 hours per night—is associated with improvements in contemporaneous academic concentration and homework completion. Moreover, increased sleep duration—up to 8.5 10 In addition, as noted above, the effect of sleep duration on academic achievement may operate through sports participation, likelihood of skipping breakfast, and hours of television watching. In Appendix Tables 5 and 6, we estimate the sensitivity of the estimated impact of sleep duration on short-run academic achievement measurement and longer-run educational attainment, respectively. However, these controls appear to be relatively unimportant mediators.*

*7 hours per night—is associated with an increase in the probability high school diploma receipt and college attendance. These results are robust to the inclusion of controls for family- and individual-level unmeasured heterogeneity. Following the “academic optimum” number of hours of sleep documented above, increases in sleep duration are associated with a decline in academic achievement. We also find some evidence that insomnia is associated with diminished short-run, but not longer-run, educational performance. Finally, we find that the educational attainment benefits of increased sleep time can be explained, in part, by concentration-related improvements.*

______

Evidence on class/lecture attendance and achievement
The data reveals generally poor attendance leads to poor results. There are some localised studies that reveal no statistical significance between attendence and academic performance.

Quote:

"Factors such as age, gender, socioeconomic status, affluence, entry pathway, attendance type, year of study, language spoken at home, family responsibilities, distance between home and the university, etc, may also contribute to poor performance and be as important or significant as lecture attendance."

As you can see there are many factors that may contribute to academic performance.  I tried to focus on modifiable  factors.

tl;dr: eat well, sleep 7-8hrs, attend class, exercise.

# 5.  Well, no one likes a dog, so I'm going to teach you how to ethically get the edge on your classmates when it comes to exams. You may be wondering why you'd want to compete with your classmates. Well, it's who your professor will be comparing you to. This is of particular importance when your mark will be based off a bell curve.

What is curve marking?
Grading on the “Curve” is a method of grading that is based on the belief that letter grades in any given class should be distributed along a bell curve. Typically, an assignment or test is scored, and the average score automatically becomes an average grade (typically a B- or C+). The scores above and below the average are distributed accordingly. For those of us who attended school in the US, you have probably been graded this way at some point.

It's important to know how you are being graded! By the curve? OR criteria/objective based marking?

Even in objective/criteria based marking your professors will compare you to your peers. Often they will read all the papers once and make notes of everything good that was mentioned. Then go back and mark and see how many of those points you hit.

## Start Early

Start your assignment or study for a test earlier than your classmates (minimum 2 weeks before them ideally).

How:

* Ask them if they've started their assignment/study.
* Ask when they plan on starting.
* Integrate it into the normal conversation so you don't sound like a socially retarded nerd. Usually starting the conversation complaining about it and how you're * * procrastinating is a good method. If they ask if you've started - don't lie.

## Pay Attention to their Habits

If you study in the same area or live in the same dorm, pay attention to their work ethic.

What to look for:

* How long are they in the library for?
* Does it look like they're productive?
* When do they leave?
* When do they start their morning?
* Aim to be arriving before and after them. Start your mornings earlier. Be more productive.

## Study Broadly

To stand out you need to study more than just what the teacher gives you. Aim to expand on the knowledge they give you - this will both enhance your understanding and allow you to answer the questions more deeply.

* Places to get extra information:
* Prescribed textbooks.
* Alternate textbooks from other major authors.
* Journals (google scholar).
* Articles.
* For some, this is mandatory. If it is you need to go more advanced.

 To direct further learning and clarify the ideas in your own head - they can correct you before you do the exam/assignment.

## Talk to Other Schools/Old Students

Talking to older students and other schools is invaluable - they've been through it all and have the material on hand ready for you.

## What you can do:

You can pay old students who scored amazing marks for their notes - just search google for these sites.
Talk to old students that did your subject (who excelled).
Get notes that other students from other schools are given.
Saving time on writing notes - so you can just focus on learning the content.

 You'll know to ease off and/or where to work harder. They may also have some resources to share with you.

tl;dr: Study earlier and harder than your classmates. Find out what they're studying and go beyond that.

# 6. Acing Exams

So now you've got all the knowledge in your head, now it's time to ace those exams. Let's do this.

## Preparing Physically

Does your exam require extended writing? If yes, I recommend buying a foam stress ball and a heavy pen a couple of months out from the exam like:

Stress ball: ![Alt Text](https://www.happierhuman.com/wp-content/uploads/2019/08/stress-balls-nervousness.jpg)

Stress Ball:

While you're reading your notes I want you to constantly squeeze and pump the stress ball - your hand and muscles will begin to ache, that's the point of this! Exercise!  This is training you physically to write quickly and without any pain. Trust me! It makes a massive difference!

Heavy Pen:

This will also be working out your muscles and slow you down while studying - you will switch to a lighter gel pen a week out from the exam to get used to your instrument before the exam. These tips may sound silly - but while others were shaking their hands in pain during the exam I was pushing through.

## Preparing Mentally

Try and simulate the exam environment as much as possible a few days out before the actual test. This means:

* Write information without referring to notes.
* Answer sample questions (either given or self-made).
* Try and guess the questions that will be asked and make broad answers.
* Practice structuring answers.
* Have your equipment ready and know where you're going days ahead.
* Know the structure of the exam if you have been told and make a plan - calculate time you wish to spend per section.  This means you won't waste time calculating and more time on the paper.

## Equipment

You're going to want the following for the exam:

* Ballpoint pens ideally - gel can smudge. We want a pen that glides over the page and is light! You need multiple in case they run out.
* Highlighters can be useful - even to use in the exam paper that isn't marked if they're not permitted.
* The same calculator you have been using to study - plus a spare.
* Earplugs - so you can fully focus.
* A wristwatch - you may be away from a clock, this will allow you to quickly glance at the time and not completely have to stop and lookup.
* Pencils, erasers, sharpeners etc (the usual).
* Water.
* Glasses if needed.
* Comfortable clothes - a jumper in case the air conditioner is on.
* Take some last minute cram notes to the exam - things that may enhance your answers as hopefully by now you know all the basic answer stuff.

## When the Clock Starts

Start By:

* Filling in all paperwork - do it now and get it out of the way, including numbering books etc.
* Put extra books on the ground and pick up new ones as you need them. This will save the clutter and flipping through books searching for the correct one.
* Read all the questions - start thinking about all of the responses - including the questions that throw you off - you will remember stuff as you answer other          questions.
* Think about how long each question may take you and plan accordingly.
* What questions can you smash out of the park? Make sure you spend less time on the questions you are blabbering on about for the sake of putting something down and    more time on the questions you can smash.

## As You're Working On the Paper

Remember to:

* Keep an eye on the time.

* You should allow x number of minutes per question then 15mins to proofread and go back and add to other questions.

* Before diving into the questions - make a mini plan next to the question so your response has direction.

* Read, then re-read the question. Think about what it is asking you.

* Constantly glance at the clock while you're writing so you can tailor your answers according to time.

* If the time you allocated a question is up - if you have more than 3 sentences to write - STOP - STAR - SPACE - MOVE ON. Stop answering the question, put a star at the end of the sentence you have written, star the question in the Q book, leave a space (paragraph/page/whatever you think you need to finish off), move onto the next question and come back. I mean this - you will score better marks.

* If you draw a blank on a question and you're thinking for more than 1-2mins. STOP - STAR - SPACE - MOVE ON. To the next question. Things will pop into your mind to answer this question as you answer the others, I guarantee. Jot these things down next to the question as you remember them while answering other questions.

* Underline key points in the alternate colour from what you're using. This doesn't break any rules but helps make a visual structure in your response.

* Draw diagrams where you can (if you can) to support your responses.

## Bonus

Try and include a specific reference in your responses to authors, pages, journals or years. I would memorise all my textbook authors and the most recent date it was published - these dates are often easier to remember than the version you may have for reference. After I state information I know is included in a certain textbook I will include (NAME, 2019). Better yet, get textbooks from each topic and memorise the first author and the most recent date.

tl;dr: Understand how to specifically answer each type of question whether it be 'assess' or 'explain'. If you're planning on writing lots in the exam, train your writing muscles physically.

# 7. Assessment Technique

Here are some very basic things to do before you start your assessment:

* Understand the type of assessment: is it an essay? a literature review? an experimental report? You need to know! And follow the correct structure that each type requires. A simple google search will show you the way you should structure your assignment. You get marks for structure.

* Understand the question: deconstruct the question and understand what it is actually asking you - if you're not sure to ask your teacher.

* Plan your response: it makes things a lot easier if you jot down a quick flowchart and list of things you want to discuss. This will allow you to direct your research instead of just reading pointless articles wasting time. Generally, an assignment will be related to something you're learning in class - draw from the materials you have been given.

* Research: research, research in line with what your plan is. As you research you will uncover new information and ideas you may wish to incorporate into your original idea. Continue to branch out and gather as much information as possible.

* Multiple Resources: don't just use 1 type of resource - should a breadth of research including textbooks, journal articles, thesis, lectures, videos, websites, government publications etc.

* Use the Correct Referencing System: your school may require you to reference in a particular style such as Harvard or APA. Make sure you google how to structure these references both in-text references and your reference list - these all count towards your marks.

* Label Things Properly: tables, graphs, charts etc all must be labelled in a particular way according to the referencing style. Some require the label to be above the table, some require it to be below. This contributes to your mark too!

* Refer to figures, images and tables: merely including them in your assignment means nothing - you must specifically talk about any source you include. You cannot assume the reader will draw their own conclusions from the images. You must spell it out to them.

* Start Early: duh.

* Get Someone to Proof Read: we become blind to our own writing after reading it for too long - get someone, ideally from another field to proofread your assignment to ensure there are no typo's and it all makes sense.

tl;dr: know what the assignment is asking, format your assignment correctly including labels and references, start early.

Thanks for reading that LONG article.

filename: 2019-12-28- Learn Efficiently.md


text:
# Flutter GetX Starter

Hi,Welcome to come to see me!
Flutter GetX Starter is quick generate code template base on GetX for flutter developer.

Makes it easier to use assets in Flutter project. Just like using R.drawable.xxx in Android!

Quickly generates Dart Model classes from JSON text.

[comment]: <> (### Easy Use)
[comment]: <> (![image](https://github.com/zhangruiyu/FlutterJsonBeanFactory/blob/master/beantojson_factory.gif))

### Usage
![](http://img.te0.cn/tuchuang/20210607170418_zQ7SrR_doc_img_1.jpeg)
* Search 'Flutter GetX Starter' in Intellij Idea Plugin Repositroy Or AndroidStudio Plugin Repository And Install it.

* Restart your Develop tools
* Right click on package -> `New`->`Flutter GetX Starter`　And Then you will know how to use
* If you change the fields in the class, just press the shortcut alt + j to regenerate the tojson and fromjson methods. The generated method regenerates all helper classes and JsonConvert classes (the same as the shortcut alt + j) each time an entity file is created in the generated/json directory.
* If you need generic conversions in your network requests, use the jsonconvert.fromjsonast method directly.
* If you don't want to use the FlutterJsonBeanFactory in your project, you can add flutter-json: enable: false to the pubspec.yaml file
* If no helper files are generated, you can delete the .idea directory and restart your idea

### Others
* Welcome anyone to raise new issue.
* Welcome anyone to push a pull request to improve me.

### Gratitude
* Thank [@CNAD666](https://github.com/CNAD666/getx_template)
* Thank [@zhangruiyu](https://github.com/zhangruiyu/FlutterJsonBeanFactory)
* Thank [@AndrewShen812](https://github.com/AndrewShen812/AssetsRefGenerator)

### Find me useful ? :heart:
* Support me by clicking the :star: button on the upper right of this page. :v:
* Spread to others to let more people have a better develope expierience :heart:

repository: ichaly/flutter-getx-starter

repo_name: ichaly/flutter-getx-starter


text:
# mmeasureunit
## What is it?
"mmeasureunit" is a micro measure unit manipulation C++ header-only library based on std::chrono capabilities.
Library provides few simple abstractions on common units with compile time evaluation and conversion.

## Why not boost?

Boost::Units seems a bit overhead for some tasks. Yes, it provides awesome interface to
build complex units (like newtons) but this library is designed to be lightweight and
extremely easy to use so only abstraction used here is unit itself (length, weight, angle etc.).
And no boost dependency here.

## Why should I use this library instead of %libName%?

That's your and only your choice. Just look how it can be used:

```CPP
TODO: place use example here
```

## How it works?

All library abstractions (models of measure units) based on std::

## Can I?...

FAQ is coming soon...

repository: T-Maxxx/mmeasureunit

repo_name: T-Maxxx/mmeasureunit


text:
# Kong Basic Installation

https://docs.konghq.com/2.2.x/kong-for-kubernetes/install/

```bash
helm repo add kong https://charts.konghq.com
helm repo update
helm pull kong/kong
tar xvfz kong-1.11.0.tgz
cd kong
k create ns kong
kn kong
helm install kong kong/kong --set ingressController.installCRDs=false
kga
```

# Kong Advanced Installation with custom values.yaml

```bash
helm upgrade --install kong kong/kong --set ingressController.installCRDs=false -f values.yaml
```

## Install Konga Admin GUI

```bash
git clone https://github.com/pantsel/konga.git
cd konga/charts/konga
--> set service type to LoadBalancer
helm install konga .
```

## Related resources

https://docs.konghq.com/getting-started-guide/2.1.x/overview/

https://konghq.com/blog/kong-for-kubernetes-0-10-released-with-ingress-v1-resource-improved-ingress-class-handling-and-more/

repository: doytsujin/bonsai

repo_name: doytsujin/bonsai


text:
hoverfree
=========

Fork of hoverzoom.net -- this Chrome extension will show an image if you hover its thumbnail or a link.

Read why here: https://gist.github.com/ralph-tice/5087704 or see http://www.reddit.com/r/technology/comments/19oy0s/hoverzoom_has_gone_evil_tracking_browsing_history/ for discussion.

Philosophy:
===========

HoverFree will be free to use and help people preview a linked image.

HoverFree will never inject advertising, referral links, adware, spyware, etc.

HoverFree will never track or record browsing activity.

Installation:
=============

Installation via the Chrome Web Store has been disabled by the original author.

For manual installation, either download https://github.com/miketanderson/hoverfree/archive/master.zip

Or clone the git repo:
```
git archive --format zip --output ~/hoverfree.zip master
```

From the Extensions page in Chrome (chrome://extensions/), enable "Developer Mode" via the check box on the top right.  Click the "Load Unpacked Extension..." button and open the saved zip file.

repository: miketanderson/hoverfree

repo_name: miketanderson/hoverfree


text:
---
layout: default
---

# 1996-07-20 - Re: Netscape download requirements

## Header Data

From: Jeff Weinstein<EMAIL_ADDRESS>To: Remo Pini<EMAIL_ADDRESS>Message Hash: 0b5796417c7193b5c29f9b0c5fc2417fd1d3a2c03886ae63205b6344ab051289

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1996-07-20 14:57:25 UTC

Raw Date: Sat, 20 Jul 1996 22:57:25 +0800

## Raw message

```
{% raw  %}From: Jeff Weinstein<EMAIL_ADDRESS>Date: Sat, 20 Jul 1996 22:57:25 +0800
To: Remo Pini<EMAIL_ADDRESS>Subject: Re: Netscape download requirements
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

Remo Pini wrote:
>
> Why can't anybody in US write a little program that compares the two 4.5 meg
> install files and make a patcher? (It seems simple to do, is very
> inconspicuous and of course does not violate the ITAR - although it might
> violate some copyright stuff, but hey, whos willing to enforce something
> like that, when it's anonymously posted or mailed)

  Actually a lawyer once told me that such a patch might be considered
a "defense repair", and thus be regulated by the ITAR.  I kid you not.
Your bits would fall into the same bucket as missile parts.  The more
I learn about ITAR and the way the government tries to link software
to it, the more amazed I get.

	--Jeff

--
Jeff Weinstein - Electronic Munitions Specialist
Netscape Communication Corporation
<EMAIL_ADDRESS>- http://home.netscape.com/people/jsw
Any opinions expressed above are mine.

{% endraw %}
```

## Thread

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

+ Return to "[Jeff Weinstein <jsw@netscape.com>](/authors/jeff_weinstein_jsw_at_netscape_com_)"
+ Return to "["Perry E. Metzger" <perry@piermont.com>](/authors/perry_e_metzger_perry_at_piermont_com_)"
+ Return to "[Remo Pini <rp@rpini.com>](/authors/remo_pini_rp_at_rpini_com_)"

+ 1996-07-20 (Sat, 20 Jul 1996 22:42:08 +0800) - [Re: Netscape download requirements](/archive/1996/07/39cc0ec1590298c1888c2b0e4bd0b61141ba69c12d8a14d75cd241c97aec54d6) - _Remo Pini<EMAIL_ADDRESS>  + 1996-07-20 (Sat, 20 Jul 1996 22:57:25 +0800) - Re: Netscape download requirements - _Jeff Weinstein<EMAIL_ADDRESS>    + 1996-07-20 (Sun, 21 Jul 1996 01:00:09 +0800) - [Re: Netscape download requirements](/archive/1996/07/d448eb9a7cb21a5cb2733c8201a125040bff7303a424dbc0cbf2d6ac45ff2293) - _"Perry E. Metzger"<EMAIL_ADDRESS>


text:
# API: adminPublicFileDelete

## ACCESS REQUIREMENTS: ##
[[IMAGE|CONCEPT_image]] - DELETE/REMOVE

Public files are hosted at a URL and can be downloaded, they are usually things like short videos, etc.

## INPUT PARAMETERS: ##
  * fileguid: guid from fileupload
  * filename:

repository: nick-wdd/backend-static

repo_name: nick-wdd/backend-static


text:
# SynonymScrapper

Synonym Scrapper is a ruby gem that obtains spanish synoynms from various sources. Currently three synonym sources are supported:
* Datamuse API ([link](https://www.datamuse.com/api/))
* Educalingo dictionary ([link](https://educalingo.com/en/dic-es))
* Natural Language Toolkit ([link](https://www.nltk.org/))

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'synonym_scrapper'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install synonym_scrapper

### Using NLTK

First you need to have Python3 installed on the machine that will use this gem. Then you need to install NLTK:

    $ pip3 install nltk

And download its data through python (you can run these through the python interpreter):

```python
import nltk
nltk.download()
```
From the packages available in NLTK you'll need to download omw (Open Multilingual Wordnet).

## Usage

To use this gem you first need to require it:

```ruby
require 'synonym_scrapper'
```

Then you need to create a SynonymScrapper instance and request synonyms from it using one of the dictionaries available. Example:

```ruby
scrapper = SynonymScrapper::SynonymScrapper.new

scrapper.synonyms("entretenimiento", :datamuse)
scrapper.synonyms("saltar", :educalingo)
scrapper.synonyms("auto", :nltk)
```

Data obtained is an array of hashes containing the keys `:word` and `:score`.

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## To do

- [ ] Implement more synonym sources
- [ ] Use datamuse's API full capabilities
- [ ] Filter data obtained from dictionaries by score
- [ ] Add method to get synonyms from all dictionaries
- [ ] Extend to more languages

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).


text:
Currently support widgets in Icarus:
```
widgets:
    - recent_posts
    - category
    - archive
    - tag
    - tagcloud
    - links
```

### Recent Posts
Show the latest 5 posts in your sidebar. Thumbnails can be disabled in the [Theme Configuration](https://github.com/ppoffice/hexo-theme-icarus/wiki/Theme#thumbnail).

### Category
Show categories in the sidebar.

### Archive
Show months of posts in the sidebar.

### Tag
Show tags in the sidebar.

### Tag Cloud
Show a tag cloud in the side bar.

### Links
Show custom links in the side bar. Links can be set in the [Miscellaneous Configurations](https://github.com/ppoffice/hexo-theme-icarus/wiki/Miscellaneous#links)

repository: redbrick/hexo-theme-icarus

gha_language: CSS

repo_name: redbrick/hexo-theme-icarus


text:
Assign Command

The Assign command has an 'a' tag, followed by one or more spaces and by a

$<variable> having a trailing equal '=' sign. The $<variable> is always the

left-hand expression.  The expression to the right of the '=' sign is either:

    value
    $<variable>
    math expression of Values and $<Variables>

For example:

    a $one = 22
    a $two = $three
    a $three = 2.123 * 5/ ( 2.1 - $fraction)

In the math expression, numeric character strings are converted to decimals.

The Assign Command has an optional Logic component (see Logic component).

This component has a restriction that is not present for this component in

the Clear, File, and Edit commands. In the case of the Assign command, the

Logic expression must be preceded by an 'if' tag, for example:

    a $one = 22 if ($one) > (22)
    a $two = $three if ($four) <= ($five)
    a $three= 2.123 * 5/ ( 2.1 - $fraction) if ($three) <> (5)

repository: hangle/Notecard

repo_name: hangle/Notecard


text:
Tweet Analyzer

Tweet Analyzer is an analytics tool which captures domain specific trends on twitter.
This tool can be used to get latest updates on a domain, what type of users are active in that domain(target users),
who are the influencers and what is the overall sentiment in that domain.
This tool gives a business owner / domain enthusiast a holistic knowledge on changing trends.

Running The App Locally:

1. Download and Install Python 3.7 [Link](https://www.python.org/downloads/)
2. Import Data given in backend submission to Mysql.
3. Create config.py file with database config and  `api_key`,`api_secret_key`,`api_access_token`
`api_access_token_secret` keys.
3. Change config as per your requirement in `config.py` file.
4. Go to folder TwitterDataAnalysis
5. Install other  `pip install -r requirements.txt`
6. Run following command : `run flask`

[
Presentation Link
](https://docs.google.com/presentation/d/1hXyVhiGnmNsW6DHurg_xyu5opn1ZKmX1-lPLj0Y0zy8/edit?usp=sharing)

repository: VaishnaviHire/tweet-anlyzr

repo_name: VaishnaviHire/tweet-anlyzr


text:
# npdoc2md Example

Please see the `Npdoc2md.md`, and `Code2npdoc.md` files in this directory to see the result of running `npdoc2md` on itself, and on the other included script.


text:
---
title: Chat
parent: Reusable Designs
description: meta
builder:
  - type: Code
    code:
      code: <m-chat></m-chat> <!-- is fixed to your viewport -->
  - type: Markdown
    markdown: '
      ## When to use this component

      Contact the [Design System team](/help) and we will coordinate with Ask a Librarian staff about your use case.

      ## When to not use this component

      If your website is not hosted on lib.umich.edu.

      ## Guidelines for using the chat component

      - The chat should contrast with the site background.

      - Users should have the option to pop the chat out.

      - The chat should clearly differentiate which messages are from the user and which are from the library staff member.

      - Access to chat should also appear on the “Contact” page. This is a typical place that users will look for it.

      - Allow keyboard users to skip ahead to the chat function.

      ## Used by

      - Library website

      - Library Search
    '
---

The chat component provides access to the Ask a Librarian chat service.

It displays a real-time chat log of the librarian and user’s conversation.


text:
# Job-Assignment-Problem-Branch-And-Bound
Writen on C#

Let there be N workers and N jobs. Any worker can be assigned to perform any job, incurring some cost that may vary depending on the work-job assignment. It is required to perform all jobs by assigning exactly one worker to each job and exactly one job to each agent in such a way that the total cost of the assignment is minimized.

About task: https://www.geeksforgeeks.org/job-assignment-problem-using-branch-and-bound/


text:
# NgxEasyModal
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![npm version](https://badge.fury.io/js/ngx-easy-modal.svg)](https://badge.fury.io/js/ngx-easy-modal)
![Ngx](https://img.shields.io/badge/ngx-SUCCESS-blue.svg?style=flat)
![licence](https://img.shields.io/badge/licence-MIT-blue.svg?style=flat)

## Install
```
    npm install ngx-easy-modal --save
```

## Examples

[Here](https://kappys1.github.io/ngx-modal/)

## Initialize

1. Add to import Modules and **Add to entry entryComponents in @NgModules, the modules that you want to put inside the modal.**

```
@NgModule({
  declarations: [
    AppComponent,
    SampleModalComponent,
  ],
  entryComponents: [
    SampleModalComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    NgxModalModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
```

2.  Import your Service in a component and Create a new Modal.

```
export class AppComponent {

  constructor(private modalService: NgxModalService) {

  }

  openModal(){
    const params = {};
    this.modalService.create(SampleModalComponent, params).then((modal: NgxModal) => {
      modal.open();
    });
  }

}

```
## NgxModal Model
functions:

- open() -> to open modal;
- close() -> to close modal;
- destroy() -> to open modal;

events:

- onOpen
- onClose
- onDestroy

[more info see the wiki](https://github.com/kappys1/ngx-modal/wiki/Events)

## NgxModalService Params

In Params, you can add all params that you need for init your component, but for modal, you can pass this params:

- **enableBackdropDismiss** (boolean)
- **class** (Array of strings)

[more info see the wiki](https://github.com/kappys1/ngx-modal/wiki/Events)

gha_language: TypeScript