他の言語をある程度知っている人はこれを読めばD言語の基礎をマスターでき,D言語の氷山の一角くらいは知ることができると思います.対象バージョンはdmd 2.059です.
ASCIIかUTFしか受け付けません.それ以外の文字コードで書くとコンパイルエラーになります.
D言語のmainはCとは違い以下のようなシグネチャです.
#!/usr/bin/php -q | |
<?php | |
/* a2addsite - てwきwとwうw自分用apache2サイト追加スクリプト */ | |
/* 最初は10行ぐらいだったんだけどねwwwwwwww */ | |
ob_end_clean(); | |
//放り込んでいくディレクトリ(最後にスラッシュ付ける) | |
$a2confdir = '/etc/apache2/sites-available/'; | |
//DocumentRootが存在しない場合は作成を試みるか |
!!! 5 | |
html(class='no-js') | |
head | |
meta(charset='utf-8') | |
meta(http-equiv='X-UA-Compatible', content='IE=edge') | |
title | |
meta(name='description', content='') | |
meta(name='viewport', content='width=device-width, initial-scale=1') |
""" | |
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 is a list tutorials for building web application using backbone.js and yeoman. We are building a Photo Gallery JS App from Backbone Fundamentals
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo | |
echo usage: $0 network-interface | |
echo | |
echo e.g. $0 eth0 | |
echo | |
echo shows packets-per-second |
この記事は、lispリーダーマクロアドベントカレンダー の4日目の記事です。 タイトルにある通り、Clojure でのリー ダーマクロについて取り扱います(対象とする Clojure のバージョンは 1.4)。
英語圏ではかなり前からD言語を開発し続けることのリスクについて語られていたが,全く具体的な弊害が出て来こないので,単なるメモ.日本ではかなり遠い未来だと思う.
COBOLのように需要が逼迫しているのに人材の供給が増えず需給ミスマッチが起っているわけでは無く,需要も供給も増えないという状況下でわずかすら需要が上回っていないつも通りの状況がD言語に起きている.特に深刻なのは高価な古手エンジニアの採用が絶望的に難しいという現実だ.Haskellが台頭して数年経ちScalaがメインストリームの先頭を突っ走る2013年において新しくD言語を勉強しようとする年長はよほどの物好きしかいない.20~30歳のD言語エンジニアを雇うのはそれほど難しく無いだろうがコストがかかる.高価な40代前半の古手エンジニアを雇いたいという企業の思いとは裏腹にD言語を新たに学ぶ年長は絶滅寸前だ.
とても優秀な古手を雇用できるチャンスが巡って来た.採用担当者はこう尋ねる.「D言語は習得していますか?」「もちろんALGOL/Fortran/COBOLはお手の物です.Emacs Lispもある程度可能です」「もう一度伺いますがD言語は習得していますか?」「申し訳ございません 未習得です」
;;; Project here: https://github.com/seymores/gcm-clj | |
;;; | |
;;; Note: you need to specify the custom repo to get gcm-server.jar | |
;;; :repositories [["google" "https://github.com/slorber/gcm-server-repository/raw/master/releases"]] | |
;;; :dependencies [[com.google.android.gcm/gcm-server "1.0.2"]] | |
;;; | |
;;; See http://developer.android.com/google/gcm/gs.html#server-app | |
;; Import all the needed classes from gcm-server.jar | |
(import (com.google.android.gcm.server Sender Message Message$Builder MulticastResult)) |