| ❗ IMPORTANT: This gist is not actively maintained anymore. See https://github.com/cednore/ubuntu |
|---|
My personal environment setup guide on Ubuntu
| <div | |
| x-data="{ | |
| query: '', | |
| showDropdown: false, | |
| currentHighlightedKey: Infinity, | |
| options: {}, | |
| wireProp: @entangle($name).defer, | |
| flags: {}, | |
| initFlags() { | |
| for (const key of Object.keys(this.options)) { |
| ❗ IMPORTANT: This gist is not actively maintained anymore. See https://github.com/cednore/ubuntu |
|---|
My personal environment setup guide on Ubuntu
# Go inside personal workspace folder
mkdir -p ~/workspace/cednore && cd ~/workspace/cednore
# Clone this gist
git clone [email protected]:a698954555ed680717b6a0832283bfdf.git useful-shell-snippets
# Clear recent files list on nautilusMy personal environment setup guide on Amazon Linux 2
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| .printable-letter.printable-portrait { | |
| page: letter-portrait; | |
| } | |
| .printable-letter.printable-landscape { | |
| page: letter-landscape; |
| <?php | |
| namespace Cednore\Cedi\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\File; | |
| use Illuminate\Support\Str; | |
| class PatchOrchidPlatform extends Command | |
| { |
Creating a blackhole in Ubuntu 20.04
| YQgTvEMtSIUcMnjeGhEpJE1dQngj6TpWIsNbzNVjmIdBs1uvfNfdTTTyy4F9Rkylj1X4Kg. |
| #!/usr/bin/env zx | |
| const tz = new Date().toLocaleString("en", { timeZoneName: "short" }).split(" ").pop(); | |
| const listOfMp3Files = (await $`ls *.mp3`).stdout.split("\n").filter(Boolean); | |
| for (const filename of listOfMp3Files) { | |
| let year = filename.slice(0, 4); | |
| let month = filename.slice(4, 6); | |
| let day = filename.slice(6, 8); |
| { | |
| "name": "abc" | |
| } |