Skip to content

Instantly share code, notes, and snippets.

@bertrandom
bertrandom / InstagramShortUrl.php
Created April 11, 2012 15:14
InstagramShortUrl encoding/decoding service
<?php
namespace Smittn\InstagramBundle\Services;
class InstagramShortUrl {
private $alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
public function __construct() {
@adamcharnock
adamcharnock / move_issues.py
Created April 24, 2018 11:26
Python script to move all GitLab issues from one project to another
#!/usr/bin/env python3
import os
import gitlab
GITLAB_API_TOKEN = os.environ['GITLAB_API_TOKEN']
def main():
print("Logging into gitlab and fetching a list of projects...")