- Install Ubuntu Server.
- Update Ubuntu with the commands:
This file contains hidden or 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
$ hg clone bb:rhodecode-pot-ja-work | |
複製先ディレクトリ: . | |
中断: 複製先 '.' は空ではありません | |
$ hg clone bb:rhodecode-pot-ja-work rhodecode-pot-ja-work | |
全リビジョンを取得中 | |
リビジョンを追加中 | |
マニフェストを追加中 |
This file contains hidden or 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
<?xml version="1.0"?> | |
<Project DefaultTargets="CopyFiles" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup> | |
<TargetFiles Include="srcdir\**" | |
Exclude="**\*.obj;**\*.bak;**\.svn\**" /> | |
</ItemGroup> | |
<Target Name="CopyFiles"> |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# 参考: http://kaiseki-web.lhd.nifs.ac.jp/documents/Python/leastmean.htm | |
from __future__ import print_function | |
import numpy as np | |
import matplotlib.pyplot as plt | |
# これなら分かる応用数学教室 p.4 | |
# 【例1.2】 4点(4,-17),(15,-4),(30,-7),(100,70)に直線を当てはめよ |
This file contains hidden or 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
# | |
# FizzBuzz.ps1 | |
# | |
Function Get-FizzBuzz($num) | |
{ | |
$Fizz = $num % 3 | |
$Buzz = $num % 5 | |
if ($Fizz -eq 0 -and $Buzz -eq 0) { | |
return "Fizz Buzz" | |
} elseif ( $Fizz -eq 0) { |
This file contains hidden or 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
$ git remote add origin https://github.com/username/reponame.git | |
$ git config remote.origin.proxy http://company.proxy.com:8080 | |
$ git push -u origin master |
This file contains hidden or 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
> git archive -o src.zip HEAD src |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SynTP\Parameters] | |
"SuppressPossibleJumps"=dword:0000007b | |
"LidOpenCloseFlags"=dword:00000001 | |
"ExtraCapabilities7Add"=dword:00010000 | |
"ExtraCapabilities7Mask"=dword:ffffffff | |
"LidCloseKey"=dword:0000e058 | |
"LidOpenKey"=dword:0000e059 |
This file contains hidden or 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
alias python='winpty python.exe' |
This file contains hidden or 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
// Place your settings in this file to overwrite the default settings | |
{ | |
"http.proxy": "http://proxy.example.com:8000", | |
"http.proxyStrictSSL": false | |
} |