You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Have you been noticing the words ‘motion design’ popping up around the design world? Companies big and small are starting to hire designers specifically with this title. Google recently gave a talk at its I/O conference, outlining the motion language that will be standardized across Google’s product line. So what is all the fuss about? And why does it matter? Motion tells stories. Everything in an
Andrew Gerrand 7 May 2015 Introduction Godoc examples are snippets of Go code that are displayed as package documentation and that are verified by running them as tests. They can also be run by a user visiting the godoc web page for the package and clicking the associated “Run” button. Having executable documentation for a package guarantees that the information will not go out of date as the API
October 4, 2014 Faster & Cleaner Module Workflow I’ve noticed when writing lots of small modules that the process of creating new modules and repositories can be a little tedious and error-prone. Automating the process makes things more efficient, produces consistent and clean repositories, and also forces me into the mindset of documenting and testing early on. Here are some suggestions, tools an
sangoの使い方 - JavaScript WebSocket 編¶ ブラウザのJavaScriptからsangoを使う方法について説明します。 ブラウザからJavaScriptを使用してsangoを使うには、WebSocketを使用します。 sangoのダッシュボードでMQTT接続情報を開くと「WebSocket接続先」の情報が 記載されています。 これをメモしておきましょう。 1. JavaScriptを実装する¶ pahoから mqttws31.js をダウンロードして、読み込ませておきます。 2. クライアントの実装¶ Connect部分はPub/Subともに共通です。 他の言語ではClientIDは指定しない場合、ランダムな文字列を生成してくれる ものがほとんどですが、JavaScriptの場合は自分で指定する必要があります。 Math.random() などを使い、ランダムな
これまでこういったyumリポジトリミラーサーバーを作る場合にApacheを使って構築してきましたが、 Nginxで同じように設定する場合のメモです。 Nginxの設定 /etc/nginx/nginx.confにautoindex on;を追加します。 例 server { listen 80; server_name repo.example.com; location / { root /var/www/html/; autoindex on; autoindex_localtime on; } } 表示結果 このように表示されます。 Apacheの場合 ちなみにApacheの場合 <Directory "/var/www/html/"> Options Indexes FollowSymLinks </Directory> 参考 HttpAutoindexModule http://
Go is an open source programming language designed for building scalable, secure and reliable software. Please read the official documentation to learn more. Go by Example is a hands-on introduction to Go using annotated example programs. Check out the first example or browse the full list below. Unless stated otherwise, examples here assume the latest major release Go. Hello World Values Variable
http://funceng.com/2013/11/03/review-of-functional-languages/ Kevin Buellがブログの一連のエントリーで関数型プログラミング言語の概要をまとめています。 1) Haskell ラテン語がわかる人には親しみやすい。 [Background] 遅延評価の研究成果をとりまとめる委員会が1990年にHaskell 1.0の仕様をつくった。コンパイラはGlasgow Haskell Compiler (GHC)が最も有名。Haskellに関する研究はMicrosoft Researchで盛ん。.NETのための関数型言語であるF#もMicrosoft Researchの成果であるが、別の研究者グループの手により後年世にでてきた。 その他の項目は原文参照ください。 [Comparative Description] [Syntax H
内部インターフェイスにstatic修飾子つけちゃう奴 内部インターフェイスは暗黙的にstaticになります。 以下のように、static修飾子を明示したNestedStaticInterface、明示しないNestedInterfaceがある場合、コンパイルされたインターフェイスはともにstatic修飾子を伴います。 package com.uphyca.example.interfacedef; public class EnclosingClass { // static修飾子を明示する public static interface NestedStaticInterface { } // static修飾子を明示しない public interface NestedInterface { } } コンパイルされたNestedStaticInterface public abstra
#include "Cello.h" int main(int argc, char** argv) { /* Stack objects are created using "$" */ var i0 = $(Int, 5); var i1 = $(Int, 3); var i2 = $(Int, 4); /* Heap objects are created using "new" */ var items = new(Array, Int, i0, i1, i2); /* Collections can be looped over */ foreach (item in items) { print("Object %$ is of type %$\n", item, type_of(item)); } /* Heap objects destructed via Garbage
Core Graphics is one of those frameworks that’s easy to avoid as an iOS developer. It’s a little obscure, the syntax is not super modern and Apple doesn’t give it as much love at WWDC as they should! Plus, you can avoid it very easily by just using images instead. However, Core Graphics is an insanely powerful tool to master! You can free yourself from the shackles of graphic designers and wield t
8 March 2022 by Danny Yao in Blog By supporting the Opera Crypto Wallet, Dapp developers can gain access to millions of crypto users on Opera platform. To do so, Dapp developers need simply add a few lines of code to set up integration with the Opera Crypto Wallet. 23 January 2019 by Daniel Bratell in Blog Opera 58 (based on Chromium 71) for Mac, Windows, Linux is out! To find out what’s new for u
In the past few months, I’ve saw many developers that use local storage for ‘big data’ on the client side. Local storage is a powerful API that let developer save key-value data on the browser. However, it’s got some limitation like: synchronize operation that make it less efficient when it’s heavily used. Moreover, it should replace simple cases (e.g. saving the user state) and not in scenarios
Here’s the rub: when you load JavaScript from a third party you should do it asynchronously. You might want to load your own scripts asynchronously too, but for this article let’s focus on third parties. There are two reasons for this: If the third-party goes down or is slow, your page won’t be held up trying to load that resource. It can speed up page loads. At Wufoo, we just switched over to an
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く