Skip to content

Instantly share code, notes, and snippets.

View DOSputin's full-sized avatar
💀
død

DP DOSputin

💀
død
View GitHub Profile
@DOSputin
DOSputin / Akai-s900-DRAM-codes.MD
Last active August 6, 2024 16:25
Akai S900 "BAD Ram" bit code table

Akai S900 BAD RAM (D-RAM) BIT CODES

*ICs are any 256k x1 DRAM DIP package ie: generic 41256 Speeds 120 to 150 nanoseconds will work fine, ie 41256-120

OS DRAM BLOCKS:

-IC45 = DJ0

@0x646e78
0x646e78 / Gitlab-Docker-certbot.md
Last active March 11, 2019 18:50
gitlab inside docker with certs from Let's Encrypt

Running gitlab inside docker with certs from Let's Encrypt

This will serve SSH and HTTPS (with which I got an A+ from testssl).

Creates three docker containers:

  • gitlab-prostgres
  • gitlab-redis
  • gitlab, which is linked to the other two. This contains nginx, sshd, git, gitlab.
@craigbeck
craigbeck / introspection-query.graphql
Created April 6, 2016 20:20
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
@mathewbyrne
mathewbyrne / slugify.js
Created October 12, 2011 04:34
Javascript Slugify
function slugify(text)
{
return text.toString().toLowerCase()
.replace(/\s+/g, '-') // Replace spaces with -
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
.replace(/\-\-+/g, '-') // Replace multiple - with single -
.replace(/^-+/, '') // Trim - from start of text
.replace(/-+$/, ''); // Trim - from end of text
}
i
me
my
myself
we
our
ours
ourselves
you
your