UserCSS to replace images with their alt text on twitter.
Version 1.0.0
- A-theme: images with alt text are replaced, images without are left alone
- B-theme: images with alt text are replaced, images without are removed (blanked)
| /* Hide horizontal tabs at the top of the window #1349, #1672, #2147 */ | |
| #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| #main-window:not([tabsintitlebar="true"]) #TabsToolbar { | |
| visibility: collapse !important; | |
| } | |
| #TabsToolbar .titlebar-spacer { | |
| border-inline-end: none !important; |
UserCSS to replace images with their alt text on twitter.
Version 1.0.0
| <body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c> |
Get ON my lawn is a software philosophy that believes good software grows better with time.
Get on my lawm shuns trends and salesmen disguised as programmers.
Get on my lawn shuns the fancy new framework.
| AtomicNumber,Element,Symbol,AtomicMass,NumberofNeutrons,NumberofProtons,NumberofElectrons,Period,Group,Phase,Radioactive,Natural,Metal,Nonmetal,Metalloid,Type,AtomicRadius,Electronegativity,FirstIonization,Density,MeltingPoint,BoilingPoint,NumberOfIsotopes,Discoverer,Year,SpecificHeat,NumberofShells,NumberofValence | |
| 1,Hydrogen,H,1.007,0,1,1,1,1,gas,,yes,,yes,,Nonmetal,0.79,2.2,13.5984,8.99E-05,14.175,20.28,3,Cavendish,1766,14.304,1,1 | |
| 2,Helium,He,4.002,2,2,2,1,18,gas,,yes,,yes,,Noble Gas,0.49,,24.5874,1.79E-04,,4.22,5,Janssen,1868,5.193,1, | |
| 3,Lithium,Li,6.941,4,3,3,2,1,solid,,yes,yes,,,Alkali Metal,2.1,0.98,5.3917,5.34E-01,453.85,1615,5,Arfvedson,1817,3.582,2,1 | |
| 4,Beryllium,Be,9.012,5,4,4,2,2,solid,,yes,yes,,,Alkaline Earth Metal,1.4,1.57,9.3227,1.85E+00,1560.15,2742,6,Vaulquelin,1798,1.825,2,2 | |
| 5,Boron,B,10.811,6,5,5,2,13,solid,,yes,,,yes,Metalloid,1.2,2.04,8.298,2.34E+00,2573.15,4200,6,Gay-Lussac,1808,1.026,2,3 | |
| 6,Carbon,C,12.011,6,6,6,2,14,solid,,yes,,yes,,Nonmetal,0.91,2.55,11.2603,2.27E+00,3948.15,4300,7,Prehi |
This guide uses the domain your-domain.tld and its www. prefixed version.
It starts the rocket application on 127.0.0.1:1337 and as the user www-data. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.
| find . | grep "Cargo.toml$" | # Find all cargo.toml files \ | |
| sed 's#/[^/]*$##' | # Remove the filename leaving us with the directories containing cargo.toml files \ | |
| xargs -L1 printf "cd \"%s\"; cargo clean; cd -\n" | # Print "cd path/to/crate; cargo clean; cd -" \ | |
| bash # Execute |
| // compile this like g++ go2.c -lgdi32 [if you're using mingw] | |
| #include <windows.h> | |
| #include <stdio.h> | |
| // Helper function to retrieve current position of file pointer: | |
| inline int GetFilePointer(HANDLE FileHandle){ | |
| return SetFilePointer(FileHandle, 0, 0, FILE_CURRENT); | |
| } | |
| //--------------------------------------------------------------------------- |
| location ~ /\.git { | |
| deny all; | |
| } | |
| # or, all . directories/files in general (including .htaccess, etc) | |
| location ~ /\. { | |
| deny all; | |
| } |