Merge branch 'master' of github.com:soaicbe/ai_all_resources

pull/10/head
Navaneeth Malingan 2021-12-15 00:26:26 +05:30
commit 32ccad66e4
5 changed files with 66 additions and 1 deletions

View File

@ -0,0 +1,26 @@
on: [push, pull_request]
name: Twitter, together!
jobs:
preview:
name: Preview
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: gr2m/twitter-together@v1.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tweet:
name: Tweet
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: checkout master
uses: actions/checkout@v2
- name: Tweet
uses: gr2m/twitter-together@v1.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}
TWITTER_API_SECRET_KEY: ${{ secrets.TWITTER_API_SECRET_KEY }}

View File

@ -1,6 +1,6 @@
# An Ultimate Compilation of AI Resources for Mathematics, Machine Learning and Deep Learning
## _Knowledge Not Shared is wasted - Clan Jacobs_
## _Knowledge Not Shared is wasted. - Clan Jacobs_
### This collection is a compilation of Excellent ML and DL Tutorials created by the people below

37
tweets/README.md 100644
View File

@ -0,0 +1,37 @@
# The tweets/ folder
To create a new tweet create a new `*.tweet` file in this `tweets/` folder.
<kbd>[Create new tweet](../../../new/master/?filename=tweets/<your-path>.tweet)</kbd>
## Example
Create a new file `tweets/hello-world.tweet` with the content
> Hello, world!
You can use subfolders, e.g. `tweets/2019-02/hello-world.tweet`, as long as the file is in the `tweets/` folder and has the `.tweet` file extension
## Create a tweet with a twitter poll
**Note**: The configured twitter account needs to be authorized to use Twitters Ads API in order to send tweets including a poll.
A tweet including a poll must end with 2-4 options in the following format
> Here is some text
>
> ( ) option A
> ( ) option B
> ( ) option C
> ( ) option D
## Notes
- Only newly created files are handled, deletions, updates or renames are ignored.
- `*.tweet` files will not be created for tweets you send out directly from twitter.com
- If you need to rename an existing tweet file, please do so locally using [`git mv old_filename new_filename`](https://help.github.com/en/articles/renaming-a-file-using-the-command-line), otherwise it may occur as deleted and added which would trigger a new tweet.
- your message must fit into a single tweet
## Questions?
If you have any further questions or suggestions, please create an issue at https://github.com/gr2m/twitter-together/issues/new

View File

@ -0,0 +1 @@
test tweet

View File

@ -0,0 +1 @@
Hello world.