Skip to content

Instantly share code, notes, and snippets.

View sjqlwy's full-sized avatar

Code_PhantomPain sjqlwy

View GitHub Profile
@sjqlwy
sjqlwy / 250.csv
Created October 31, 2022 02:43 — forked from jinjier/javdb-top250.md
JavDB Top 250 movies code list. [Updated at 2022/09]
1 LAFBD-41
2 SSNI-497
3 IPX-177
4 ABP-984
5 SSIS-465
6 IPX-580
7 IPX-811
8 SMBD-115
9 IPX-534
10 IPX-726
@sjqlwy
sjqlwy / README.md
Created May 4, 2022 04:20 — forked from CODeRUS/README.md
Klipper + moonraker + KlipperScreen linuxdeploy android install

README

sudo apt install curl -y

curl -sL https://gist.github.com/CODeRUS/a5ec4a456f5b58186cbebb66a8542a2e/raw/klipper-install-debian.sh | bash -

@sjqlwy
sjqlwy / yunfile_downloader
Created March 5, 2018 00:16
A python script
#!/usr/bin/env python
# encoding: utf-8
"""
@version: 0.3
@author: endoffiht
@file: yunfile_downloader.py
@time: 15/6/29 18:06
"""
@sjqlwy
sjqlwy / connmanctl.md
Created September 15, 2016 09:43 — forked from kylemanna/connmanctl.md
Connmanctl Cheat Sheet
@sjqlwy
sjqlwy / hostloc.py
Created September 1, 2016 12:24 — forked from challengeYY/hostloc.py
hostloc论坛每日翻牌
#encoding=utf-8
import requests
from bs4 import BeautifulSoup
import re
import sys
uid="11111" #用户名
pwd="11111" #密码
@sjqlwy
sjqlwy / movingfiles.md
Created August 23, 2016 17:26 — forked from arkival/movingfiles.md
Getting your code onto the Intel Edison

Getting your code onto the Intel Edison

All of the integrated environments of the Intel Edison will copy your executable from your development PC to the Intel Edison. If you want to develop outside of these environments, however, you will have to copy the code over yourself. Here are several solutions that don't involve creating a custom flash image.

This gist assumes that you are able to, at minimum, access the Edison console through USB. Some methods require additional connectivity. There are two basic approaches. Network methods are for when you have access to Edison over wifi, and the sneaker net methods are for when you don't.

Network Methods

If you have wifi configured, there are other ways of getting your files onto the Edison. None of these methods require the installation of any other software onto the Edison. If you can SSH into the Edison over wifi, then these methods will work.

@sjqlwy
sjqlwy / rpi-qt5-cc.md
Created July 12, 2016 15:14 — forked from uranusjr/rpi-qt5-cc.md
在 Ubuntu 16.04 為 Raspbian Jessie 交叉編譯 Qt 5.6 桌面版

在 Ubuntu 16.04 為 Raspbian Jessie 交叉編譯 Qt 5.6 桌面版

筆記

Qt 在 Raspberry Pi 上可以跑兩種版本:

  • 桌面版。你平常在 Linux 發行版裡看到的會是這個,包含 Raspbian 在內。通常基於 X11,就是個普通的 GUI 框架。
  • 嵌入版。這個版本不需要鐘面系統,通常是直接走 framebuffer 直接把東西畫到螢幕上,適合一些嵌入式設備的應用。

這個教學會編譯桌面版,因為我對這個版本比較熟。我上次試的時候 OpenGL 在 embedded 版還有些問題,不過 Qt 在那之後有很多更新,狀況應該會好很多。Qt 官方 wiki 也有個相關的教學: