On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that gives developers lossless compression. This package is commonly used for compressing release tarballs, software packages, kernel images, and initramfs images. It is very widely distributed, statistically your average Linux or macOS system will have it installed for
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
import wandbox | |
nlohmann_json_file_list = [ | |
"json/include/nlohmann/adl_serializer.hpp", | |
"json/include/nlohmann/byte_container_with_subtype.hpp", | |
"json/include/nlohmann/detail/boolean_operators.hpp", | |
"json/include/nlohmann/detail/conversions/from_json.hpp", | |
"json/include/nlohmann/detail/conversions/to_chars.hpp", | |
"json/include/nlohmann/detail/conversions/to_json.hpp", |
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
// font/に NotoColorEmoji.ttfを置く | |
// binary: clang++ -I /usr/include/freetype2/ -lfreetype tftest.cpp | |
// emscripten: em++ -std=c++17 -s ALLOW_MEMORY_GROWTH=1 -s USE_FREETYPE=1 --preload-file font tftest.cpp -o out.html | |
#include <ft2build.h> | |
#include FT_FREETYPE_H | |
#include FT_TRUETYPE_TABLES_H | |
#include<iostream> |
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
// siv3dの.cppに書いてたやつ | |
// includeとか足りないかも | |
# include <tinyxml/tinyxml2.h> | |
namespace cfn { | |
XMLElementNode buildXML(tinyxml2::XMLElement const*elem) { | |
s3d::Array<std::unique_ptr<XMLNode>> children; | |
for (const tinyxml2::XMLNode* node = elem->FirstChild(); node; node = node->NextSibling()) { | |
if (auto e = node->ToElement()) { | |
children.push_back(std::make_unique<XMLNode>(buildXML(e))); |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 4 columns, instead of 5. in line 1.
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
KMCD 2012/12 京大マイコンクラブ | |
ロストカラーズ JAN : 4546531000042 発売日 : 2004/02/22 1 | |
雪晶石 -Malice Eater- Project Noise 型番 : PNNL-001 発売日 : 2015/08/16 | |
Beyond Fallendom ビヨンドフォールンダム PlatineDispositif 型番 : MSCD-0040 発売日 : 2015/12/31 | |
C84 Amusement Creators Project AC | |
WALPURGIS Quattro ワルプルギス・クアトロ (CONCEPT DEMO VERSION) D.N.A. Softwares 発売日 : 2013/08/12 | |
The Alternative Magician 〜白の魔法少女と黒の魔法少女〜 水月〜くらげ〜 型番 : DRTR-01 | |
Aurorablast3 Neo Transilvania 発売日 : 2016/08/14 | |
レミリア3Dアクション(仮) C82プロト版 あんかけスパ 発売日 : 2012/08/11 | |
NEO AQUARIUM -甲殻王-[プレス版] Nussoft 発売日 : 2011/03/31 |
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
FROM ubuntu:18.04 | |
RUN sed -i.bak -e "s%http://archive.ubuntu.com/ubuntu/%http://ftp.jaist.ac.jp/pub/Linux/ubuntu/%g" /etc/apt/sources.list | |
# https://qiita.com/yagince/items/deba267f789604643bab | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && apt-get install -y clang libx11-dev libopencv-dev libglib2.0-dev \ | |
libgio2.0-cil-dev libxi-dev libxinerama-dev libxcursor-dev \ | |
libxrandr-dev libopenal-dev freeglut3-dev libfreetype6-dev libturbojpeg0-dev \ |
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 <Siv3D.hpp> // OpenSiv3D v0.1.7 | |
#include<memory> | |
#include <HamFramework.hpp> | |
struct Hoge{ | |
Hoge(std::unique_ptr<Hoge> &&child) | |
:child(std::move(child)) | |
{} | |
double rot = 1_pi / 32; | |
s3d::Point pos{ 0,20 }; |
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 <Siv3D.hpp> | |
void Main() | |
{ | |
s3d::TCPServer s; | |
s3d::TCPClient c; | |
using LenType = std::uint16_t; | |
s.startAccept(57913); | |
c.connect(s3d::IPv4::localhost(), 57913); | |
while (System::Update()) |
NewerOlder