Skip to content

Instantly share code, notes, and snippets.

View 0x1881's full-sized avatar
🎯
Focusing

Mehmet Can 0x1881

🎯
Focusing
View GitHub Profile
@0x1881
0x1881 / tat_nhan_khau_hoc.js
Created September 28, 2023 12:53 — forked from quangquy87/tat_nhan_khau_hoc.js
TẮT GIỚI TÍNH & ĐỘ TUỔI
/****************************
* Loại bỏ giới tính + độ tuổi có hiệu suất kém ra khỏi nhóm quảng cáo
* Version 1.0 (21/07/2022)
*
* Created By: Quý Ngô
****************************/
var CONFIG = {
LAST_N_DAYS: 7, // thời gian quét từ ngày quét trở về trước đó
MAX_COST: 170000, // chi tiêu từ số này trở lên mới bắt đầu tính theo điều kiện dưới là CPA
@0x1881
0x1881 / remoteDebugging.md
Created April 30, 2024 07:20 — forked from royshouvik/remoteDebugging.md
Describes how to setup remote debugging on an Android device using Chrome

Remote Debugging on Android with Chrome

The way your web content behaves on mobile can be dramatically different from the desktop experience. Remote debugging with Chrome DevTools lets you debug live content on your Android device from your development machine.

Debugging Chrome for Android using the Chrome Developer Tools

Remote debugging on Android supports:

  • Debugging websites in browser tabs.
  • Debugging WebViews in native Android apps.
@0x1881
0x1881 / avd-prepare-first-time.sh
Created May 8, 2024 12:30 — forked from sleekweasel/avd-prepare-first-time.sh
Bash/adb automation for setting up avds
#!/bin/bash
uidump=/tmp/${0##*/}.$$
unsyncd_uidump_matching_lines() {
adb shell 'rm -f /sdcard/dump.* && uiautomator dump /sdcard/dump.xml 2>/sdcard/dump.err && cat /sdcard/dump.xml' |
tr '<' "\n" |
tee $uidump.full |
grep -Ei "$1" |
xargs -rn1 |
<?php
class CaseBuilder {
private $conditions = [];
public function plain($plain)
{
if(is_string($plain)) $this->conditions[] = $plain;
if(is_array($plain)) $this->conditions = array_merge($this->conditions, $plain);
return $this;
@0x1881
0x1881 / changer.sh
Last active June 13, 2024 13:39
changer file and string
#!/bin/bash
echo "Hangi işlemi yapmak istiyorsunuz?"
echo "1 - Dosya içinde isim değişikliği."
echo "2 - Dosya ve dizin isim değişikliği."
echo "3 - Dosya indirme ve değiştirme."
read -p "Seçiminiz: " choice
if [ $choice -eq 1 ]; then
echo "Bu komut ile belirttiğiniz dizin altındaki bütün dosyalarda metinler X değerinden Y değerine değiştirilecektir."