4623 shaares
397 liens privés
397 liens privés
4 résultats
taggé
delete
Voici les options qui vous montrent les capacités de ce script python bien utile:
## OPTIONS
test_mode = True # Setting this to False will actually undertake the actions
verbose = True
delete_tweets = True # Do we want to delete tweets?
delete_favs = True # Do we want to delete favorites
max_favs = 4 # Don't delete a tweet if it has more than this number of favorites
max_rts = 4 # Don't delete a tweet if it has more than this number of retweets
days_to_keep = 2 # How many days tweets to keep?
# Enter IDs of tweets you want to preserve here
tweets_to_save = [
]
# Enter IDS of favorites you want to preserve here
favs_to_save = [
]
# Enter strings that if found, will result in the tweet not being deleted.
strings_to_save = [
"[nd]",
"New Blog Post:",
]
On peut mettre cela dans un cron.
Supprimer une branche remote
"""
$ git push origin :mabranche
"""
Supprimer une branche locale
"""
$ git branch -d mabranche
ou
$ git branch -d mabranche
"""
La différence entre les 2 (man git-branch) :
"""
-d, --delete
Delete a branch. The branch must be fully merged in its upstream branch, or in
HEAD if no upstream was set with --track or --set-upstream.
-D
Delete a branch irrespective of its merged status.
"""