lv_label_set_text(label, "Welcome");
lv_label_set_text(label, t("Hello world!");
lv_label_set_text(label, t("There are %d errors");
lv_label_set_text(label, t("Missing translation");
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
| <!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. |
lvgl wiki sayfasına hoşgeldiniz!
Dokümantasyon, littlevgl.com'den buraya taşınacak.
Katkınız için teşekkürler!
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
| # 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 |
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
| 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... |
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
| """ | |
| 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 | |
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/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 |
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
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Nuttx/ Configuration | |
| # | |
| # | |
| # Build Setup | |
| # | |
| # CONFIG_EXPERIMENTAL is not set | |
| # CONFIG_DEFAULT_SMALL is not set |
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 | |
| 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 |