Project

[RPi] 树莓派添加samba文件共享服务

1. 安装Samba sudo apt-get install samba samba-common-bin 2. 为samba添加用户,可以使用现有账户,也可以创建专属账户 添加专属账户(如果你只想要添加已存在的账户,可以跳过这一步) # 添加账户,username即你想要添加的账户名 sudo useradd username # 建立共享文件夹即修改用户组 sudo mkdir -p /home/username sudo chown -R username:username /home/username/ 为samba添加账户 # 添加账户,username是你想要添加到samba的账户,该步骤会要求设置密码,需要注意的是如果你samba下的用户名的密码区别于树莓派系统下的用户名的密码 sudo smbpasswd -a username 3. 修改配置文件 Read more…

By xswxm, ago
Project

[12864/SSD1306] Play Snake on Raspberry Pi

System Monitor for Raspberry Pi with 12864/SSD1306, and you can download all the files from GitHub. Demo Setting Up Configure your 128464 by following this tutorial: https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/usage?view=all # Ports used for the Display. You may Read more…

By xswxm, ago
Project

[12864/SSD1306] System Monitor for Raspberry Pi

System Monitor for Raspberry Pi with 12864/SSD1306, and you can download all the files from GitHub. Demo Modules Adafruit_GPIO.SPI Adafruit_SSD1306 psutil Setting Up Configure your 128464 by following this tutorial: https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/usage?view=all sudo apt-get install python-pip Read more…

By xswxm, ago
Android

[Toturial] Enable ‘None’ option in screen lock for xperia devices running MM

This toturial is tested on Xperia Z2 running MM(291). 1. Decompile Settings.apk 2. Open ‘Settings\smali\com\android\settings\ChooseLockGeneric$ChooseLockGenericFragment.smali’ 3. search key words ‘Lcom/android/settings/ChooseLockGeneric$ChooseLockGenericFragment;->disableUnusablePreferences(IZ)V’ to navigate an delete the following lines: .line 289 invoke-virtual {p0, v3, v0}, Lcom/android/settings/ChooseLockGeneric$ChooseLockGenericFragment;->disableUnusablePreferences(IZ)V

By xswxm, ago