Skip to content

Instantly share code, notes, and snippets.

View ijash's full-sized avatar
🍔
Royale with Cheese

Jastria Rahmat ijash

🍔
Royale with Cheese
View GitHub Profile
@isc30
isc30 / install.bash
Last active January 27, 2021 10:38
Raspberry Pi Install PHP7 + Nginx + MySQL + PhpMyAdmin (last versions)
#!/bin/bash
# Thanks to https://gist.github.com/Lewiscowles1986/ce14296e3f5222082dbaa088ca1954f7
if [ "$(whoami)" != "root" ]; then
echo "Run script as ROOT please. (sudo !!)"
exit
fi
echo "deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi" > /etc/apt/sources.list.d/stretch.list
echo "APT::Default-Release \"jessie\";" > /etc/apt/apt.conf.d/99-default-release
@bueckl
bueckl / wget
Last active October 11, 2023 08:05
Wget examples
#Spider Websites with Wget – 20 Practical Examples
Wget is extremely powerful, but like with most other command line programs, the plethora of options it supports can be intimidating to new users. Thus what we have here are a collection of wget commands that you can use to accomplish common tasks from downloading single files to mirroring entire websites. It will help if you can read through the wget manual but for the busy souls, these commands are ready to execute.
1. Download a single file from the Internet
wget http://example.com/file.iso
2. Download a file but save it locally under a different name
wget ‐‐output-document=filename.html example.com
@roman-yagodin
roman-yagodin / vscode-current-folder.nemo_action
Last active July 30, 2021 10:38
Nemo action to open folder in VSCode (somewhat obsolete)
[Nemo Action]
# https://wiki.archlinux.org/index.php/Nemo
# https://github.com/linuxmint/nemo/blob/master/files/usr/share/nemo/actions/sample.nemo_action
Name=Open in VS Code
Name[ru]=Открыть в VS Code
Comment=Open current folder in Visual Studio Code
Comment[ru]=Открыть текущую папку в Visual Studio Code
Icon-Name=com.visualstudio.code