Skip to content

Instantly share code, notes, and snippets.

View 1271's full-sized avatar
💓
I want uppy!

Sergei Zharkov 1271

💓
I want uppy!
View GitHub Profile
@1271
1271 / gunter.sh
Last active December 4, 2019 14:37
#!/bin/bash
if [ $# -gt 0 ]
then
max=$1
max=$(( $max + 1 ))
else
max=200
fi
http://shields.io/
@1271
1271 / gist:56e030604544e881ca1caf513c8561b7
Created January 20, 2017 13:33 — forked from AliMD/gist:3344523
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | 😄 | 😆 | 😊 | 😃 | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | 😆 | 😁 | 😉 | :wink2: | 👅 | 😒 | 😅 | 😓

😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷

😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨

@1271
1271 / Image.cpp
Created August 27, 2017 21:50 — forked from roxlu/Image.cpp
stbi image loading, super clean png/jpg/psd/hdr loading.
#include <roxlu/experimental/Image.h>
namespace roxlu {
Image::Image()
:width(0)
,height(0)
,pixels(NULL)
{
}
@1271
1271 / gist:7ee295d97071ea046077b0faf8391524
Created September 26, 2017 19:14 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
<script>
function downloadPack() {
fetch("https://api.github.com/repos/yuru-yuri/Manga-Downloader/releases/latest")
.then(response => response.json())
.then((out) => {
// Initiate the download.
document.querySelector("#without-html5-").innerHTML="<a href='"+out.zipball_url+"'>Click here if the download didn't start automatically.</a>";
window.location.assign(out.zipball_url);
});
@1271
1271 / conda.md
Created November 20, 2017 10:38
Conda py3.5 qt4
https://www.anaconda.com/download/
conda create -n oldpyqt pyqt=4
conda install -c acellera -n oldpyqt pyinstaller
@1271
1271 / ipk.py
Created December 28, 2017 21:23
ipk openwrt downloader
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from requests import get
from lxml.html import document_fromstring
from os import path, makedirs
try:
import progressbar # pip install progressbar2
bar = progressbar.ProgressBar()
_bar = None
@1271
1271 / kernel.sh
Last active August 1, 2019 07:51
ubuntu linux kernel autoupdater
#!/usr/bin/env bash
if [[ $# -eq 0 ]]; then
echo "Version not recieve" 2>&1
echo "Example: $0 v3.11.2 l" 2>&1
echo "Example: $0 v3.11.2" 2>&1
exit 1
fi
if [[ $EUID -ne 0 ]]; then
@1271
1271 / PCdisplay_v_1.3_1602_nano_168.ino
Last active January 23, 2018 12:32
PCdisplay_v_1.3_1602
#define DRIVER_VERSION 1 // 0 - маркировка драйвера кончается на 4АТ, 1 - на 4Т
// ------------------------ НАСТРОЙКИ ----------------------------
// ----------------------- ПИНЫ ---------------------------
#define BTN1 A3 // первая кнопка
#define BTN2 A2 // вторая кнопка
// ----------------------- ПИНЫ ---------------------------
// -------------------- БИБЛИОТЕКИ ---------------------
#include <OneWire.h> // библиотека протокола датчиков