PHP

PHPコード:
<?php
$mimetypes = array(
‘ez’ => ‘application/andrew-inset’,
& ...

PHP

phpコード:
<?php
$a = array(‘<foo>’,”‘bar'”,'”baz”‘, ...

Linux

修正方法
#vim/etc/selinux/config
修正前 ”SELINUX=enforcing”
修正後  ”SELINUX=disabled” ...

JavaScript

参考コード:
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “
<html>

PHP

例1–unserialize関数
<?php
$string = ‘O:6:“Foostartnews24”:2:{s:3:“foo”;s:1:“1”;s:3:“startnews24”; ...

PHP

関数説明:
array split (string $pattern, string $string )
array explode ( string $separator, string $string ) ...

Linux

操作コマンド
rpm –import
wget -P/etc/yum.repos.d/
yum –enablerepo=webtatic update php

PHP

1.目的:
特定のかさばる変数(配列やオブジェクト)を使用しない場合、削除関数を利用する

2.実現方法
方法1 $varname=null;
方法2 unset($varname);

3 ...

PHP

PHPコード:
<html>
<!–POSTで単一引用符号を渡す –>
<body>
<form action=”first ...

Android

Javaコード:
public class ListScrollView extends ScrollView {
private List list = new ArrayList();
private in ...

Android

サンプルコード:
public class Utility {
public static void setListViewHeightBasedOnChildren(ListView listView) {

Android

AndroidでTextViewを動的に切り替える方法まとめ

例1右方向画像の設定方法
Drawable drawable = getResources().getDrawable(R.drawable.hotel ...

IOS

1.エラーメッセージ
Attempting to badge the application icon but haven’t received permission from the user to badge ...

Linux

1.現在のディレクトリの直下にファイルを検索
find . -name startnews24com_test.txt

2.現在のディレクトリの下にあいまいな条件でファイルを検索
find . -name ...

Python

サンプルコード:
#!/usr/bin/env python
#coding=utf-8
#ChooseSort.py
#user can choose sort style: desc(1) or a ...

Python

参考コード:
#!/usr/bin/env python
# coding=utf-8
# inorderBL.py

import stdinInput

def inorder(arra ...

Python

サンプルコード
#!/usr/bin/env python
#coding=utf-8
#BubbleSort.py
#user can choose sort style: desc(1) or as ...

Python

サンプルコード:
#!/usr/bin/env python
#coding=utf-8
# stdinInput.py

intsortArrays=[]

def stdinInput( ...