Skip to content

Instantly share code, notes, and snippets.

@rraallvv
rraallvv / gist:75df1a13f2d3b5ead222b4a6464aa76e
Last active January 12, 2018 13:29 — forked from omegasoft7/gist:ec2285ae5a873d6f780b
Change Android Emulator Storage Size
# Navigate to AVD
cd ~/.android/avd/<device dir>
# Delete old image
#rm userdata-qemu.*
# Re-size the images
e2fsck -f userdata-qemu.img
resize2fs userdata-qemu.img 512M
e2fsck -f userdata.img
@rraallvv
rraallvv / upload-github-release-asset.sh
Created January 14, 2018 00:07 — forked from stefanbuck/upload-github-release-asset.sh
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner
# * repo
The layout of keyboards varies per country, with some countries having multiple
common layouts. Please select the country of origin for the keyboard of this
computer.
1. Afghani 48. Irish
2. Albanian 49. Italian
3. Amharic 50. Japanese
4. Arabic 51. Japanese (PC-98xx Series)
5. Arabic (Morocco) 52. Kazakh
6. Arabic (Syria) 53. Khmer (Cambodia)
@rraallvv
rraallvv / enable_tor.sh
Created September 28, 2018 17:58 — forked from enilsen16/enable_tor.sh
Enable/Disable Tor
#!/bin/bash
INTERFACE=Wi-Fi
networksetup -setsocksfirewallproxy $INTERFACE 127.0.0.1 9050 off
networksetup -setsocksfirewallproxystate $INTERFACE on
tor
networksetup -setsocksfirewallproxystate $INTERFACE off
@rraallvv
rraallvv / add-new-crypto-to-peatio.md
Created October 20, 2018 17:57 — forked from muhammednagy/add-new-crypto-to-peatio.md
Adding A New Cryptocurrency to Peatio

State: Draft
Based on the Peatio Stable branch


Coin Daemon

To the coin daemon's {coin}.conf file, include the -walletnotify command:

# Notify when receiving coins
@rraallvv
rraallvv / private_fork.md
Created April 13, 2025 16:11 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git