Skip to content

@bg1bgst333
bg1bgst333 / system_main.c
Last active November 28, 2025 23:55
system#system
/* ヘッダファイルのインクルード */
#include <stdio.h> /* 標準入出力 */
#include <stdlib.h> /* 標準ユーティリティ */
#include <sys/types.h> /* 派生型 */
#include <unistd.h> /* UNIX標準 */
/* main関数の定義 */
int main(void){
/* 変数の宣言 */
@mansurali901
mansurali901 / linuxmonitoring.sh
Last active January 17, 2025 05:11
Linux system monitoring system
#!/bin/bash
# This script is written to collect system stats.
# Author : Mansur Ul Hasan
# Email : [email protected]
# Check RAM and SWAP Usages
free -m | grep -v "+\|You" > /tmp/ramcache
echo -e '\E[32m'"Ram Usages :" $tecreset
cat /tmp/ramcache | grep -v "Swap"
echo -e '\E[32m'"Swap Usages :" $tecreset
@compcon
compcon / pilot.txt
Created April 20, 2021 01:54
Systems - Systems (LL:0)
{"id":"37653a3f-444f-4710-9f9c-4d4111929b5c","group":"","sort_index":0,"isLocal":true,"cloudID":"37653a3f-444f-4710-9f9c-4d4111929b5c","cloudOwnerID":"us-east-1:84ed0398-b0e9-4914-931c-85fdff7a7c88","gistCode":"","gistOwner":"377839bf-c134-4ab0-b713-3ee67bf26e83","lastSync":"","level":0,"callsign":"Systems","name":"Systems","player_name":"","status":"Active","dead":false,"text_appearance":"","notes":"","history":"","portrait":"","cloud_portrait":"","quirks":[],"current_hp":6,"reserves":[],"orgs":[],"background":"","mechSkills":[0,0,2,0],"licenses":[],"skills":[{"id":"sk_hack_or_fix","rank":1},{"id":"sk_invent_or_create","rank":1},{"id":"sk_word_on_the_street","rank":1},{"id":"sk_take_control","rank":1}],"talents":[{"id":"t_hacker","rank":1},{"id":"t_ace","rank":1},{"id":"t_centimane","rank":1}],"core_bonuses":[],"loadout":{"id":"34aedfa3-7837-42d0-ab97-2d8acb89ab5c","name":"Primary","armor":[{"id":"pg_light_hardsuit","destroyed":false,"cascading":false,"customDamageType":null}],"weapons":[{"id":"pg_light_a_c"
@Krylon360
Krylon360 / gist:3346304
Created August 14, 2012 04:40
system_core_include_system
diff --git a/include/system/window.h b/include/system/window.h
index 7c94243..df404ee 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -253,6 +253,10 @@ enum {
NATIVE_WINDOW_API_DISCONNECT = 14, /* private */
NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS = 15, /* private */
NATIVE_WINDOW_SET_POST_TRANSFORM_CROP = 16, /* private */
+#ifdef OMAP_COMPAT
+ NATIVE_WINDOW_SET_BUFFERS_LAYOUT = 254,
/**
* A program to carry on conversations with a human user.
* This is the initial version that:
* <ul><li>
* Uses indexOf to find strings
* </li><li>
* Handles responding to simple words and phrases
* </li></ul>
* This version uses a nested if to handle default responses.
* @author Laurie White
import { createContext } from "react";
import styled, { css, DefaultTheme } from "styled-components";
export const breakpoints = {
xs: "0px",
sm: "600px",
md: "960px",
lg: "1280px",
xl: "1920px"
} as const;
@yfszzx
yfszzx / system.h
Created June 14, 2015 08:40
system
/*配置说明:
(1)VS工程:property ->cuda c/c++ ->Device ->code generation ->sm_**需要是sm_30以上(例如将原来的sm_10改为sm_30或更高)
(2)VS工程:property ->linker ->input ->addition dependencies ->加入 curand.lib;cublas.lib;
(3) 将文件pthreadVC2.dll拷贝到.exe文件的同一目录下
(4)POSIX Threads for Win32的项目,专门为win32开发了一个pthread的li下载到的exe解压之后,会得到三个目录:
其中,Pre-built.2中是已经编译好的lib以及dll,同时包含了一些必要的头文件。将其中的include文件夹和lib文件夹copy到VC的安装目录下
例如,VC6.0的环境,默认安装,则,需要copy到:C:\Program Files\Microsoft Visual Studio\VC98
接着,在编程的时候,引入pthreadVC2.lib即可:
@sylware
sylware / steam.sh.patch
Last active April 1, 2021 14:23
system
--- steam.sh
+++ steam.sh
@@ -293,7 +293,11 @@
BF=$(($(gzip --list "$2" | sed -n -e "s/.*[[:space:]]\+[0-9]\+[[:space:]]\+\([0-9]\+\)[[:space:]].*$/\1/p") / $((512 * 100)) + 1))
;;
*.xz)
- BF=$(($(xz --robot --list "$2" | grep totals | awk '{print $5}') / $((512 * 100)) + 1))
+ if xz -h 2>&1 | grep -q BusyBox; then
+ BF=""
+ else
Dados do computador:
Fabricante: Gigabyte Technology Co., Ltd.
Modelo: B450 AORUS M
Tipo: Computador de mesa
Sem entrada de toque
Dados do processador:
Fabricante da CPU: AuthenticAMD
Marca da CPU: AMD Ryzen 7 3800X 8-Core Processor
Família do processador: 0x17
@InnaYarmusevych
InnaYarmusevych / system
Created September 21, 2021 13:20
system
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<section id="geo_ip" showInDefault="1" type="text" translate="label">
<label>GeoIP Redirect</label>
<tab>mirasvit</tab>
<resource>Mirasvit_GeoIp::system</resource>
<group id="general" showInDefault="1" showInWebsite="1" sortOrder="5">
<label>General Settings</label>