Ubuntu 14.10/14.04/12.04でBoomagaをインストールする方法
インストールコマンド:
sudo add-apt-repository ppa:boomaga/ppa
sudo apt-get update
sudo apt-get install boomaga
[ios開発]NSDateとNSCalendarを利用して具体的な時間を取得するサンプルコード
サンプルコード:
NSDate *nowDate = ;//現在時間
NSCalendar *calendar = ;
NSDateComponents *comps;
comps = ;
in ...
「IOS開発」calendarからNSdateに変換するサンプルコード
サンプルコード:
NSCalendar *calendar = ;
NSDateComponents *comps;
comps = init]];
;//+24次の日date,-24は前の日da ...
Linux環境でNATテーブルにファイアウォールを設定する方法
1.NAT設定内容を確認
# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Linuxにiptablesの基本設定知識まとめ
1.デフォルトルールを設定
# iptables -p INPUT DROP
# iptables -p OUTPUT ACCEPT
# iptables -p FORWARD DROP
2.必要な ...
Linuxにiptbablesの設定内容を確認、削除、保存する方法
1.firewallルールの確認
操作コマンド
# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destinati ...
cisco ルータ設定内容を確認する
操作コマンド:
show ip interface brief/show ip int b
show interfaces/show inter
show interface f0/0
show ip ...
ciscoルータにdhcp基本知識
コマンド:
ip dhcp pool LAN1
network 192.168.3.0 255.255.255.0
default-router 192.168.3.1
ip dhcp pool LAN ...
Ubuntuの基本使い方
1.インストール:
sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update
sudo apt-get install shutter
...
java言語例外のカスタム定義サンプル
サンプルコード:
package com.startnews24.projectname.exception;
public class ProjectNameException extends Throwab ...
「Python入門」Pythonでメールを送信するサンプルコード
サンプルコード:
__author__ = ‘gg88’
import email,sys,os
import smtplib
from email.MIMEText imp ...
Spring Integration Java DSL 1.0 GAダウンロード
ダウンロード
提供元サイトからダウンロード
更新内容
Spring Integration as the leader in the ESB/Integration framework space, lea ...
[C#]ToStringで数値を文字列に変換するサンプル
書式
データ型(int、double)変数名.ToString()
Convert.ToString(データ型(int、double)変数名)
使用例
AngularJS 1.3.4ダウンロード、HTML のwebフレームワーク
ダウンロード
提供元サイトからダウンロード
改善内容
Bug Fixes$browser: allow chaining url() calls in setter mode (764fa869,#10157 ...Apache Tomcat 6.0.43ダウンロード、TLS v1.1/1.2をサポート
ダウンロード
提供元サイトからダウンロード
更新内容
– Update to Tomcat Native Library version 1.1.32 to pick up the Wind ...
「Swift」指定endIndeより前の文字列を取得するサンプル
書式
offsetBy:数字
使用例
[Java]戻り値の型はMapのメソッドを作成する方法
書式
protected static Map<String,String>関数名(){}
使用例
AlmaLinux 8でFTP サーバーProFTPD をインストールする
環境
# cat/etc/redhat-release
AlmaLinux release 8.4 (Electric Cheetah)
インストール方法
1.ProFTPD をインストール