Skip to content

Instantly share code, notes, and snippets.

View medival's full-sized avatar
🚀
exploring the universe

Adi Purnomo medival

🚀
exploring the universe
View GitHub Profile
@fzn0x
fzn0x / fetchtransactionsbywallet.md
Last active January 6, 2022 17:31 — forked from shov/fetchtransactionsbywallet.md
Etherscan Public API Fetch By Contract or Wallet Address Tips

Etherscan Public API Fetch By Contract or Wallet Address Tips (edited by fncolon)

Overview

There is no documentation at the moment, but there are some rumors. And experimental way I've made sure about few end-points are working good:

Common account info

GET: https://www.etherchain.org/api/account/0xAAAsomeADDR00000000000/ Will return something like that:

{
@ekoyudhi
ekoyudhi / gsp301_deploy-a-compute-instance-with-a-remote-startup-script.sh
Created March 14, 2021 02:31
GSP301 Deploy a Compute Instance with a Remote Startup Script
# Deploy a Compute Instance with a Remote Startup Script
# https://google.qwiklabs.com/focuses/1735?parent=catalog
# Task 1: Confirm that a Google Cloud Storage bucket exists that contains a file
gsutil mb gs://$DEVSHELL_PROJECT_ID
gsutil cp gs://sureskills-ql/challenge-labs/ch01-startup-script/install-web.sh gs://$DEVSHELL_PROJECT_ID
# Task 2: Confirm that a compute instance has been created that has a remote startup script called install-web.sh configured
gcloud compute instances create example-instance --zone=us-central1-a --tags=http-server --metadata startup-script-url=gs://$DEVSHELL_PROJECT_ID/install-web.sh
#!/usr/bin/env bash
# a Day One CLI for macOS script generator for importing diary entries from Momento3 text exports
#
# Prerequisites:
#
# - install dayone2 CLI
# - brew install coreutils
#
#
# Usage: run the script inside a Momento Export (one text file per day format)
@rigwild
rigwild / README.md
Last active March 20, 2024 13:08
Red Hat free repositories

Red Hat free repositories

You need a subscription to access Red Hat sources servers.

Fortunately, you can access most of the packages freely with other sources.

Note: Edit scripts to match your RHEL version! You can view it with hostnamectl.

EPEL repository

EPEL is a repository targetted at Fedora users. It can be used with the following systems:

@nwesterhausen
nwesterhausen / node_exporter_setup.md
Last active June 28, 2024 06:01
node_exporter installation on ubuntu

Installing node_exporter

Steps to install node_exporter

  1. Add user for node_exporter

    sudo useradd --no-create-home --shell /bin/false node_exporter
@obeninteractive
obeninteractive / ubuntu-convert-mp4-to-mp3
Created August 19, 2019 13:43
Convert mp4 into mp3 using command line
ffmpeg -i file.mp4 -vn \
-acodec libmp3lame -ac 2 -ab 160k -ar 48000 \
file.mp3
KUMPULAN CODE TERMUX LENGKAP
| SPAM CHAT WHATSAPP || nggk usah nyepam gw -_* atau hp lu gw ledakin!!#@vms
$ pkg update && pkg upgrade
Setelah mengupdate dan mengupgrade termux ketikan perintah berikut :
$ pkg install python2 (y/n pilih y)
$ pkg install php (y/n pilih y)
$ pkg install git (y/n pilih y)
Setalah mengikuti perintah di atas waktu-nya kita clonning tool-nya :
$ git clone https://github.com/siputra12/prank.git
@asrivascrealytee
asrivascrealytee / grafana.nomad.hcl
Created March 11, 2019 16:17
Grafana+loki+promtail nomad example
job "grafana" {
datacenters = ["dc1"]
type = "service"
group "grafana" {
count = 1
restart {
attempts = 10
interval = "5m"
@fernandoaleman
fernandoaleman / install-rabbitmq-centos-7.md
Last active April 22, 2024 19:00
Install RabbitMQ on CentOS 7

Install RabbitMQ on CentOS 7

sudo yum -y install epel-release
sudo yum -y update

Install Erlang

Download repository

@h0bbel
h0bbel / sources.list
Last active June 29, 2024 11:13
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted