Skip to content

Instantly share code, notes, and snippets.

@thecodeah
thecodeah / stylus-github-theme.css
Created March 25, 2021 13:51
A Github theme for the Stylus browser addon
/* Move headers to the middle */
@media (min-width: 1280px) {
main > div.bg-gray-light {
box-shadow: inset 0 -1px 0 #e1e4e8;
}
main > div.bg-gray-light > div,
main > div.bg-gray-light > nav {
max-width: 1280px;
margin-left: auto;
margin-right: auto;
@thecodeah
thecodeah / protonmail-theme.css
Last active February 13, 2022 21:17
Protonmail Dark Compact Theme
/* Background color of logo (Top left) */
.headerSecuredDesktop-logo {
background-color: #1F2124;
}
/* Background color of side bar on the left */
#ptSidebar {
background: #1F2124;
}
@thecodeah
thecodeah / GetVehicleComponentCost.pwn
Created December 24, 2017 20:20
SA-MP GetVehicleComponentCost
new vehicleComponentPrices[] =
{
400, 550, 200, 250, 100, 150, 80, 500, 500, 200, 1000, 220, 250, 100, 400, 500,
200, 500, 350, 300, 250, 200, 150, 350, 50, 1000, 480, 480, 770, 680, 370, 370,
170, 120, 790, 150, 500, 690, 190, 390, 500, 390, 1000, 500, 500, 510, 710, 670,
530, 810, 620, 670, 530, 130, 210, 230, 520, 430, 620, 720, 530, 180, 550, 430,
830, 850, 750, 250, 200, 550, 450, 550, 450, 1100, 1030, 980, 1560, 1620, 1200,
1030, 900, 1230, 820, 1560, 1350, 770, 100, 1500, 150, 650, 450, 100, 750, 350,
450, 350, 1000, 620, 1140, 1000, 940, 780, 830, 3250, 1610, 1540, 780, 780, 780,
1610, 1540, 0, 0, 3340, 3250, 2130, 2050, 2040, 780, 940, 780, 940, 780, 860, 780,