It is a translated article of https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1
CMake のユーザレベルでの概要説明をみるには、 Jason Turnerによる C++ WeeklyのEpisode 78 Intro to CMakeがいいでしょう。 LLVMの CMake Primerは、ハイレベルのcMake文法の良い概要紹介になっています。さっそく読もう。
| tasks.jar { | |
| subprojects.forEach { subproject -> | |
| from(subproject.configurations.compileClasspath.get() | |
| .map { if (it.isDirectory) it else zipTree(it) }) | |
| } | |
| duplicatesStrategy = DuplicatesStrategy.INCLUDE | |
| } |
| import hashlib | |
| import io | |
| import lzma | |
| import os | |
| import pathlib | |
| from typing import Optional, Union | |
| import zstandard | |
| from Crypto.Cipher import AES |
| import hashlib | |
| import io | |
| import lzma | |
| import zstandard | |
| import os | |
| from Crypto.Cipher import AES | |
| class FilterStream(io.RawIOBase): |
It is a translated article of https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1
CMake のユーザレベルでの概要説明をみるには、 Jason Turnerによる C++ WeeklyのEpisode 78 Intro to CMakeがいいでしょう。 LLVMの CMake Primerは、ハイレベルのcMake文法の良い概要紹介になっています。さっそく読もう。
| # Description: | |
| # Log all the things to ElasticSearch then lets you ask hubot what you missed | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # Configuration: | |
| # ELASTICSEARCH_HOSTNAME - E.G. elasticsearch.example.com:9200, where to send the put requests | |
| # ELASTICSEARCH_USERNAME - OPTIONAL basic auth username | |
| # ELASTICSEARCH_PASSWORD - OPTIONAL basic auth password |
| http { | |
| limit_req_zone $binary_remote_addr zone=tile_req:20m rate=16r/s; | |
| ... | |
| server { | |
| ... | |
| location / { |
| Enable Module ngx_http_browser_module | |
| if ($msie) { | |
| add_header 'X-UA-Compatible' 'IE=Edge,chrome=1'; | |
| } |
| /* | |
| * propergate Satelllites in View changes to clients | |
| * through | |
| * .onSvStatusChanged(int svCount, int[] prns, float[] snrs, | |
| * float[] elevations, float[] azimuths, int ephemerisMask, | |
| * int almanacMask, int usedInFixMask); | |
| * | |
| * | |
| */ | |
| private void notifySatellites(){ |
| public static int[] convertIntegers(List<Integer> integers){ | |
| int[] ret = new int[integers.size()]; | |
| Iterator<Integer> iterator = integers.iterator(); | |
| for (int i = 0; i < ret.length; i++) | |
| { | |
| ret[i] = iterator.next().intValue(); | |
| } | |
| return ret; | |
| } |
| /* | |
| * Copyright (C) 2010, 2011, 2012 Herbert von Broeuschmeul | |
| * Copyright (C) 2010, 2011, 2012 BluetoothGPS4Droid Project | |
| * | |
| * This file is part of BluetoothGPS4Droid. | |
| * | |
| * BluetoothGPS4Droid is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. |