This file contains 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
import csv | |
import os | |
import requests | |
import sys | |
from gql import Client, gql | |
from gql.transport.aiohttp import AIOHTTPTransport | |
from requests.auth import HTTPBasicAuth | |
org = sys.argv[1] | |
repo = sys.argv[2] |
This file contains 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
YOUR_NEW_REPO="TYPE YOUR NEW REPO" | |
git remote rename origin old | |
git remote add origin $YOUR_NEW_REPO | |
for branch_old in $(git branch -rvvv | awk '/old/ {print $1}'); do | |
branch=$(echo $branch_old | sed 's/old\///g') | |
echo git checkout -b tmp $branch_old | |
echo git push origin tmp:$branch |
This file contains 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
<?php | |
namespace DataTables; | |
use PDO; | |
use PDOException; | |
use Exception; | |
/* | |
* This script it is originated by datatables official exampla and has been |
This file contains 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
[Unit] | |
Description=High-performance, schema-free document-oriented database | |
After=syslog.target | |
After=network.target | |
[Service] | |
User=mongodb | |
Group=mongodb | |
Type=forking | |
RuntimeDirectory=mongodb |