I hereby claim:
- I am rosuh on github.
- I am rosuh (https://keybase.io/rosuh) on keybase.
- I have a public key ASCdZSDVuBZw9BsDrM5AhkVsbvqasybrUqPKUFiGJGAElAo
To claim this, I am signing this object:
| #!/bin/bash | |
| cd "/usr/lib/jenkins/" | |
| sudo service jenkins stop | |
| sudo mv jenkins.war jenkins.war.old | |
| sudo wget https://updates.jenkins-ci.org/latest/jenkins.war | |
| sudo service jenkins start |
| adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204 | |
| adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204 |
I hereby claim:
To claim this, I am signing this object:
| # WSL2 | |
| export hostip=$(cat /etc/resolv.conf | grep nameserver | awk '{ print $2 }') | |
| alias www="https_proxy=\"http://${hostip}:8080\" http_proxy=\"http://${hostip}:8080\"" | |
| # or set it global | |
| export hostip=$(cat /etc/resolv.conf | grep nameserver | awk '{ print $2 }') | |
| export https_proxy="http://${hostip}:8080" | |
| export http_proxy="http://${hostip}:8080" |
| #!/bin/bash | |
| # ๅฏน่ทฏๅพไธๆๆๅฎ่ฃ ๅ ่ฟ่ก็ญพๅ | |
| # sign for all apk in specified path | |
| function echoHelp() { | |
| echo "Usage: $0 <unsignedFile PATH> <storeFile> <storePassword> <keyAlias> <keyPassword>" | |
| } | |
| if [[ ! -n $1 ]]; then | |
| echoHelp | |
| exit 0 |
| import java.util.TreeMap; | |
| public class Trie { | |
| private class Node { | |
| public boolean isWord; | |
| public TreeMap<Character, Node> next; | |
| public Node(boolean isWord) { | |
| this.isWord = isWord; | |
| next = new TreeMap<>(); |
| public interface Merger<E> { | |
| E merge(E a, E b); | |
| } |
| Kotlin 1 hr 2 mins โโโโโโโโโโโโโโโโโโโโโ 62.8% | |
| TypeScript 16 mins โโโโโโโโโโโโโโโโโโโโโ 16.4% | |
| Properties 10 mins โโโโโโโโโโโโโโโโโโโโโ 10.8% | |
| Markdown 6 mins โโโโโโโโโโโโโโโโโโโโโ 6.1% | |
| Other 1 min โโโโโโโโโโโโโโโโโโโโโ 1.8% |
| package cc.cubone.turbo.core.app; | |
| import android.os.Bundle; | |
| import android.support.v4.app.Fragment; | |
| import android.view.View; | |
| /** | |
| * Fragment for handling view after it has been created and visible to user for the first time. | |
| * | |
| * <p>Specially in {@link android.support.v4.view.ViewPager}, the page will be created beforehand |
| ___ADOBE CRASH FIX BY XLNC___ | |
| USAGE : Open terminal and run the below commands as required. | |
| NOTE: File path changes in each version release. So if the file is not found you can find the specified file manually and replace the path in the below commands. | |
| You can also use this command to find the location of a specific adobe file : | |
| eg:- if you want to search for MMXCore then run this command : | |
| find /Applications/Adobe* -type f -name "MMXCore" | sed 's/ /\\ /g' | |
| Photoshop crash fix :- |