Skip to content

Instantly share code, notes, and snippets.

@ikester8
ikester8 / coredump.txt
Created February 7, 2025 03:38
Coredump in Linux Mint
coredumpctl gdb steam
PID: 587636 (steam)
UID: 1000 (user)
GID: 1000 (user)
Signal: 11 (SEGV)
Timestamp: Thu 2025-02-06 21:07:46 EST (12min ago)
Command Line: /home/user/.local/share/Steam/ubuntu12_32/steam -srt-logger-opened -nominidumps -nobreakpad
Executable: /home/user/.local/share/Steam/ubuntu12_32/steam
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-69cbda8d-9e8c-4799-bbd8-8e80b631a911.scope
# Homework: Classes
# Read carefully until the end before you start solving the exercises.
# Practice the Basics
# Basic Class
# - Create an empty class HouseForSale
# - Create two instances.
# - Add number_of_rooms and price as instance attributes.
@IceSandwich
IceSandwich / main.cpp
Created February 7, 2025 03:37
std::regex
#include <iostream>
#include <regex>
#include <string>
int main() {
std::string str{ "The ip address 127.0.0.1:8080 had been blocked." };
std::string pattern{ "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})" };
std::cout << "input str: " << str << std::endl;
std::cout << "pattern str: " << pattern << std::endl;
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 7, 2025 03:36
bosh-cli v7.9.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\bosh-cli\bosh-cli.nupkg" checksum="DC2A8F1CD3EA20ED3FF0F3DA7B944FBD" />
<file path="C:\ProgramData\chocolatey\lib\bosh-cli\bosh-cli.nuspec" checksum="8E3C7E15423300B93026C294CC32DAF8" />
<file path="C:\ProgramData\chocolatey\lib\bosh-cli\tools\bosh.exe" checksum="54BCEEF52A6F37C349C4693CBC94A612" />
<file path="C:\ProgramData\chocolatey\lib\bosh-cli\tools\chocolateyInstall.ps1" checksum="03927A091CDF4355A9264A97464C8C97" />
</files>
</fileSnapshot>
@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created February 7, 2025 03:36
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: f6d8c664-0f0a-404e-a119-11a41b9861b6
-- Server started: February 07, 2025 03:36 AM UTC | Server uptime: 3 seconds
------------------ LOADB LOGS ------------------
{
}
@JiantaoFu
JiantaoFu / mvp_insightly_top.md
Created February 7, 2025 03:35
mvp_insightly_top.md

下面是一个针对产品经理场景、重构MVP功能的规划方案,旨在解决当前仅支持单个App URL分析的局限性,同时更好地满足产品经理在制定产品路线图、了解用户反馈和竞争对手动态方面的需求。


1. 核心功能模块

1.1. 评论数据聚合与分析

  • 输入支持:
    • 除了单一App URL输入外,允许用户一次性输入多个App URL(例如自己产品与主要竞争对手),以便实现横向对比。
  • 支持两大平台:App Store 和 Google Play。
# HOMEWORK: Dictionaries
# Read carefully until the end before you start solving the exercises.
# Basic Dictionary
# Create an empty dictionary and then add a few of your friends. Make the key their email (can be fake)
# and the value their name. When you're done, create the same dictionary as a pre-populated dictionary.
# my_friends ={}
#
@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created February 7, 2025 03:35
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: 593892f2-d55f-4bc2-b1d2-8a55c2d198c2
-- Server started: February 07, 2025 03:35 AM UTC | Server uptime: 1 seconds
------------------ LOADB LOGS ------------------
{
}
@IceSandwich
IceSandwich / main.cpp
Created February 7, 2025 03:34
overloaded
#include <gtest/gtest.h>
#include "overloaded.hpp"
TEST(Overload, function) {
overloaded s{
[](int) { std::cout << "int" << std::endl; },
[](double) { std::cout << "double" << std::endl; },
[](std::string) { std::cout << "string" << std::endl; }
};
s(1);
@mikaelnguyenpg
mikaelnguyenpg / .config ghostty config
Last active February 7, 2025 04:18
.config ghostty config
# This is the configuration file for Ghostty.
#
# This template file has been automatically created at the following
# path since Ghostty couldn't find any existing config files on your system:
#
# /home/eagle/.config/ghostty/config
#
# The template does not set any default options, since Ghostty ships
# with sensible defaults for all options. Users should only need to set
# options that they want to change from the default.