Skip to content

Instantly share code, notes, and snippets.

View jcchikikomori's full-sized avatar
💭
I may be slow to respond.

John Cyrill Corsanes jcchikikomori

💭
I may be slow to respond.
View GitHub Profile
@jcchikikomori
jcchikikomori / 000_REQUIREMENTS.MD
Last active April 23, 2020 06:07
Download any web videos thru the knowledge of Web & Cloud development
@jcchikikomori
jcchikikomori / PicassoImageGetter.java
Created April 8, 2020 04:56 — forked from rajeefmk/PicassoImageGetter.java
ImageGetter used for loading remote urls from <img> tag when loaded inside textview.
public class PicassoImageGetter implements Html.ImageGetter {
private AppTextView textView = null;
public PicassoImageGetter() {
}
public PicassoImageGetter(AppTextView target) {
textView = target;
package com.blogspot.ksoichiro.linktest;
import android.text.Layout;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.text.style.URLSpan;
@jcchikikomori
jcchikikomori / cmder.md
Created March 24, 2020 06:10 — forked from nickautomatic/cmder.md
Setting up Cmder to use bash by default

Set up cmder to use msysgit / bash by default

  • Install cmder_mini (msysgit is already installed, so no need for full version)
  • In Cmder, open settings: Win + Alt + P
  • Under Startup > Tasks, add a task called {bash} with the following settings:
    • Task parameters (set icon):
      • For Cmder icon: /icon "%CMDER_ROOT%\cmder.exe"
      • For Git icon: /icon "C:\Program Files (x86)\Git\etc\git.ico"
    • Commands (open Git's bash shell):
  • "C:\Program Files (x86)\Git\bin\sh.exe" -l -new_console:d:%USERPROFILE%
@jcchikikomori
jcchikikomori / media-query.css
Created March 17, 2020 05:33 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@jcchikikomori
jcchikikomori / enable-trim.txt
Last active February 3, 2020 08:05 — forked from h4n2k/gist:a627e16243dfd91ea9c45451dd5680ff
antergos - arch linux enable ssd trim (fstrim)
sudo systemctl enable fstrim.timer
sudo systemctl start fstrim.timer
sudo systemctl status fstrim.timer
@jcchikikomori
jcchikikomori / multiple_ssh_setting.md
Created February 3, 2020 04:42 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@jcchikikomori
jcchikikomori / .gitconfig
Created January 3, 2020 11:33 — forked from maxfunke/.gitconfig
.gitconfig aliases (adog, log, status)
[alias]
adog = log --all --decorate --oneline --graph
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
st = status --short
b = branch -vv
[core]
editor = code --wait
autocrlf = input
@jcchikikomori
jcchikikomori / android.md
Last active December 27, 2019 05:05
My Android Learning Curve (2019)

My Android Learning Curve

Basics

  1. Android SDK
  2. Android NDK
  3. Set ENV vars for Unix & MacOS
  4. Virtual Machine (Android Emulator)
  5. Setup Android Studio

Sunshine App Development

@jcchikikomori
jcchikikomori / android_instructions.md
Created December 17, 2019 05:50 — forked from patrickhammond/android_instructions.md
Easily setup an Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"