This file contains 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
$ dd if=wr1043nv1_en_3_13_13_up_boot\(130428\).bin of=wr1043nd_v1_correct.bin skip=257 bs=512 |
This file contains 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
########## Install NGINX ############## | |
# Install software-properties-common package to give us add-apt-repository package | |
sudo apt-get install -y software-properties-common | |
# Install latest nginx version from community maintained ppa | |
sudo add-apt-repository ppa:nginx/stable | |
# Update packages after adding ppa |
This file contains 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
Cara root Huawei HG680P | |
1. Masuk ke menu Settings –> Pengaturan tambahan. Cek apakah di bagian paling bawah ada menu Pengaturan Tambahan. Jika tidak ada, berarti Opsi Pengembang (Developer Mode) belum aktif, Aktifkan dengan cara: Klik Setting –> Informasi –> Informasi versi, tekan 5 kali hingga muncul tulisan “Developer mode enable“. | |
2. Kembali ke Pengaturan tambahan, di bagian paling bawah akan bertambah menu PENGATURAN TAMBAHAN. Klik meu tersebut — > More Settings –Opsi Pengembang — Aktifkan Debugging USB. | |
3. Download ADB versi ini. Ekstrak. | |
4. Download SuperSU.zip. Ekstrak lalu copy ke Flashdisk. Sebenarnya kita hanya butuh2 file, su (tanpa extensi) dan Superuser.apk. | |
5. Buka ADB pake command prompt, jalankan perintah: |
This file contains 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
Start server | |
$ sudo service mysql start | |
Go to sock folder | |
$ cd /var/run | |
Back up the sock | |
$ sudo cp -rp ./mysqld ./mysqld.bak | |
Stop server |
This file contains 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
# BEGIN SETUP | |
:local scheduleName "logMonitor" | |
:local emailAddress "youremail" | |
:local startBuf [:toarray [/log find message~"Error" || message~"lost IP address" || message~"link down" || message~"link up" || message~"proto TCP" || message~"DC:9F:DB:56:F2:E6"]] | |
:local removeThese {"telnet";"whatever string you want"} | |
# END SETUP | |
# warn if schedule does not exist | |
:if ([:len [/system scheduler find name="$scheduleName"]] = 0) do={ | |
/log warning "[LOGMON] ERROR: Schedule does not exist. Create schedule and edit script to match name" |
This file contains 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
# Mikrotik configuration backup scripts | |
# Author: Sindhu Kurnia | |
# https://gist.github.com/kurnias/5732c326396c976d192c19e0f8c4aafd | |
# | |
# Script configuration please adjust this! | |
:local scriptName "cfgBackup" | |
:local email "[email protected]" | |
# months array | |
:local months ("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"); |
This file contains 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
/ ip firewall filter | |
add chain=input protocol=tcp dst-port=0-1055 action=drop comment="GRC Shield Up" disabled=no | |
add chain=input protocol=icmp action=drop comment="no ping" disabled=no |
This file contains 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
@echo off | |
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
This file contains 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
<6>[ 1.167695] C0 [ swapper/0, 1] imx214_init_module:327 | |
<6>[ 1.220376] C0 [ swapper/0, 1] imx214_match_id: read id: 214 expected id: 214 | |
<6>[ 1.224453] C0 [ swapper/0, 1] imx214 0d03 14.12.14 09:26:11, sn:46 60 21 4d [118,370] | |
<6>[ 1.224459] C0 [ swapper/0, 1] imx214_match_id inf:103 mac:423 i:0 | |
<6>[ 1.267818] C0 [ swapper/0, 1] s5k3m2_init_module:232 | |
<3>[ 1.293257] C0 [ swapper/0, 0] msm_cci_irq:853 MASTER_0 error 10000000 | |
<3>[ 1.293285] C0 [ swapper/0, 1] msm_cci_i2c_read:427 read_words = 0, exp words = 1 | |
<3>[ 1.293291] C0 [ swapper/0, 1] msm_cci_i2c_read_bytes:505 failed rc -22 | |
<3>[ 1.293296] C0 [ swapper/0, 1] msm_camera_cci_i2c_read: line 53 rc = -22 | |
<3>[ 1.293302] C0 [ swapper/0, 1] s5k3m2_match_id: s5k3m2: read id failed |
This file contains 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
======================================================== | |
== dumpstate: 2016-09-01 06:47:55 | |
======================================================== | |
Build: KTU84P | |
Build version: V7.1.2.0.KXDMICK | |
Build fingerprint: 'Xiaomi/cancro/cancro:4.4.4/KTU84P/V7.1.2.0.KXDMICK:user/release-keys' | |
Bootloader: unknown | |
Radio: msm | |
Network: TELKOMSEL |
NewerOlder