- List the current configured remote repository for your fork.
git remote -v
- Specify a new remote upstream repository that will be synced with the fork.
git remote add upstream https://github.com/P2PSP/p2psp.git
| # A simple internet-chat application | |
| import network | |
| import sys | |
| def heard(phrase): | |
| print("them:" + phrase) | |
| if (len(sys.argv) >= 2): | |
| network.call(sys.argv[1], whenHearCall=heard) |
| #define PIN_ID 13 | |
| void setup() { | |
| Serial.begin(9600); | |
| pinMode(PIN_ID, OUTPUT); | |
| } | |
| void loop() { | |
| if (Serial.available() > 0) { |
| Recuerda incluir este permiso | |
| <uses-permission android:name="android.permission.INTERNET" /> |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| if (argc < 4) { | |
| printf("Usage: %s <initial_value> <increment> <#total>\n", argv[0]); | |
| return 1; | |
| } |
| #!/bin/bash | |
| set -x | |
| # Set the directory to store the images | |
| IMAGES_DIRECTORY=images | |
| if [ ! -d "${IMAGES_DIRECTORY}" ]; then | |
| echo "Creando nuevo directorio: ${IMAGES_DIRECTORY}" | |
| mkdir -p ${IMAGES_DIRECTORY} |
$ git config --global credential.helper cache
# Set git to use the credential memory cache
To change the default password cache timeout, enter the following:
$ git config --global credential.helper 'cache --timeout=3600'
# Set the cache to timeout after 1 hour (setting is in seconds)
If you’re using an HTTPS URL to push over, the Git server will ask you for your username and password for authentication. By default it will prompt you on the terminal for this information so the server can tell if you’re allowed to push.
If you don’t want to type it every single time you push, you can set up a “credential cache”. The simplest is just to keep it in memory for a few minutes, which you can easily set up by running:
git config --global credential.helper cache.
For more information on the various credential caching options available, see “Credential Storage”.
| |Time | 172.20.55.72 | | |
| | | | 46.101.34.192 | | |
| |7.801943000| GET /jpip?cid=JPHT85 |HTTP: GET /jpip?cid=JPHT85B91EE67E99FA1A&cclose=JPHT85B91EE67E99FA1A&stream=0 HTTP/1.1 | |
| | |(53185) ------------------> (8080) | | |
| |7.801945000| GET /jpip?cid=JPHT01 |HTTP: GET /jpip?cid=JPHT011897797E99FA1A&cclose=JPHT011897797E99FA1A&stream=0 HTTP/1.1 | |
| | |(53185) ------------------> (8080) | | |
| |7.924470000| HTTP/1.1 200 OK |HTTP: HTTP/1.1 200 OK | |
| | |(53185) <------------------ (8080) | | |
| |7.972195000| HTTP/1.1 200 OK |HTTP: HTTP/1.1 200 OK | |
| | |(53185) <------------------ (8080) | |
/* JPEG 2000 - defined in IEC 15444-1 "JPEG 2000 Core (part 1)" */
/* delimiters */
SOC = 0x4f, /* start of codestream */
SOT = 0x90, /* start of tile */
SOD = 0x93, /* start of data */
EOC = 0xd9, /* end of codestream */
/* fixed information segment */
SIZ = 0x51, /* image and tile size */
/* functional segments */
COD = 0x52, /* coding style default */