Total Pageviews

Showing posts with label crystal. Show all posts
Showing posts with label crystal. Show all posts

Sunday, 10 July 2022

Stand With Ukraine


📢 Updates from Ukrainian Open Source Community
🇷🇺 Обращение к гражданам России

Support Ukraine

Donate via the National Bank of Ukraine

The best way to financially support Ukraine is by donating directly to one of the special accounts opened by the National Bank of Ukraine. These funds will be used to finance local humanitarian relief, as well as Ukraine's Armed Forces.

Donate to Non-Government Organizations

⚠️ Refrain from sending money to any crypto wallets, except those found on official charity websites.
⚠️ DO NOT donate to Red Cross International, donate to Ukrainian Red Cross instead.

Below is a list of non-profits that currently operate in Ukraine. Please opt-in for a monthly payment, if possible.

  • 💵 Come Back Alive — funds used to buy non-lethal equipment for frontline soldiers as well as territorial defense units.
  • 💵 Serhiy Prytula Charity Foundation — funds used to buy non-lethal equipment and transport vehicles for the military and to provide humanitarian aid to Ukrainians affected by the war.
  • 💵 Hospitallers Battalion — funds used to buy supplies and equipment for medics on the frontline.
  • 💵 Ukrainian Red Cross — provides humanitarian relief to Ukrainians affected by the war.
  • 💵 DonorUA — coordinates voluntarily blood transfusions in Ukraine.
  • 💵 Voices of Children — provides food, water, hygiene kits, cash, and psychosocial support to children and families.
  • 💵 Army SOS — provides food and other support to Ukrainian troops.
  • 💵 Territory of Kindness — provides support to children, army, help with medical supplies procurement.
  • 💵 People In Need (select SOS Ukraine) — focuses on providing food, clean water, and hygienic products to those impacted by Russian aggression.
  • 💵 Nova Ukraine — provides humanitarian aid and raises awareness about Ukraine. [501(c)3, Tax ID 46-5335435]
  • 💵 Save the Children — helps children by providing food and shelter. [501(c)3, Tax ID 06-0726487]
  • 💵 UNICEF USA — provides access to safe water, nutrition, health care, education and protection. [501(c)3, Tax ID 13-1760110]
  • 💵 Soloma Cats — charitable foundation that focuses on tactical medicine and demining.

Other ways to help

