How to upload many Android projects in the same github repository? - android-studio

I have some related Android projects that I want to upload to github to be all in 1 repository the same as in this picture , I tried to upload the projects manually by drag and drop on github website but it failed to upload showing me this message "Yowza, that’s a lot of files. Try again with fewer than 100 files." as shown in the picture below
Please list all possible solutions and note that I'm not familiar with git command line. If it's not possible please list other alternatives to group related projects in one place on github. Thanks

IMHO, best way to do so is by uploading fewer files (e.g. 50).
After that, you can then upload the remaining (e.g. 50) files. 🙂

Now I know how to do it.
1- open github website and go to the desired repo.
2- click add file and then upload files.
3- open your Android project in explorer.
4- delete the build folder which is inside the app folder in your project.
5- drag your project and drop it in github upload window.
for detailed steps you can follow this tutorial

Related

How to add a pluggin to gitbook?

I am a begginer but I am building a gitbook for a personnal project.
When you want to add a pluggin it is said that "Once you find a plugin that you want to install, you need to add it to your book.json:" here
I found the pluggin I want but I cannot find where I should install it ? Where is that book.json "thing" ? Do I need to have a github account to be able to do that ?
Thanks a lot
I've looked arount there is no tutorial existing for that
In this question it is said that "Switch to FILES at the top of the left sidebar and then right click to create book.json" but i dont get it, in the files part I am asked to drop or select a file and when I right click it just shows the classic menu of a webpage right click
Well, you'd need to have some sort of git service/git host where you can store the source in which you can find the book.json. GitHub is one of them and you can easily integrate it with GitBook (hence the name GitBook).
Here is a link to the documentation explaining exactly how to set it up. Alternatively you can use GitLab or self-host (the other option) although GitHub should be the easiest to start with. And yes you need an account on there.
Enabling GitHub Sync
Enabling GitLab Sync

API to download MS Teams video recordings

Is there any programmatic way to access and download the already-stored video recordings from MS Teams? I have been reading MS Graph API documentation, but could not find anything related to this.
There is no specific API or chrome extension for this but it is possible using destreamer. Prerequisite: Node 8.0 or higher
Steps for downloading the video:
Download zip files of these repositories Destreamer Youtube-dl
Now in a new folder copy all the contents of these repositories. The folder structure is like Folder Structure. Do not worry about files with same names as they are not important. So when windows asks you to decide what to do just skip it.
Download ffmpeg as described in this link ffmpeg download. Also add it to the environment variables as described in this link.
Download chromium from this link chromium and just paste the folder present in zip file anywhere.
In the folder described in step 2 open src/destreamer.ts and edit code as code edit on line 55 in the pic and replace the path with your own chromium path.
Open cmd and navigate to the main folder that we created in step 1 and run npm install. After successful installation of node_modules run npm run build. After successful build run
destreamer.cmd -i "https://web.microsoftstream.com/video/VIDEO-1". (You need double quotations for link). This will launch chromium and ask you to login. Enter your MS account credentials. On successful login your download will start.
Note: In powershell you need to write ./destreamer.cmd instead of destreamer.cmd. In linux you need to write ./destreamer.sh.
You can also refer to destreamer github repository described in step 1 for other download options such as custom path download, re-encode, different format, etc.
Video recordings in Teams are actually stored in Microsoft Stream (another one of the services in Office 365) but unfortunately there's currently no API for accessing Stream itself (it's on the roadmap for release later this calendar year, see here (page 2 at the moment).
I couldn't open download link from provided FFMPEG instruction, found release for windows here:! instead. The rests have no issues.
Decided to it add like an answer, because it can be a temporary issue from my side.
Please consider provided link as an alternative/additional.

Azure DevOps custom extension icon missing

I have built an extension for Azure DevOps following this tutorial:
https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=vsts
Then I upload it to Azure DevOps and share it only with my organization.
The problem is that when I open a build definition and click to add more tasks, the icon for my extension is missing:
click here to view image
I have followed the suggestions in the post below but nothing worked:
Why TFS Build Step Extension Icon Is Missing?
Does anyone have a suggestion?
Thanks,
You need to provide two files with icons, first one in your root folder and second one in the task folder. Also you should remember that icon should be 128x128 px or larger. Here you could see the example of your extension's folder structure:
extensionManifest.json
icon.png
taskFolder
task.json
icon.png
index.js
The tutorial does not mention that there also needs to be an icon named icon.png in the same folder as the task.json file. Also make sure the icon is 32 x 32 px. There is some documentation here: Reference for integrating custom build tasks into extensions

Where to extract sources-27_r01.zip?

I'm manually downloading every android studio components as the software itself always fails to do so.
I've nearly completed fixing everything but two.
enter image description here
Of the two, android studio tries to download sources-27_01.zip first. The 35.3MB one.
enter image description here
I manually downloaded it with the link. But I can't figure out where to place it.
I've tried placing in in various places with names in \AppData\Local\Android\Sdk\sources but with no success.
Did you try to extract all files from sources-27_01.zip to \AppData\Local\Android\Sdk\sources\android-27 ?
When you are downloading sources for some API (I see that you downloading sources for 27 API) it creates inside sources folder, folder for each API sources.
Here is a list of folders and files inside my path \AppData\Local\Android\Sdk\sources\android-25

Get last published code from Azure Web App Publish

I messed up. I needed to reset my computer and wipe it clean. In doing so, I mistakenly committed incorrect code (a lot of it) to source control. Now, going to retrieve it and discovering its the wrong stuff. I have the correct code published - Is it at all possible to get this code that's up in Azure?
You can download a copy of the deployed code via the KUDU interface. Please note that this is the deployed code, and it won't be the source if you are using a compiled language such as C#.
Please see this blog for details on how to access the KUDU interface. If you click on debug console and then powershell, you will see a file browser (picture shown at bottom of blog post). There is a download button for each folder. Simply navigate to where your files are stored and download.
Yup. Assuming you want the repo not the deployed (compiled) code- Go into Kudu/DebugConsole and grab the repository folder from /site/.
It has a clone of your local git repo in it.

Resources