Skip to content

Latest commit

 

History

History
553 lines (437 loc) · 32 KB

programming.md

File metadata and controls

553 lines (437 loc) · 32 KB

Programming

General

Turing

Words

ExpMod

Floating point

Duck Typing

Multiplication

Functions

Algorithms

Data representation

Padding

Bits

Constant Time

ANSI

Golang

General

Naming

Books

Init

Data Structures

Strings

Types

Params

Convert

Arrays and slices

ForLoop

Go Check

Go Vendor

Type Assertions

Shift

Conversions

Constants

Errors

Reflection

Types

Interfaces

Struct

Useful commands

Operations

Compiling

Structs

Runtime

Routines

Debugging

Assembly

x86

Flags

Ports

Mistakes

Talks

Tools

Modules

Testing

Packages

Rust

#C

General

Inline

ForLoops

Print in formats

Pointers

Constants

Conversion

Macros

Variable arguments

GCC

Clang

LLVM

Macro

Differences

Undefined behavior

Security

Memset

Assembly

Libraries

Tools for C libraries

Libgcrypt

Autotools

Glib

Valgrind

Autoconf

GTK

Haskell

Git

GDB

Travis

Testing

Fuzzing

Architecture


Theory


Design and configs

Css

Beautiful Css websites

Vim

Tmux and tmate

Irssi


Useful

Tools


Code for Tor Browser High Security Mode

In high security mode, Tor only allows PNG images to be available.

If your website must support non-PNG images like SVG, you can set up a fallback image like so (Ref.):

  1. With HTML:
<object data="your.svg" type="image/svg+xml"> <img src="yourfallback.jpg" /> </object>
  1. With CSS, which naturally throws away rules that the browser doesn't understand:
.image-with-fallback {
    background-image: url(fallback.png);
        background-image: url(your.svg), none;
}{}

Why is SVG a problem? Pg 16 in this iSEC report.

Website setup