adb shell ifconfig wlan0
adb tcpip 5556
public class SuggestComboBox : ComboBox | |
{ | |
#region fields and properties | |
private readonly ListBox suggestionListBox = new ListBox { Visible = false, TabStop = false }; | |
private readonly BindingList<string> suggBindingList = new BindingList<string>(); | |
private Expression<Func<ObjectCollection, IEnumerable<string>>> propertySelector; | |
private Func<ObjectCollection, IEnumerable<string>> propertySelectorCompiled; | |
private Expression<Func<string, string, bool>> filterRule; |
module.exports = { | |
publicPath: "/", | |
devServer: { | |
proxy: { | |
"^/api": { | |
target: "https://localhost:5001/", | |
ws: true, | |
changeOrigin: true, | |
}, | |
}, |
git checkout <branch>
git reset $(git merge-base develop $(git branch --show-current))
git add *
git commit -m "Comments ..."
git push --force
openssl pkcs12 -export -in certificate.crt -inkey private.key -out output.pfx
fun combinationSum(candidates: IntArray, target: Int): List<List<Int>> { | |
val counts = IntArray(candidates.size){0} | |
val result = mutableListOf<List<Int>>() | |
fun gen(i: Int, newTarget: Int){ | |
if(newTarget < 0){ | |
return | |
} | |
if(newTarget == 0){ | |
result.add((0 until i).flatMap {x -> (0 until counts[x]).map { candidates[x] } }) |
int sequenceElement(int[] a, int n) | |
{ | |
int number = a[0] * 10000 + a[1] * 1000 + a[2] * 100 + a[3] * 10 + a[4]; | |
int beginer = number; | |
if (n < 5) | |
{ | |
return a[n]; | |
} | |
var list = new List<int>(); |
import android.content.Context | |
import com.google.gson.Gson | |
import com.google.gson.reflect.TypeToken | |
/** | |
* Created by Hoa Vo on 1/18/19. | |
*/ | |
fun Context.readAssetAsString(fileName: String): String = this.assets.open(fileName).use { | |
String(it.readBytes()) | |
} |