Skip to content

Instantly share code, notes, and snippets.

@alixaxel
alixaxel / unresponsive.css
Last active December 29, 2022 03:57
Bootstrap Unresponsive Override
body.unresponsive {
min-width: 960px;
}
body.unresponsive .container {
max-width: none !important;
width: 960px !important;
}
body.unresponsive [class^="col-"] {
float: left;
}
/* Non-responsive overrides for Bootstrap 3
*
* Utilize the following CSS to disable the responsive-ness of the container,
* grid system, and navbar.
*/
/* Reset the container */
.container {
max-width: none !important;
width: 970px;
.container {
width: 960px !important;
}
@media (min-width: 1px) {
.container {
max-width: 940px;
}
.col-lg-1,
.col-lg-2,
@malarkey
malarkey / Contract Killer 3.md
Last active March 22, 2024 18:37
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………

@earthgecko
earthgecko / bash.generate.random.alphanumeric.string.sh
Last active February 22, 2024 13:56
shell/bash generate random alphanumeric string
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1