-
This is a numbered list.
-
I'm going to include a fenced code block as part of this bullet:
Code More Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Files | |
| data.location=/home/threebean/.task | |
| #include /home/threebean/.task/solarized-dark-256.theme | |
| _forcecolor=yes | |
| defaultwidth=160 | |
| include /usr/local/share/doc/task/rc/dark-violets-256.theme | |
| report.work_report.description=now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % FontAwesome (http://fortawesome.github.com/Font-Awesome/) bindings for (Xe)LaTeX | |
| % Author: Honza Ustohal <[email protected]> | |
| % | |
| % Translation of FontAwesome's private range characters into XeTeX symbols. All icons are camel-cased and prefixed with 'fa', i.e. what was .icon-align-center the CSS version of FontAwesome becomes \faAlignCenter | |
| % This might be reworked into a full blown package in the near future | |
| % | |
| % Prerequisite: | |
| % XeLaTeX, FontAwesome installed as a system font accessible by XeLaTeX | |
| % | |
| % Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "sort" | |
| ) | |
| // askForConfirmation uses Scanln to parse user input. A user must type in "yes" or "no" and | |
| // then press enter. It has fuzzy matching, so "y", "Y", "yes", "YES", and "Yes" all count as | |
| // confirmations. If the input is not recognized, it will ask again. The function does not return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| CONFIG_PATH=~/.config/Code | |
| for i in $CONFIG_PATH/User/workspaceStorage/*; do | |
| if [ -f $i/workspace.json ]; then | |
| folder="$(python3 -c "import sys, json; print(json.load(open(sys.argv[1], 'r'))['folder'])" $i/workspace.json 2>/dev/null | sed 's#^file://##;s/+/ /g;s/%\(..\)/\\x\1/g;')" | |
| if [ -n "$folder" ] && [ ! -d "$folder" ]; then | |
| echo "Removing workspace $(basename $i) for deleted folder $folder of size $(du -sh $i|cut -f1)" |
The following is a quick guide on how to manually download, extract and run Signal for Linux on a non-(deb)apt based distro (and includes a shell script that automates the entire process). This is for use when no suitable, native (re)package is available. It also includes some additional instructions on how to integrate with your desktop environment. Almost any recent distro (configured for desktop use) will likely have all the dependencies already installed—especially so if you already have any other Electron apps or a Chromium based browser installed, since they will require the same things.
[Note: Triple-click to easily select any of the lines below for copy and pasting into the terminal]
- Switch to a directory you think is suitable for housing Signal (for example
~/opt)
mkdir -p ~/opt && cd ~/opt