Skip to content

Instantly share code, notes, and snippets.

@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 / 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
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 / 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
@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 / Uninstall-pkg.md
Last active September 10, 2017 21:37 — forked from githubutilities/Uninstall-pkg.md
Uninstall pkg manually in OS X

Mac Uninstall pkg Manually

  • using pkgutil
# list all your installed packages
pkgutil --pkgs

# show your package info
pkgutil --pkg-info 
@rraallvv
rraallvv / Logic_Pro_X_package_downloads.txt
Last active January 12, 2021 16:00 — forked from rickychilcott/gist:3222c15663dac7d987a1
Logic Pro X Package Downloads
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/GarageBandBasicContent.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/JamPack1.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/JamPack4_Instruments.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsChillwave.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsDeepHouse.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsDubstep.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsElectroHouse.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsHipHop.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsLegacy1.pkg
http://audiocontentdownload.apple.com/lp10_ms3_content_2013/MAContent10_AppleLoopsLegacyRemix.pkg
@rraallvv
rraallvv / audioaddict-premium-account-generator.sh
Last active June 24, 2016 19:01 — forked from hackruu/di-fm-premium-account-generator.sh
Generate premium account and playlists.
#!/bin/bash
AGENT="AudioAddict-di/1.4.7 iOS/8.1"
COOKIES="./cookies.txt"
AUTH="ephemeron:dayeiph0ne@pp"
DOMAIN=gmail.com
PLAYLISTDI="di.fm.m3u"
PLAYLISTSKY="sky.fm.m3u"
PLAYLISTJAZZ="jazzradio.m3u"
PLAYLISTROCK="rockradio.m3u"
JSONDI="http://listen.di.fm/premium_high.json"
@rraallvv
rraallvv / XCodeReporter.js
Last active June 8, 2016 18:10 — forked from distractdiverge/XCodeReporter.js
A custom reporter for jshint to present errors in a format for XCode to read them.
module.exports = {
reporter: function (res) {
var len = res.length;
var str = "";
res.forEach(function (r) {
var file = r.file;
var err = r.error;
str += file + ":" + err.line + ": error: " + err.reason + "\n";
@rraallvv
rraallvv / json-to-plist.sh
Created February 25, 2016 19:14 — forked from sugarmo/json-to-plist.sh
A shell script for Automator that can convert JSON to .plist file.
for f in "$@"
do
filename="${f%.*}"
plutil -convert xml1 "$filename".json -o "$filename".plist
done