Skip to content

Instantly share code, notes, and snippets.

@Zatnosk
Zatnosk / social_web_idea.md
Last active February 26, 2018 08:30
Social web idea

[The following is a chat log from a Slack group]

arturovm

How’s this for a new social network?

  1. There are no likes
  2. There are no followers or “friends”; they’re called contacts
  3. There are no “re-posts”; you can only share someone else’s post with your contacts and add your comment to it (similar to Tiwtter’s quote-tweet), but people can’t reply to your “share”. Your “share” of the post appears under the original post’s replies, and any time someone who saw you share the post would want to discuss it, replies have to be made on the original post.

zatnosk

sounds fancy. I "like" the no-likes part. Would the contact thing be equal to what we currently call "mutuals"? i.e. both parts have to actively seek the connection.

anonymous
anonymous / config.json
Created February 16, 2017 10:28
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#374047",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "#07c",
"@brand-success": "#1c0",
  • _ is an indescriptive name
  • %p<1 are you trying to modulo from a boolean? what the fuck
  • _-p oh god why
  • this is just nasty
  • with is deprecated
  • you only access one property on window, so just access it directly
  • 094 this can acidentally convert to hex, so just use 94, also the 0 is extraneous in that case anyway
  • there's no reason to make 94 as a variable
  • varName is indescriptive
@The-Quill
The-Quill / meh.md
Created February 23, 2016 12:53
mehmehmeh.meh
  • Follow snake_case
  • it=int=input( ""'') does this even fucking compile?
  • MyNumberCounter= 10 whitespace between operators
  • try : not this operator
  • while not: could swap to == False
  • (it) does nothing
  • int don't name a variable with a type name
  • mix of tabs and spaces, you evil, evil person
  • MyNumberCounter() the type is an int, not a function or generator, this probably won't compile
  • loop is not defined
@The-Quill
The-Quill / shtripedrheview.md
Created February 18, 2016 12:52
shtriped rheview

#Speling You mispeled SEPERATOR.


#Naming

Try and avoid single character or abbreviated names:

strToInt(s)

@orlp
orlp / chacha.h
Last active October 16, 2024 05:07
C++11 ChaCha implementation.
/*
Copyright (c) 2024 Orson Peters <orsonpeters@gmail.com>
This software is provided 'as-is', without any express or implied warranty. In no event will the
authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial
applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the
@schas002
schas002 / index.html
Last active August 29, 2015 14:15 — forked from anonymous/index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Blank</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
</head>
anonymous
anonymous / index.html
Created February 12, 2015 18:52
A blank template for a website.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Blank</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
</head>
@schacon
schacon / gist:1
Created July 15, 2008 18:17
the meaning of gist
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.