Skip to content

Instantly share code, notes, and snippets.

View sub314xxl's full-sized avatar

Konstantin Mokhnatkin sub314xxl

  • Moscow, Russian Federation
View GitHub Profile
@sub314xxl
sub314xxl / jq-cheetsheet.md
Created November 30, 2021 19:42 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@sub314xxl
sub314xxl / .gitignore
Created November 7, 2021 22:13 — forked from jeosadn/.gitignore
Convert YouTube subscriptions exported via Google Takeout into OPML
*~
@sub314xxl
sub314xxl / awscli_v2_ubuntu.md
Created August 2, 2021 18:58 — forked from ruanbekker/awscli_v2_ubuntu.md
Install AWS CLI Version 2 on Ubuntu 20
$ apt update
$ apt search awscli
$ apt install curl wget unzip -y
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
$ unzip awscliv2.zip
$ ./aws/install
$ aws --version
aws-cli/2.1.28 Python/3.8.8 Linux/4.19.121-linuxkit exe/x86_64.ubuntu.20 prompt/off
@sub314xxl
sub314xxl / gitlab-timeline.html
Created February 24, 2021 21:45 — forked from alexkrauss/gitlab-timeline.html
Timeline charts for Gitlab build jobs
<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
// This is a quick hack to be able to see Gantt-like Timelines of gitlab build pipelines.
// It makes it easier to diagnose the running time of the pipelines and understand resource usage.
// Ideally, gitlab would directly provide such a view in its frontend.
google.charts.load('current', {'packages':['gantt']});
@sub314xxl
sub314xxl / gh100..200a.txt
Created December 21, 2020 23:44 — forked from jhejderup/gh100..200a.txt
uppdatera-repos
https://github.com/xuningjack/RequestPermission.git
https://github.com/msilb/coursera-cryptocurrency.git
https://github.com/qhm123/POI-Android.git
https://github.com/hexiangnan/sigir16-eals.git
https://github.com/EspoirX/NiceMusic.git
https://github.com/uestccokey/EZFilter.git
https://github.com/TechPrimers/jwt-security-example.git
https://github.com/chuanzh/emp.git
https://github.com/FabianTerhorst/ApiClient.git
https://github.com/googlesamples/android-DirectShare.git
@sub314xxl
sub314xxl / .gitlab-ci.yml
Created December 21, 2020 23:43 — forked from illuzor/.gitlab-ci.yml
Config for gitlab ci android with unit tests and instrumented tests
image: openjdk:8-jdk
variables:
ANDROID_COMPILE_SDK: "29"
ANDROID_BUILD_TOOLS: "29.0.3"
SDK_TOOLS: "6200805" # from https://developer.android.com/studio/#command-tools
EMULATOR_VERSION: "24"
before_script:
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-${SDK_TOOLS}_latest.zip