from https://github.com/vshymanskyy/StandWithUkraine/tree/main/docs
(https://stand-with-ukraine.pp.ua/)
-------------------------------------

  1. Follow the cyber safety guide

Projects that #StandWithUkraine

  • Awesome - Awesome lists about all kinds of interesting topics
  • MacPaw - A company behind prominent Mac software: CleanMyMac X, Setapp, Gemini 2, The Unarchiver
  • AVA.js - A test runner for Node.js that lets you develop with confidence
  • Wasm3 - WebAssembly engine
  • Rete.js - JavaScript framework for visual programming
  • Blynk - IoT platform
  • pnpm - Fast, disk space efficient package manager
  • PlatformIO - A professional collaborative platform for embedded development
  • TinyGSM - A small Arduino library for GSM modules, that just works
  • wasm2native - Turn WASI apps into native executables
  • node-wasm-run - Run arbitrary WASM/WASI files
  • embedded-wasm-apps - Statically-compiled WebAssembly apps on any embedded platform
  • easy-upload - Reproducing torrents for mainstream Chinese and international private trackers sites
  • php-vast - VAST Ad generator and parser library on PHP
  • miband-js - A clean implementation of Mi Band 2 library for Browsers and Node.js, using WebBluetooth API
  • vue-barcode-reader - A Vue.js set of components to scan (or upload images) barcodes and QR codes
  • mailamie - A simple SMTP catch all server for testing written in PHP
  • ReStable - jQuery plugin that makes tables responsive converting them to HTML lists
  • phpbench - PHPBench is a benchmark runner for PHP analogous to PHPUnit but for performance rather than correctness
  • Codeception - Codeception is a modern full-stack testing framework for PHP. Inspired by BDD
  • PHPUnit - PHPUnit is the most commonly used testing framework for PHP
  • Payum - Payum is a PHP Payment processing library. It offers everything you need to work with payments
  • Soketi - soketi is your simple, fast, and resilient open-source WebSockets server
  • Symfony - Symfony is a popular PHP framework
  • PHPMailer - The classic email sending library for PHP
  • Awesome Crystal - A collection of awesome Crystal libraries, tools, frameworks and software
  • Ameba - A static code analysis tool for Crystal
  • bcrypt.net - Porting of bcrypt.codeplex.com with enhanced security, missing fixes, features and better .net support
  • lvgl-rs - Open-source Embedded GUI Library in Rust
  • iban-validation - A small library for validating International BankAccount Numbers (IBANs)
  • portable-ascii - Portable ASCII library - performance optimized (ascii) string functions for PHP
  • comfey - Comfey is a tiny data binding library inspired by React hook useState
  • terraform-aws-modules - Collection of Terraform AWS modules supported by the community
  • USDCUP.io - Web App that finds and tracks the average price of USD vs CUP in the informal (street) market in Cuba
  • CherryPy - A Minimalist Python Web Framework
  • Cheroot - A high-performance, pure-Python HTTP server used by CherryPy
  • octomachinery - Invisible engine driving octobot machines. Simple, yet powerful. A pythonic framework for making GitHub Apps-powered bots
  • Better Go Playground - Go playground alternative with syntax highlight, code autocomplete and WebAssembly support
  • Canvacord - Simple & easy to use image manipulation module for beginners
  • spaceship-prompt — Minimalistic, powerful and extremely customizable Zsh prompt
  • wtfjs — A list of funny and tricky JavaScript examples
  • bash-handbook — A handbook for those who want to learn Bash
  • vacuum-card — Vacuum cleaner card for Home Assistant Lovelace UI
  • purifier-card — Air Purifier card for Home Assistant Lovelace UI
  • Moped - A general purpose text editor, small and light
  • fluent-vue - Internationalization plugin for Vue.js
  • Kap - An open-source screen recorder built with web technology
  • T-Regx - PHP regular expression brought up to modern standards
  • bootScore - A powerful, free Bootstrap 5 starter theme for WordPress
  • UAdata - Ukrainian data hub with API
  • MahApps.Metro - A toolkit for creating modern WPF applications. Lots of goodness out-of-the box
  • MahApps.Metro.IconPacks - Awesome icon packs for WPF and UWP in one library
  • GongSolutions.WPF.DragDrop - An easy to use drag'n'drop framework for WPF
  • ElectricsEagles - ElectricsEagles drones
  • PokeTube - An Youtube player thats focused on privacy
  • Sorry Cypress - Open source alternative to Cypress Dashboard
  • ...and more than 5000 others

from https://github.com/vshymanskyy/StandWithUkraine

Sunday, 18 August 2019

awesomo

An extensive list of interesting open source projects written in С, C++, Clojure, Lisp, Elixir, Erlang, Elm, Golang, Haskell, JavaScript, Lua, OCaml, Python, R, Ruby, Rust, Scala etc.

A.W.E.S.O.M. O is an extensive list of interesting open source projects written in various languages.
If you are interested in Open Source and are considering to join the community of Open Source developers, then here you might find a project that will suit you.

Languages

Monday, 3 September 2018

安装crystal环境


curl https://dist.crystal-lang.org/apt/setup.sh | sudo bash

然后

1
2
3
apt-key adv --keyserver keys.gnupg.net --recv-keys 09617FD37CC06B54
echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list
apt-get update

安装


1
sudo apt-get install crystal
(其实curl https://dist.crystal-lang.org/apt/setup.sh | sudo bash
然后sudo apt-get install crystal 即可安装crystal)
from http://www.crystal-lang.top/2017/12/31/install/
http://doc.crystal-lang.top/install/

-------

Redhat/Centos

curl https://dist.crystal-lang.org/rpm/setup.sh | sudo bash
rpm --import https://dist.crystal-lang.org/rpm/RPM-GPG-KEY

cat > /etc/yum.repos.d/crystal.repo <<END
[crystal]
name = Crystal
baseurl = https://dist.crystal-lang.org/rpm/
END
sudo yum install crystal

#更新
sudo yum update crystal

Arch

sudo pacman -S crystal

Gentoo

# equery u dev-lang/crystal
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-lang/crystal-0.18.7:
 U I
 - - doc      : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - examples : Install examples, usually source code
 + + xml      : Use the dev-libs/libxml2 library to enable Crystal xml module
 + - yaml     : Use the dev-libs/libyaml library to enable Crystal yaml module

 su -
emerge -a dev-lang/crystal

Mac-Osx

brew update
brew install crystal-lang

Linuxbrew

brew update
brew install crystal-lang

Ubuntu bash - windows

需要win10自带的Ubuntu环境, 安装方法同Ubuntu安装一样。

预编译文件安装

到此处 下载已编译好的二进制,把它放到环境变量的目录下就可以直接在命令行中运行。

源码安装

  1. 安装最新的crystal并带上参数 --with-llvm
  2. 安装所有的依赖库
  3. 最好先参考一下这个
  4. 克隆版本库

git clone https://github.com/crystal-lang/crystal.git

# 运行 make命令创建自己的crystal编译器
# 运行 make spec命令测试新的版本是否存在错误
# 使用 bin/crystal  
# 事实上 ,编译生成的crystal是 .build/crystal

Friday, 21 October 2016

编程语言-Crystal

The Crystal Programming Language 
Build Status Bountysource Code Triagers Badge

Crystal is a programming language with the following goals:
  • Have a syntax similar to Ruby (but compatibility with it is not a goal)
  • Statically type-checked but without having to specify the type of variables or method arguments.
  • Be able to call C code by writing bindings to it in Crystal.
  • Have compile-time evaluation and generation of code, to avoid boilerplate code.
  • Compile to efficient native code.

Why?

We love Ruby's efficiency for writing code.
We love C's efficiency for running code.
We want the best of both worlds.
We want the compiler to understand what we mean without having to specify types everywhere.
We want full OOP.
Oh, and we don't want to write C code to make the code run faster.

Status

  • The project is in alpha stage: we are still tweaking the language and standard library.
  • The compiler is written in Crystal.

Installing

Try it online

Documentation

Both in progress:

Community

Questions or suggestions? Ask in our Google Group, join our IRC channel #crystal-lang at chat.freenode.net, ask on our Gitter channel or ask on Stack Overflow under the crystal-lang tag.
from https://github.com/crystal-lang/crystal