Skip to content

Instantly share code, notes, and snippets.

@prerak-proof
prerak-proof / symbology_rosetta.csv
Last active September 26, 2023 13:32
Symbology Rosetta
Type INET CMS Bloomberg Y! Finance Composite RIC Notes
Class Shares BRK.B BRK B BRK/B BRK-B BRKb
Preferred Shares TY- TY PR n/a TY-P TY_p Bloomberg: TY Pfd
Preferred Class Shares BAC-L BAC PRL n/a BAC-PL BAC_pl Bloomberg: BAC Pfd
Warrants OXY+ OXY WS OXY/WS OXY-WT OXY_t
Warrants Class A TDW+A TDW WSA TDW/WS/A TDW-WTA TDW_ta
Rights CELG^ CELG RT CELG-R CELG-RI CELG_r.K 4-letter root ⇒ .K suffix
Units GRP= GRP U GRP/U GRP-UN GRP_u
When Issued POST# POST WI POST-W POST-WI POST_w.K
Rights When Issued GLO^# GLO RTWI GLO-R-W GLO-RIWI GLO_rw
#include "ViewmodelSkeletalMeshComponent.h"
#include "Kismet/GameplayStatics.h"
void UViewmodelSkeletalMeshComponent::BeginPlay()
{
Super::BeginPlay();
PlayerController = UGameplayStatics::GetPlayerController(this, 0);
@safijari
safijari / CMakeLists.txt
Created April 1, 2021 20:56
The code relevant to pybind11 video
cmake_minimum_required(VERSION 3.4...3.18)
project(pybindtest)
add_subdirectory(pybind11)
pybind11_add_module(module_name main.cpp)
@patrickdappollonio
patrickdappollonio / s10plus-bloatware-list.md
Last active September 6, 2023 15:18
Samsung Galaxy S10+ bloatware list

Samsung Galaxy S10+ Bloatware list you can disable

Disclaimers:

  • This won't uninstall the application -- even when the command says so. It'll simply remove it from your username, but it will still exist in your phone.
  • With the list, YMMV. Some features might stop working after disabling certain apps. Feel free to disable just the ones you don't use.
  • You need developer options enabled to run these commands, and a USB connection to your computer, with your computer running adb shell.

Samsung Dex

pm uninstall -k --user 0 com.sec.android.desktopmode.uiservice
@egelev
egelev / connect_bluetooth_headphones.sh
Last active April 26, 2024 14:14
Connect bluetooth headphones on Ubuntu 18.04
#!/usr/bin/env bash
function get_headphones_index() {
echo $(pacmd list-cards | grep bluez_card -B1 | grep index | awk '{print $2}')
}
function get_headphones_mac_address() {
local temp=$(pacmd list-cards | grep bluez_card -C20 | grep 'device.string' | cut -d' ' -f 3)
temp="${temp%\"}"
temp="${temp#\"}"
@ferryzhou
ferryzhou / README.md
Last active July 11, 2022 15:23
Use riot and ajax to show data from a restful api using postgrest. also use bootswatch for theme.
  1. start restful api server

postgrest "host=localhost dbname=tnews" -a $(whoami) --schema public

  1. serve the html

python -m SimpleHTTPServer 8080

@bkaradzic
bkaradzic / orthodoxc++.md
Last active April 23, 2024 13:59
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++?