import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.duration.Duration
import scala.concurrent.{Await, Future}
import scala.util.{Failure, Random, Success}
object CompositeFutureChallenge extends App {
This file contains 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
const btn = $('#btn'); | |
const mixtanisuu = $('#mixtanisuu'); | |
const mixkamoku = $('#mixkamoku'); | |
btn.click( () => { | |
const paragraph = document.createElement('p'); | |
paragraph.classList.add('kamoku'); | |
const text = document.createTextNode(document.getElementById('kamoku').value); | |
paragraph.appendChild(text); | |
mixkamoku.append(paragraph); | |
This file contains 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
version: '3' | |
services: | |
mysql: | |
image: "mysql:5.7.21" | |
volumes: | |
- "~/workspace/nn-douga-mysql:/var/lib/mysql" | |
container_name: nn-douga-mysql | |
command: ["mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"] | |
ports: | |
- "3306:3306" |
This file contains 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
(1..999).select{|n| n % 3 == 0 || n % 5 == 0}.inject{|sum, i| sum + i} |
- アルバイトの案内
- WPA2の脆弱性
- Twitterまとめ
- WPA2 PC-watch
- WPA2 CNET
- Scala基礎の3節,4節の映像授業がリリース
- アルバイトの案内
- [速報]GitHub、依存関係表示でのパッケージやアプリケーション対応、セキュリティアラートなどの新機能発表。GitHub Universe 2017
- Webデザインを「もっとかっこよくして!」と言われた時に試したいCSS小技5つ
- ガートナージャパン、「日本におけるテクノロジのハイプ・サイクル:2017年」発表。DevOpsは過度な期待のピーク、クラウドやビッグデータは幻滅期
This file contains 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
Version: ImageMagick 7.0.6-10 Q16 x64 2017-08-27 http://www.imagemagick.org | |
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC | |
License: http://www.imagemagick.org/script/license.php | |
Visual C++: 180040629 | |
Features: Cipher DPC Modules OpenMP | |
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pa | |
ngocairo png ps rsvg tiff webp xml zlib |
This file contains 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
rm -rf ./node_modules && mkdir -p ~/workspace_noshared/`basename \`pwd\``/node_modules && ln -s ~/workspace_noshared/`basename \`pwd\``/node_modules ./node_modules |
This file contains 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
#include <bits/stdc++.h> // g++ -std=c++14 -o a a.cpp | |
using namespace std; | |
typedef pair<int, int> P; | |
typedef long long ll; | |
#define rep(i, n) for(int i = 0; i < (n); i++) | |
#define all(c) (c).begin(), (c).end() | |
#define uniq(c) c.erase(unique(all(c)), (c).end()) | |
#define _1 first | |
#define _2 second |