Skip to content

Instantly share code, notes, and snippets.

@neuro-sys
neuro-sys / dwmconfig.h
Last active September 27, 2023 18:20
dwm volume control
/**
* config.h
* ALT + F11 | F12
*/
static const char *upvol[] = { "amixer", "set", "Master", "3+", NULL };
static const char *downvol[] = { "amixer", "set", "Master", "3-", NULL };
static const char *mutevol[] = { "amixer", "set", "Master", "toggle", NULL };
static Key keys[] = {
@taq
taq / gist:5793430
Created June 16, 2013 20:59
World worst hacker
This is a bunch of stuff relating to the localhost ip taken off bash.org. Apologies to all the non-technically minded people...
#60852
<Numi> hey, can you guys just check a site out and tell me if it's up?
<Haddock> depends, what is it?
<Numi> just my apache server, it works for me but seems to be down for anyone else
<Haddock> alright, what's the address?
<Numi> http://127.0.0.1
<Haddock> ......
<Haddock> ...Yeah, it's up.
@ilkermanap
ilkermanap / main.cpp
Created April 9, 2021 17:23
c/c++ linked list and binary tree examples. node addition and traversing
#include <iostream>
using namespace std;
/**
* Tek yonlu liste tanimi
*/
struct Node {
int data;