type -p curl >/dev/null || sudo apt install curl -y
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
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
#!/usr/bin/env bash | |
args=("$@") | |
if [ $# -eq 0 ]; then | |
echo "No arguments supplied, allgistclone.sh is a bash script to clone all available gists given github owner name" | |
echo "call wuth argument <ownername> or -h|--help option to show usage" | |
echo "comment to @tst32" | |
exit 0 | |
fi | |
repowner=${args[0]} | |
if [[ $repowner == *"--help"* || $repowner == *"-h"* ]]; then |
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
#!/usr/bin/env bash | |
args=("$@") | |
command -v gh >/dev/null 2>&1 || { echo >&2 "require gh (https://cli.github.com/) tool, but it's not installed. Aborting."; exit 1; } | |
set -e | |
if [ $# -eq 0 ]; then | |
echo "No arguments supplied, allreposclone.sh is a bash script to clone all repos given github owner name" | |
echo "call wuth argument <ownername> or -h|--help option to show usage" | |
echo "comment to @tst32" | |
exit 0 | |
fi |
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
#!/usr/bin/env bash | |
# get and export as variables distroname, codename, releasenum and arch all needed info for distro update repo string, call from .bashrc | |
export distro=`lsb_release -i 2>/dev/null|awk '{print $3}'` | |
export codename=`lsb_release -c 2>/dev/null|awk '{print $2}'` | |
export version=`lsb_release -r 2>/dev/null|awk '{print $2}'` | |
export arch=`dpkg --print-architecture` |
I hereby claim:
- I am tst32 on github.
- I am uyrij (https://keybase.io/uyrij) on keybase.
- I have a public key ASCqoHz_7CxYF_61em9VNdDxG9FhEVFNz6oKeecCyH02Jwo
To claim this, I am signing this object:
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 19 columns, instead of 6 in line 6.
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
name,type,name_with_type,federal_district,region_code,fias_id,okato,oktmo,tax_office,postal_code,iso_code,timezone,geoname_code,geoname_id,geoname_name,TimeShiftToMoscow,phone_codes,, | |
Адыгея,Респ,Респ Адыгея,Южный,1,d8327a56-80de-4df2-815c-4f6ab1224c50,79000000000,,100,385000,RU-AD,UTC+3,RU.01,584222,Adygeya Republic,0,877,, | |
Башкортостан,Респ,Респ Башкортостан,Приволжский,2,6f2cbfd8-692a-4ee4-9b16-067210bde3fc,80000000000,80000000,200,452000,RU-BA,UTC+5,RU.08,578853,Bashkortostan Republic,2,347,, | |
Бурятия,Респ,Респ Бурятия,Дальневосточный,3,a84ebed3-153d-4ba9-8532-8bdf879e1f5a,81000000000,81000000,300,671000,RU-BU,UTC+8,RU.11,2050915,Buryatiya Republic,5,301,, | |
Алтай,Респ,Респ Алтай,Сибирский,4,5c48611f-5de6-4771-9695-7e36a4e7529d,84000000000,84000000,400,649000,RU-AL,UTC+7,RU.03,1506272,Altai,4,388,, | |
Дагестан,Респ,Респ Дагестан,Северо-Кавказский,5,0bb7fa19-736d-49cf-ad0e-9774c4dae09b,82000000000,,500,368000,RU-DA,UTC+3,RU.17,567293,Dagestan,0,872,, | |
Ингушетия,Респ,Респ Ингушетия,Северо-Кавказский,6,b2d8cd20-cab |
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
/** | |
* Checkboxes toggle-2state | |
*/ | |
.checkbox-on-off input[type="checkbox"] { | |
position: relative; | |
opacity: 0; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* some star-rating css */ | |
body { | |
margin: 0; | |
padding: 25px; | |
font-family: sans-serif; | |
} | |
/* Rating */ | |
.rating { |
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
[ | |
{ | |
"id": "2gua.rainbow-brackets", | |
"name": "rainbow-brackets", | |
"publisher": "2gua", | |
"version": "0.0.6" | |
}, | |
{ | |
"id": "abusaidm.html-snippets", | |
"name": "html-snippets", |
NewerOlder