This file contains 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
- 介绍systemd功能-51CTO学院
- rpm:軟體管理的工具
rpm -ql systemd
:查詢套件所安裝的檔案清單- q:query
- l:list
systemctl
等同於systemctl list-units
systemctl --state=all
:所有啟動的狀態systemctl --state=active
:啟動成功systemctl --state=inactive
:未啟動
This file contains 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Move : MonoBehaviour | |
{ | |
public GameObject myMissile; | |
// Use this for initialization | |
void Start() |
This file contains 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class Score : MonoBehaviour | |
{ | |
public GameObject myCube; | |
public Text scoreText; | |
private int score = 0; |
This file contains 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
#include <stdio.h> | |
int main(void) { | |
int n, i, times, sum; | |
while(scanf("%d", &n) != EOF) { | |
// int sum = 0; | |
while(n <= 2000000000) { | |
int sum = 0; | |
while(n >= 10) { | |
sum += n % 10; |
NewerOlder