Skip to content

Instantly share code, notes, and snippets.

Avatar

Yakoot

  • Saint-Petersburg, Russia
View GitHub Profile
@Yakoot
Yakoot / check_mods.py
Last active Dec 15, 2017
Check factorio mods not ready to update
View check_mods.py
#!/usr/bin/python
import json
import time
import urllib
from urllib.request import urlopen
mods_list = json.load(open('mod-list.json'))['mods']
global total, ready, not_ready
total = 0
View gist:a49c7c887f966064b1d80e8f1dfa1d5c
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-8600 CPU @ 3.10GHz
CPU Family: 0x6
View circleimageview
package ru.skillbranch.devintensive.ui.custom
import android.content.Context
import android.content.res.Resources
import android.graphics.Color
import android.util.AttributeSet
import android.widget.ImageView
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import ru.skillbranch.devintensive.App
View ic_launcher_foreground.xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
You can’t perform that action at this time.