Skip to content

Instantly share code, notes, and snippets.

View baciotti's full-sized avatar
🎯
Focusing

Tiago Bacciotti Moreira baciotti

🎯
Focusing
View GitHub Profile
@arthurattwell
arthurattwell / ebw-usb-setup.sh
Last active May 10, 2020 12:44
Script to set up the Electric Book tools on a USB drive running Ubuntu 18.04
#!/bin/bash
# This script sets up the Electric Book tools on an Ubuntu 18.04 USB drive.
# It assumes a fresh Ubuntu 18.04 install. Anywhere else, use at your own risk.
# Tested on a 32GB Sandisk Cruzer Blade drive.
#
# Before using this script, to create a bootable USB drive:
# - On Windows, use Rufus, but changes to the USB will not be saved:
# https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows
# - On Ubuntu, optionally with the ability to save ('persistence'), use mkusb:
@arthurattwell
arthurattwell / update_git_repos.sh
Last active May 10, 2020 12:42 — forked from douglas/update_git_repos.sh
Update all git repositories under a base directory
#!/bin/bash
# store the repos dir
REPOS_DIR=/var/services/homes/admin/EBW/Dropbox/git-repos
# Go into the repos folder
cd $REPOS_DIR
# Let the person running the script know what's going on.
echo "Pulling in latest changes for all repositories..."
@juemura
juemura / Mission Bit - Android Game Design 101 - Intro to git and GitHub.md
Last active April 8, 2022 11:39
Instructions to get started with git and GitHub for Mission Bit - Android Game Design 101
@juemura
juemura / c9-github-integration.md
Last active September 12, 2023 09:40
Tutorial: How to connect your Cloud9 and GitHub accounts via ssh

#Tutorial: How to connect your Cloud9 and GitHub accounts via ssh

To avoid having to enter your username and password EVERY-SINGLE-TIME you push, follow these step-by-step instructions.


#####1. Copy your C9 ssh key. Go to https://c9.io/account/ssh and copy the key below *"Connect to your private git repository"*. It's a very long string that starts with ssh-rsa and ends with your email.

#####2. Paste your C9 ssh key into your GitHub account

@mjcreativeventures
mjcreativeventures / get_followers.py
Created February 15, 2016 04:43
Collect twitter followers
import tweepy
import time
import os
import sys
import json
import argparse
FOLLOWING_DIR = 'following'
MAX_FRIENDS = 200
FRIENDS_OF_FRIENDS_LIMIT = 200
@joepie91
joepie91 / vpn.md
Last active May 3, 2024 10:58
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.