A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| var delay = 250; | |
| var until = 'faux123'; | |
| var a = new Array(); | |
| $('button[class*=follow-btn]').each(function() { | |
| var attr = $(this).parent().attr('data-screen-name'); | |
| if (attr != undefined) { | |
| if (attr == until) { | |
| return false; | |
| } |
Press minus + shift + s and return to chop/fold long lines!
| #!/bin/bash | |
| # Author: Tobias Preuss | |
| # Version: 2018-01-05 | |
| echo "Creating symbolic links in Android SDK folder" | |
| echo "=============================================" | |
| echo | |
| if [ -z "$ANDROID_HOME" ] ; then |
| import java.util.Arrays; | |
| import java.util.LinkedList; | |
| import java.util.List; | |
| import android.database.Cursor; | |
| import android.database.SQLException; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.text.TextUtils; | |
| /** |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| // Setup admin password | |
| sudo passwd | |
| // INSTALL NVIDIA DRIVERS | |
| sudo apt-add-repository ppa:ubuntu-x-swat/x-updates | |
| sudo apt-get update | |
| sudo apt-get install nvidia-current |
| ## Acer | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0600", OWNER="<username>" | |
| ## ASUS | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0600", OWNER="<username>" | |
| ## Dell | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0600", OWNER="<username>" | |
| ## Foxconn |
| pkg=$(adb shell pm path com.koushikdutta.backup) | |
| # apparently pm path appends a carriage return which screws | |
| # up the class name in dalvikvm invocation | |
| pkg=$(echo $pkg | cut -d : -f 2 | sed s/\\r//g) | |
| echo $pkg | |
| adb shell << EOF | |
| CLASSPATH=$pkg app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 $@ & | |
| exit | |
| EOF |
| ## Acer | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0600", OWNER="<username>" | |
| ## ASUS | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0600", OWNER="<username>" | |
| ## Dell | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0600", OWNER="<username>" | |
| ## Foxconn |