Skip to content

Instantly share code, notes, and snippets.

@bkaradzic
bkaradzic / orthodoxc++.md
Last active May 21, 2024 15:40
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@marcelloinfoweb
marcelloinfoweb / install-vscode.sh
Created July 24, 2020 13:26
Install vscode on Clear Linux
#!/bin/bash
# https://openwebcraft.com/notes/clearlinux-desktop-setup/
echo "--- start"
wget https://vscode-update.azurewebsites.net/latest/linux-x64/stable -O code_latest_amd64.tar.gz
SRC_FILE=code_latest_amd64.tar.gz
DEST=/opt/code
@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 21, 2024 15:36
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@miranda-zhang
miranda-zhang / linux.md
Last active May 21, 2024 15:35
Linux Command Cheat Sheet, Ubuntu, CentOS

Linux Command Cheatsheet

Linux Keyboard shortcuts

open terminal: Ctrl+Alt+T

Ctrl + C is used to kill a process with signal SIGINT , in other words it is a polite kill .

Ctrl + Z is used to suspend a process by sending it the signal SIGTSTP , which is like a sleep signal, that can be undone and the process can be resumed again.

@PatrickHeneise
PatrickHeneise / gcp-function-storage-file-stream.js
Created July 29, 2022 16:57
Google Cloud Function to stream a file from multipart/form-data to Google Cloud Storage
/**
* Copyright (c) 2022 Zentered , patrick@zentered.co
* This code is licensed under the terms of the MIT license
*
* This code demonstrates how to create a Google Cloud Function to receive
* a file sent via `multipart/form-data`. The file is then streamed directly
* to Google Cloud Storage, without using a temporary file.
*
* The function returns any `fields` sent as FormData
*
@tilda
tilda / priconne_and_vpns.md
Last active May 21, 2024 15:33
defeating dmm's skill issue

How to play PriConne on PC without hassling with VPNs constantly

Sidenote: you will still need one, but by the end of the guide you should only need to deal with this process once per year, assuming nothing changes.

So, if you're like me you used ProtonVPN as a way to get around the most recent DMM block beginning in August of 2023.

Of course, you can't always have your cake & eat it too. So, what Proton did, some months later: no more server choices even with their already limited country selection for free users, and no more split tunneling either.

That's what most people think at least. Me, personally, I found a solution.

Breaking it down

@okld
okld / multipage_settings_app.py
Last active May 21, 2024 15:33
Streamlit - Settings page with session state
import streamlit as st
from persist import persist, load_widget_state
def main():
if "page" not in st.session_state:
# Initialize session state.
st.session_state.update({
# Default page.
"page": "home",
@groue
groue / ObservableState.swift
Last active May 21, 2024 15:29
WithBindable
import SwiftUI
/// Supplies an observable object to a view’s hierarchy.
///
/// The purpose of `WithBindable` is to make it possible to instantiate
/// observable objects from environment values, while keeping the object
/// alive as long as the view is rendered.
///
/// For example:
///
@fawazahmed0
fawazahmed0 / breach.txt
Last active May 21, 2024 15:28
Email and password breach collection list
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc
# These links are already available all over the internet
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal
# Collection 1
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
# Collection 2-5 & Antipublic
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
@icoxfog417
icoxfog417 / edi_security_list.csv
Last active May 21, 2024 15:23
EDINET code & Security code
EDINET CODE 証券コード 会社名 33業種区分 17業種区分 規模区分
E01631 64800 日本トムソン株式会社 機械 機械 6
E04768 85840 株式会社ジャックス その他金融業 金融(除く銀行) 6
E25551 28820 イートアンド株式会社 食料品 食品 7
E00645 38650 北越紀州製紙株式会社 パルプ・紙 素材・化学 6
E01092 51950 バンドー化学株式会社 ゴム製品 自動車・輸送機 7
E00815 41820 三菱瓦斯化学株式会社 化学 素材・化学 4
E00871 42420 株式会社タカギセイコー 化学 素材・化学
E02986 33740 内外テック株式会社 卸売業 商社・卸売
E30863 JA三井リース株式会社