Skip to content

Instantly share code, notes, and snippets.

View navoytak's full-sized avatar

YovanTak navoytak

View GitHub Profile
@tjumyk
tjumyk / Ubuntu_24.04_Install_Sogou_Pinyin.md
Last active April 20, 2025 15:44
Ubuntu 24.04 Install Sogou Pinyin
  • Remove ibus
sudo apt purge ibus
sudo apt autoremove
  • Install Sogou Pinyin and dependencies
# Download deb installer from https://shurufa.sogou.com/linux
sudo dpkg -i <sogou_xxx.deb>
sudo apt install -f
@Neo23x0
Neo23x0 / audit.rules
Last active March 11, 2025 10:24
Linux Auditd Best Practice Configuration
# IMPORTANT!
# This gist has been transformed into a github repo
# You can find the most recent version there:
# https://github.com/Neo23x0/auditd
# ___ ___ __ __
# / | __ ______/ (_) /_____/ /
# / /| |/ / / / __ / / __/ __ /
# / ___ / /_/ / /_/ / / /_/ /_/ /
# /_/ |_\__,_/\__,_/_/\__/\__,_/
@Logic-gate
Logic-gate / megaSync_Installation.txt
Last active August 28, 2022 04:54
MegaSync Client Installation | Solus
https://dev.solus-project.com/T163
Clone it -- https://github.com/meganz/MEGAsync
> git clone https://github.com/meganz/MEGAsync.git
> cd MEGAsync
> git submodule update --init --recursive
Get crypto++ | I think it's already in the repo (cryptopp-devel) if not:
> wget https://www.cryptopp.com/cryptopp563.zip #Tested on version 5.6.3
> mkdir ~/crypto && cd ~/crypto && unzip ~/Downloads/cryptopp563.zip
@nezorflame
nezorflame / install.txt
Last active November 21, 2018 03:13
MEGAsync for Solus
Taken from here: https://dev.solus-project.com/T163
Source: https://ma.tc/ehuboqatec.md courtesy of @Logic-gate
Clone it -- https://github.com/meganz/MEGAsync
> git clone https://github.com/meganz/MEGAsync.git
> cd MEGAsync
> git submodule update --init --recursive
Get crypto++
> wget https://www.cryptopp.com/cryptopp565.zip #Tested on version 5.6.5
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 19, 2025 17:17 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@Phalacrocorax
Phalacrocorax / library.md
Last active August 10, 2020 06:17
[Library] js / css / ui / picture

____awesome-for-beginners awesome-for-beginners @ github

awesomes.cn

由全国的开发者共同维护,打造开放自由免费的高质量前端资源库

SASS

  • milligram // 9kb 感谢milligram,让我学会了SASS
  • iotaCSS // SASS based, follows the BEM Methodology and is inspired by OOCSS
@j-jith
j-jith / miui-fastboot-howto.rst
Last active April 9, 2025 00:21
How to flash MIUI Fastboot ROM from Linux

How to flash MIUI Fastboot ROM from Linux

@mdevan
mdevan / update-alternatives
Last active July 31, 2018 13:28
update-alternatives commands for Oracle JDK 8u102
sudo update-alternatives --install /usr/bin/appletviewer appletviewer /usr/lib/jvm/jdk1.8.0_102/bin/appletviewer 180
sudo update-alternatives --install /usr/bin/extcheck extcheck /usr/lib/jvm/jdk1.8.0_102/bin/extcheck 180
sudo update-alternatives --install /usr/bin/idlj idlj /usr/lib/jvm/jdk1.8.0_102/bin/idlj 180
sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.8.0_102/bin/jar 180
sudo update-alternatives --install /usr/bin/jarsigner jarsigner /usr/lib/jvm/jdk1.8.0_102/bin/jarsigner 180
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_102/jre/bin/java 180
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_102/bin/javac 180
sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk1.8.0_102/bin/javadoc 180
sudo update-alternatives --install /usr/bin/javafxpackager javafxpackager /usr/lib/jvm/jdk1.8.0_102/bin/javafxpackager 180
sudo update-alternatives --install /usr/bin/javah javah /usr/lib/jvm/jdk1.8.0_102/bin/javah 1
@p3t3r67x0
p3t3r67x0 / openssl_commands.md
Last active March 18, 2025 15:34
Some list of openssl commands for check and verify your keys

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@kburdett
kburdett / rpi_unifi.md
Last active March 24, 2022 19:51
Install Ubiquiti's UniFi Controller on a Raspberry Pi

Compatibility

I currently run Ubiquiti's UniFi Controller on a Raspberry Pi 3B without issue. I have tried with a Raspberry Pi 1B, but the application crashes on startup. I assume it is due to a lack of RAM. Presumably, it would run on a Raspberry Pi 2B as well (same amount of RAM), but I have not tested it on this model. YMMV.

Instructions

  1. Install Raspbian on a SD card. I tested this with Jessie Lite (headless)

  2. Use raspi-config to expand the filesystem, rename your PI, etc