This file contains hidden or 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
#!/bin/bash | |
# ディスクイメージファイルのパス | |
img_path="gpt.img" | |
echo "Creating empty image file" | |
dd if=/dev/zero of=$img_path bs=1G count=1 | |
echo "Creating gpt table" | |
parted -s gpt.img mklabel gpt |
This file contains hidden or 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
# Server Core用のアプリケーション互換性を追加 | |
Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0 | |
# Internet Explorer用のブラウザ機能を追加 | |
DISM.exe /Online /Add-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0 |
This file contains hidden or 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
int64_t sub_1458() | |
{ | |
/* jump -> data_4e50 */ | |
} | |
void __libc_init(void* raw_args, void (* onexit)(), | |
int32_t (* main)(int32_t argc, char** argv, char** envp), | |
void const* structors) __noreturn | |
{ | |
/* tailcall */ |
This file contains hidden or 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
// | |
// This file was generated by the Retargetable Decompiler | |
// Website: https://retdec.com | |
// | |
#include <dirent.h> | |
#include <fcntl.h> | |
#include <pthread.h> | |
#include <signal.h> | |
#include <stdint.h> |
This file contains hidden or 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
/* This file was generated by the Hex-Rays decompiler version 8.2.0.221215. | |
Copyright (c) 2007-2021 Hex-Rays <[email protected]> | |
Detected compiler: GNU C++ | |
*/ | |
#include <defs.h> | |
//------------------------------------------------------------------------- |
This file contains hidden or 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
Format: Log Type - Time(microsec) - Message - Optional Info | |
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic | |
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2.C2-00030 | |
S - IMAGE_VARIANT_STRING=DAASANAZA | |
S - OEM_IMAGE_VERSION_STRING=buildservera-All-Series | |
S - Boot Config, 0x000000e1 | |
B - 1567 - PBL, Start | |
B - 4546 - bootable_media_detect_entry, Start | |
B - 49043 - bootable_media_detect_success, Start |
This file contains hidden or 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
﨤サ OK ] Stopped target Timers. | |
[ OK ] Stopped target Remote File Systems. | |
[ OK ] Stopped Daily Cleanup of Temporary Directories. | |
[ OK ] Stopped target Multi-User System. | |
Stopping leprop Service... | |
Stopping usb Service... | |
Stopping Modem Shutdown Service... | |
[ OK ] Removed slice system-serial\x2dgetty.slice. | |
Stopping logd Service... | |
Stopping System Logging Service... |
This file contains hidden or 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
Format: Log Type - Time(microsec) - Message - Optional Info | |
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic | |
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2.C2-00030 | |
S - IMAGE_VARIANT_STRING=DAASANAZA | |
S - OEM_IMAGE_VERSION_STRING=buildservera-All-Series | |
S - Boot Config, 0x000000e1 | |
B - 1567 - PBL, Start | |
B - 4546 - bootable_media_detect_entry, Start | |
B - 49011 - bootable_media_detect_success, Start | |
B - 49015 - elf_loader_entry, Start |
This file contains hidden or 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
from PIL import Image | |
image = Image.open("img1.jpg") | |
width, height = image.size | |
pixels = image.load() | |
print( "<style>.a{display:flex;} .b{width:1px; height:1px;}</style>") | |
for i in range(height): | |
print("<div class='a'>") |
This file contains hidden or 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
#!/bin/bash | |
# ファイル名と置換前の行を指定します | |
file="FaustPluginProcessor.cpp" | |
target_line1="void FaustPlugInAudioProcessorEditor::paint (juce::Graphics& g)" | |
target_line2="virtual void paint(juce::Graphics& g) override" | |
target_line3="Name of the component is moved in Tab (so removed from component)" | |
target_line4="Drawing Scale" | |
target_line5="Display the name if it's needed" | |
target_line6="VUMeter Name" |