string:
Copy Code code as follows:
For character in "dog!" {
println (character)
}
D
O
G
// !
//
You can also simply define a single character:
Copy Code code as follows:
Let Yensign:character = "¥"
6, character count
Use global functions countelements to calculate the number of characters in a string:
Copy Code code as follows:
Let Unusualmenagerie = "Koala, Snail, Pengu
The concept of domain-driven design (DDD) originates from the book published by 2004 famous modeling expert Eric Evans: "Domain-driven design–tackling complexity in the Heart of Software" (Chinese translation: domain-driven design-the core complexity of software solutions), Chi Jianqiang in an article published in 2011, "Domain-driven design and practice", which describes DDD:
The domain-driven design is in fact an extension and extension of the Ooad, DDD based on object-oriented analysis and d
Ubuntu has just released the third alpha version of Ubuntu 9.10 (Karmic Koala).
So what's new about Ubuntu 9.10 Alpha 3? Let's take a look. This release has added new technologies and related features since the release of the second alpha version. It uses the 2.27.4 new version of the GNOME desktop environment, which will give us a more exhilarating experience. Here is its:
Empathy replaces pidgin as the new Instant Messaging client;
2, Brasero CD
Last night and @buptpatriot talked about the PHP elephant logo, I do not know its origin, so Google a bit.
Find the answer from this answer.
hereby reproduced, so that more than just interested friends see:
Original address: Adopt an ElephpantThe English copyright belongs to the original author EL Roubio All, the Chinese translation is completed independently by Wctbok, if reprint please specify.Adopt an ELEPHPANT[1]-your PHP mascott[2]
Sass usage, sass Usage Guide
At the beginning, we may be used to html + css when learning the front-end. But we found that css has a lot of repeated code or you have to change the image or text in it, and it is very troublesome to look for it, so we will use sass to simplify it.
First, we need to install a koala software. It is used to compile the asaa code to generate css Code. At first, I was not used to it, but it is indeed much more convenient, it
-normalize 'to config. rb'
To use a standardized plug-in, you only need to introduce @ import "normalize"; // This Is All introduced
Normally, select the required module and introduce it separately to prevent code redundancy, as shown below:
1 @import 'normalize/html5';2 @import 'normalize/base';3 @import 'normalize/links';4 @import 'normalize/typography';5 @import 'normalize/embeds';6 @import 'normalize/groups';7 @import 'normalize/forms';8 @import 'normalize/tables';
Scss compilation and co
1) if you are running Ubuntu, try to use a software package manager like aptitude or synaptic, instead of manually downloading and installing the software package from this webpage.
2) You can use any source image in the following list to add a line to your/etc/apt/sources. list file as follows:
Deb http://cz.archive.ubuntu.com/ubuntu jaunty main universe
Replace cz.archive.ubuntu.com/ubuntuwith the final source image.
3). If you try installing Intel Fortran Compiler on Ubuntu 10.04 Lucid Lynx o
you use the WICD tool, select the WPA Suppliant Driver as wext.10 after the refresh, the wireless network should be able to be detected, and finally we can say goodbye to the wired day. Happy!11 if the LINUX kernel version is later than or equal to 2.6.31, a compilation error occurs during compilation. See the patch provided in the reference post.I won't go over the following section. You can basically understand it.UPDATE:Linux Kernel> = 2.6.31/Ubuntu Karmic
. Div.onmouseup =NULL; Document.onmousemove=NULL; }At last: the final implementation: function () { new Drag ("Div1"); New Drag ("Div2"); }The effect is as follows:
Into the garden has been more than three, usually also love in the garden you run to learn knowledge. I had thought about opening my own garden before, but it was always forgotten because of such things. Recently found around the @ Koala Bear http://home.cnb
KarmicKoalaUbuntu9.10's first Alpha test was released yesterday. Although this is only an initial experimental version, the exciting new features such as Plymouth are completely absent, however, we still see the Linux2.6.30kernel kernel, GNOME2.27.1 desktop environment, GCC4.4 compiler, UXAIntel video acceleration, and new power management technology, and its performance will definitely surprise you. The test object is Ubun.
The first Alpha Beta version of Karmic
Original address: http://www.cnblogs.com/alongu3d/p/3627936.htmlUntiy Access Mobile mm detailedFirst received the task of the Master (Dragons), ready to hand-written untiy access to the third-party SDK article (Android direction), the first write so bad place do not spit groove. If interested can add 63438968 (untiy Development Group) to explore.This article is mainly based on unity and Android engineering analysis. The second reason is that there are incompatibilities between the SDK platform a
1, https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.shCopy this and write it in the file.2, implementation./gitflow.sh Install stable3. Enter the project directory git flow init initialization environment$ git Flow init # all carriage returnsWhich branch should is used for bringing forth production releases?-Develop-MasterBranch name for production releases: [Master]Which branch should is used for integration of the "next release"?-DevelopBranch nam
Because of being sent to help other groups, have the opportunity to write a bit of react, found that the ice made of the suite used to build the back-end system is really too much force (inserted in the table component is actually can be removed to add the seat base method added). Because looked at the demo code and for Jsx grammar unfamiliar, so a moment at a loss to the CSS to write where to find react for CSS processing has been different from the original traditional for the definition of CS
Koala download sass Compile as CSS fileRequirejs Why use1, effective to prevent naming conflicts2. Declare the dependencies between different JS files3. Let our code be organized in a modular wayRequirejs Common methods1. Requirejs.config Definition AliasesMain.js Portal File (files that are called immediately after the Require.js file is loaded in the. html is the entrance file in Data-main way)reuirejs.config ({ paths:{ jquery:'
A simplified version of the Ajax jquery library(function () {The only variable interface for the outside world!var Myajax = Window.myajax = {};Author, version number, etc. informationMyajax.author = "Koala";Myajax.version = "1.0.0";This object has two properties, get, post properties, all functionsMyajax.get = function (url,queryjson,callback) {Create XHR objects to resolve compatibility issuesif (window. XMLHttpRequest) {var xhr = new XMLHttpRequest
How to re-install grub 2 from a live CDWithout the need to chroot.
1) boot your Ubuntu karmic koala or later 'desktop 'live CD, or anotherkarmic installation such as an operating system in a USB device orwhateveryou have to use as a rescue disk.
Tip: it will make your Ubuntu life alot easier if you take a few minutes to set a nice user-freindly filesystem label in your Linux file systems,How to Set File System labels with gparted.
2) the operating sys
"alt =" 2756659_20140616101947.jpg "/>[Beautiful seaside scenery in Australia] a dreamy white sand beach, heart-shaped reef, is born for you. Here is the most beautiful sunset, the sun is shining all year round, the sea is blue, taking a seaplane over the heart-shaped island is something you must do when traveling to Australia. When you hold a koala in Queensland, you will find that this is what you want to travel.
650) This. width = 650; "src =" h
Not long ago I wrote an application R. JS to optimize your front-end articles and introduce R. JS is a utility that can compress, merge front-end files, and package the entire project. However. when Javascript is put into the project, we have to take into account a problem. Every time the project is maintained, the maintenance personnel enter the RJS running password and re-package the project. This is naturally very cumbersome. In addition, if we use sass to write styles for our project, we may
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.