api update && apt install \
git tig screen curl wget zsh fail2ban \
nginx mysql-server \
php-fpm php-cli \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
sudo apt install -y zsh screen git tig | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
sed -i 's/git/git zsh-autosuggestions/g' ~/.zshrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* reference: https://httptoolkit.tech/blog/frida-certificate-pinning/ | |
* This script combines, fixes & extends a long list of other scripts, most notably including: | |
* | |
* - https://codeshare.frida.re/@akabe1/frida-multiple-unpinning/ | |
* - https://codeshare.frida.re/@avltree9798/universal-android-ssl-pinning-bypass/ | |
* - https://pastebin.com/TVJD63uM | |
*/ | |
setTimeout(function () { | |
Java.perform(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Matrix; | |
import android.graphics.Paint; | |
import android.graphics.RectF; | |
import android.graphics.Typeface; | |
import android.graphics.drawable.BitmapDrawable; | |
import android.graphics.drawable.Drawable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tw.com.feebee.staging; | |
import com.google.api.services.bigquery.model.TableRow; | |
import com.google.gson.Gson; | |
import com.google.gson.JsonArray; | |
import com.google.gson.JsonObject; | |
import com.google.gson.JsonParser; | |
import org.apache.beam.runners.direct.DirectOptions; | |
import org.apache.beam.sdk.Pipeline; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
tap "mdogan/zulu" | |
brew "webp" | |
brew "[email protected]" | |
brew "pcre" | |
brew "pkg-config" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function mergeSort(array &$array, int $front, int $end) { | |
if ($front < $end) { | |
$mid = (int) (($front + $end) / 2); | |
mergeSort($array, $front, $mid); | |
mergeSort($array, $mid + 1, $end); | |
merge($array, $front, $mid, $end); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
abstract class BaseEnum | |
{ | |
public static function toArray() | |
{ | |
$reflection = new \ReflectionClass(static::class); | |
$constant = $reflection->getConstants(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Validating Server-Side Verification (SSV) Callbacks | |
* https://developers.google.com/admob/android/rewarded-video-ssv | |
* | |
* @author showsky <[email protected]> | |
*/ | |
function fetch_verifier_keys() { |
NewerOlder