This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <string.h> | |
#include <stdio.h> | |
char *urlStrip(char *inputUrl, int *ret_sz) { | |
/* if inputUrl isn't allocated dynamically you doin't need to pass sz_url you can just do sizeof(inputUlr) */ | |
int pos = 0; | |
int sz_url = strlen(inputUrl); | |
while(pos < sz_url - 1 && inputUrl[pos] != '/' && inputUrl[pos+1] != '/') { | |
/*printf("%d -> %c\n", pos, inputUrl[pos]);*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NicksClassOptions // singleton class | |
{ | |
private: | |
// make the default constructor and the copy constructor private | |
// to prevent extra versions of this floating around | |
NicksClassOptions() {}; | |
NicksClassOptions(const NicksClassOptions&); | |
// prevent people changing this | |
NicksClassOptions& operator=(const NicksClassOptions&); | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.def.h b/config.def.h | |
index 8fd5d4a..82b010e 100644 | |
--- a/config.def.h | |
+++ b/config.def.h | |
@@ -10,6 +10,7 @@ static const char selbgcolor[] = "#005577"; | |
static const char selfgcolor[] = "#eeeeee"; | |
static const unsigned int borderpx = 1; /* border pixel of windows */ | |
static const unsigned int snap = 32; /* snap pixel */ | |
+static const unsigned int tilespace = 6; /* spacing between tiles */ | |
static const Bool showbar = True; /* False means no bar */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DatA - Rapture (Sterehoes remix) |