- cd into the directory
- go to https://github.com/new and create a new repo. DO NOT check the initialize repo with README option.
- you will get a screen like
- run
git initto create an empty git repo. (it is empty because we need to add files to the git repo, it doesnt account for the files in the same folder automatically) - run
git add --allto add all files & folders in the current folder to git repo. rungit statusto see files added to git staging area - run
git commit -m "short message about what changes happen in this commit": note that a message is required by git. - add a remote (github repo) to your local git repo using command
git remote add origin git@github.com:user/repo.git - send your local git repo to github using
git push -u origin master: here origin is set to github by the prev command. master is the default branch. - open github.com/user/repo in browser to view the git rep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Глава 2. Базовые операции | |
| Прежде чем погружаться в дебри многочисленных команд Git, попробуйте воспользоваться приведенными ниже простыми примерами, чтобы немного освоиться. Каждый из них полезен, несмотря на свою простоту. На самом деле первые месяцы использования Git я не выходил за рамки материала этой главы. | |
| Сохранение состояния | |
| Собираетесь попробовать внести некие радикальные изменения? Предварительно создайте снимок всех файлов в текущем каталоге с помощью команд | |
| $ git init | |
| $ git add . | |
| $ git commit -m "Моя первая резервная копия" | |
| Теперь, если новые правки всё испортили, можно восстановить первоначальную версию: |
14.5 GB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generate a new pgp key: (better to use gpg2 instead of gpg in all below commands) | |
| gpg --gen-key | |
| # maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null` | |
| # check current keys: | |
| gpg --list-secret-keys --keyid-format LONG | |
| # See your gpg public key: | |
| gpg --armor --export YOUR_KEY_ID | |
| # YOUR_KEY_ID is the hash in front of `sec` in previous command. (for example sec 4096R/234FAA343232333 => key id is: 234FAA343232333) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024 | |
| jdk.tls.disabledAlgorithms=SSLv3, RC4, DH keySize < 768 | |
| https://stackoverflow.com/questions/14149545/java-security-cert-certificateexception-certificates-does-not-conform-to-algori# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var PLAY = 1; | |
| var END = 0; | |
| var gameState = PLAY; | |
| var trex, trex_running, trex_collided; | |
| var ground, invisibleGround, groundImage; | |
| var cloud, cloudsGroup, cloudImage; | |
| var obstaclesGroup, obstacle1, obstacle2, obstacle3, obstacle4, obstacle5, obstacle6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Replace `http` requests with `https` --> | |
| <meta | |
| http-equiv="Content-Security-Policy" | |
| content="upgrade-insecure-requests" | |
| /> | |
| <!-- Set CSP, if not provided, the browser also uses the standard same-origin policy --> | |
| <meta | |
| http-equiv="Content-Security-Policy" | |
| content="default-src 'self'; img-src https://*; child-src 'none';" | |
| /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.jboss.arquillian.extension.suite; | |
| import java.util.concurrent.Callable; | |
| import org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor; | |
| import org.jboss.arquillian.container.spi.Container; | |
| import org.jboss.arquillian.container.spi.ContainerRegistry; | |
| import org.jboss.arquillian.container.spi.client.container.DeployableContainer; | |
| import org.jboss.arquillian.container.spi.client.deployment.Deployment; | |
| import org.jboss.arquillian.container.spi.client.deployment.DeploymentScenario; |
