Skip to content

Instantly share code, notes, and snippets.

View yugaego's full-sized avatar
🌻
Let the flowers grow.

YE yugaego

🌻
Let the flowers grow.
View GitHub Profile
1. Download latest apktool version.
2. Download the batch file and aapt.exe.
3. Create a folder anywhere in the PC and put all the apktool.jar, aapt.exe and the batch script in that folder.
4. Open command prompt.
5. Navigate to the folder where you placed apktool.jar, batch script and the aapt.exe.
6. Now, you need to install the file using the " IF " command.
7. Type the following command.
apktool if name-of-the-app.apk
@yugaego
yugaego / test.asciidoc
Last active November 22, 2020 00:06
Asciidoctor possessive monospaced phrase render

The class’ static methods make it easy to operate on files and directories.

===

The class' static methods make it easy to operate on files and directories. Then `monospaced follows.

===

@yugaego
yugaego / basics.md
Last active November 4, 2020 09:05
Markdown vs Org Mode Cheat Sheet

Markdown

Headings

Top Level Header

Second Level Header

Third Level Header

@yugaego
yugaego / init-dictionary.el
Created April 30, 2020 16:25 — forked from Superbil/init-dictionary.el
lookup dictionary in emacs on mac
;; from http://larkery.tumblr.com/post/465585528/emacs-dictionary-app
(defun mac-open-dictionary (the-word)
"Open Dictionary.app for the-word"
(interactive "Dictionary Lookup: ")
(shell-command
(concat "open \"dict:///" (replace-regexp-in-string "\"" "\\\\\"" the-word) "\"")))
;; see https://gist.github.com/1228110
;; dict.py is from http://sakito.jp/mac/dictionary.html
(defun dictionary ()
@yugaego
yugaego / setup.md
Last active August 14, 2018 12:01
Xcode Line Actions Custom Shortcuts

Setup

Based on [Stackoverflow solution][0]

Environment

  • Xcode 9.4.1
  • MacOS 10.13.6 High Sierra
@yugaego
yugaego / cert-install.bash
Last active December 28, 2021 16:50
Manage Let's Encrypt Certificate using Certbot with SSL Virtual Hosts
#!/usr/bin/env bash
# Setup custom SSL virtual host with Lets Encrypt certificate
# In /etc/httpd/conf.d/ssl.conf add line 'IncludeOptional conf.d/ssl/*.host'
searchDir=../path/to/dir/with/domain/names/to/setup
hostsDir=/etc/httpd/conf.d/ssl
documentRoot=../path/to/www/dir
certNotificationsEmail=some@email.dev
dbConfig=../path/to/db/config.file
@yugaego
yugaego / console-command.js
Created May 5, 2018 12:20
Output Infusionsoft Merchants Accounts ID using JavaScript
var merchants = 'Merchant Accounts:\n';
jQuery('#defaultMerchantAccount option').each(function(i, elem){
if (elem.value) {
merchants += '\t• ID ' + elem.value.split('|')[0] + '\t' + elem.text + '\n';
}
});
alert(merchants);
@yugaego
yugaego / composer.php
Created November 9, 2017 13:09
Running composer from a browser
<?php
header("Content-type: text/html");
//
// Run composer with a PHP script in browser
//
// http://stackoverflow.com/questions/17219436/run-composer-with-a-php-script-in-browser
error_reporting(E_ALL);
ini_set('display_errors', 1);
@yugaego
yugaego / install.md
Last active June 13, 2019 18:34
Mac OS 10.13 High Sierra Install PHP 7.0 Apache MariaDB With Homebrew
@yugaego
yugaego / readme.md
Last active September 13, 2017 14:23
Install and Enable Supervisor on Centos 7

Install

sudo yum install supervisor
sudo systemctl enable supervisord
sudo systemctl start supervisord
sudo systemctl status supervisord

Example program

/etc/supervisord.conf