Skip to content

Instantly share code, notes, and snippets.

View seyyah's full-sized avatar

seyyah seyyah

View GitHub Profile
@seyyah
seyyah / i18n.md
Created November 22, 2018 10:05
LittlevGL i18n Suggesstion
@seyyah
seyyah / lvgl.html
Created November 21, 2018 18:04
LVGL Doc via gwtc
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Documentation </title>
<style>/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
@seyyah
seyyah / Home_tr_TR.md
Created November 1, 2018 13:08
LVGL i18n Turkish Pull Request

lvgl wiki sayfasına hoşgeldiniz!

Dokümantasyon, littlevgl.com'den buraya taşınacak.

Katkınız için teşekkürler!

@seyyah
seyyah / gist:68765065d8f47055bdf0786fa9b4ca4e
Created October 18, 2018 10:43 — forked from ryannealmes/gist:aa4eed8b222239c9e207
Update Git submodule to latest commit on origin
# get the submodule initially
git submodule add ssh://bla submodule_dir
git submodule init
# time passes, submodule upstream is updated
# and you now want to update
# change to the submodule directory
cd submodule_dir
@seyyah
seyyah / main.c
Last active July 31, 2018 16:26 — forked from postspectacular/main.c
Simple double buffer manager for STM32
static Screen *screen;
int main(void) {
HAL_Init();
SystemClock_Config();
screen = ct_screen_init();
while (1) {
ct_screen_flip_buffers(screen);
// put normal drawing code here...
@seyyah
seyyah / export_repo_issues_to_csv.py
Created July 2, 2018 16:14 — forked from unbracketed/export_repo_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
@seyyah
seyyah / gist:8313e9132ac5823c81a46f842d293ea1
Created June 18, 2018 13:37 — forked from l3thal/gist:6836116
docx unique word count
#!/usr/bin/ruby
require 'zip'
require 'nokogiri'
class Docx
def self.word_count(file, zip=Zip::ZipFile.open(file))
Nokogiri::XML.parse(zip.find_entry("word/document.xml").get_input_stream).text.split(" ").uniq.length
end
end
@seyyah
seyyah / .config
Last active May 8, 2018 15:17
NuttX Stm32f429i-disco/fb
#
# Automatically generated file; DO NOT EDIT.
# Nuttx/ Configuration
#
#
# Build Setup
#
# CONFIG_EXPERIMENTAL is not set
# CONFIG_DEFAULT_SMALL is not set
@seyyah
seyyah / cf-ddns.sh
Created March 13, 2018 19:23 — forked from larrybolt/cf-ddns.sh
Automatically update your CloudFlare DNS record to the IP, Dynamic DNS for Cloudflare
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS
# Can retrieve cloudflare Domain id and list zone's, because, lazy
# Place at:
# /usr/local/bin/cf-ddns.sh