Skip to content

Instantly share code, notes, and snippets.

David C. Bishop dcbishop

Block or report user

Report or block dcbishop

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vboxxorgconfd
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
View gist:6ddf0edf881ca3fddb6f
template < typename value_t >
void BogoSort( std::vector< value_t > & data )
{
while( !std::is_sorted(data.cbegin(), data.cend()) )
{
std::shuffle(data.begin(), data.end());
}
}
@dcbishop
dcbishop / languageideas.c
Last active Aug 29, 2015
Language Ideas
View languageideas.c
// What if a function and struct are the same 'thing', I'll just call it a 'block'.
MyStruct {
x : int = @ // @ here means not optional, *must* provide this when constructed.
y : int = 0 // Default but optional initilization
}
// And a function has the same syntax, just with code
// There is no function argument signature, it uses the decelerations in the order they appear.
my_func {
You can’t perform that action at this time.