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
gcc libwebsockets-websocket.c -L/usr/local/lib -lwebsockets |
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
// ==UserScript== | |
// @name ReadablePass | |
// @namespace zyeoman | |
// @description Generate readable password | |
// @include * | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
reg = /([^aeiou]*[aeiou]*([^aeiou]*([^aeiou][aeiou]+[^aeiou]*$)))/ | |
host = /(?:\w+\.)*?([^\.]*)\.[^\.]*$/.exec(window.location.host) [1] |
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 "stdio.h" | |
char weight[10]; | |
int compare(const char *a, const char *b){ | |
return weight[*a]-weight[*b]; | |
} | |
void ShuffleArray_Sort(char* arr, int len){ | |
for (int j = 0; j < 10; ++j){ |
NewerOlder