IT

ダウンロード:
提供元サイトからダウンロード
修正内容:
Motorola ADB Patching
Checks for shell root before applying exploits ...

Source

rpmuninstall.sh

#!/bin/bash
#######################################################
PACKAGE=$1

RP ...

Source

手順:
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get upgrade

LibreOffic ...

Source

目的:CSV形式でのMongoDBになるためにデータをエクスポートできるようwにシェルスクリプトを書く。
要求:
1.莫大な量のデータをエクスポートすることためを防ぐ、当月と先月のデータを濾過しなかればならないだけが良 ...

Source

touch.sh
#!/bin/bash

if ; then
synclient TouchpadOff=1
else
synclient TouchpadOff=0
fi ...

Source

#!/bin/sh

########ソースコードパッケージをダウンロード##########
wget
wget
wget
wget
wget

########ソースコー ...

Source

rootoutput.sh

#!/bin/bash
for yh in `ls/root`
do
if
then
echo $yh

fi

done ...

Source

コマンド:
wc -l $(find . -type f -name ‘*.java’)

Source

注意:linuxでのsedは-iを利用することで、UNIX/MacOSの下に-ieを利用する。
コマンド:
sed -ie “s/text_to_replace/replacement/g” ` ...

Source

対象os:
linux

processkill.sh

#!/bin/sh

ps_result=`ps -aux|grep httpd|grep -v Ss|grep -v S+|awk &# ...

Kotlin

書式
for (変数名 in 最小値..最大値)
使用例

fun main() { for (m in 10..20) { if (m == 18) { break } println("value m: " + ...

Linux

操作コマンド下記

1.PHP 7.2のインストール$ yum info --enablerepo=remi,remi-php72 php$ yum install --enablerepo=remi,remi-php72 php ...

JavaScript

JSコード
Date.prototype.Format = function (fmt) {
var pp = {
“M+”: this.getMonth() + 1,
R ...

jQuery

htmlコード

<ul> <li class="cft">list item 1</li> <li>list item 2 <ul> <li><div ...

Java

サンプル
package test;

import java.io.Serializable;

public class GetClassDemo {

public static void ...

PostgreSQL

環境
Windows10 64 bit
PostgreSQL 13.2

書式
COALESCE(チェックする対象文字列 , Nullの場合に置換する文字)
文字列がNullの時、別の文字列に ...