This file contains hidden or 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> | |
| /* | |
| ** modified by wention 11.22.2013 | |
| ** | |
| ** more information about original please visite http://base64.sourceforge.net/ | |
| ** | |
| */ |
This file contains hidden or 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
| /* | |
| * create by wention 11,23,2013 | |
| */ | |
| #define NaN 255 | |
| char decode_table[] = "0123456789ABCDEF"; | |
| //char decode_table1[] = "0123456789abcdef"; | |
| unsigned char encode_table[] = {0,1,2,3,4,5,6,7,8,9,NaN,NaN,NaN,NaN,NaN,NaN,NaN,10,11,12,13,14,15}; | |
| void binary_to_hex( unsigned char* binary, //a point of data need to be convert |
This file contains hidden or 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
| #!/bin/bash | |
| PROGNAME=$(basename $0) | |
| VERSION="1.0.0" | |
| usage() { | |
| echo "Usage: $PROGNAME [OPTIONS] [FILE]" | |
| echo " This script is ~." | |
| echo | |
| echo "Options:" |
This file contains hidden or 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
| import __builtin__ | |
| openfiles = set() | |
| oldfile = __builtin__.file | |
| class newfile(oldfile): | |
| def __init__(self, *args): | |
| self.x = args[0] | |
| print "\033[01;31m##### %d #### OPENING %s ###\033[00m" % (len(openfiles),str(self.x)) |
This file contains hidden or 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
| /*! | |
| * Isotope PACKAGED v3.0.0 | |
| * | |
| * Licensed GPLv3 for open source use | |
| * or Isotope Commercial License for commercial use | |
| * | |
| * http://isotope.metafizzy.co | |
| * Copyright 2016 Metafizzy | |
| */ |
This file contains hidden or 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> | |
| #include <string.h> | |
| #include <pulse/pulseaudio.h> | |
| // Field list is here: http://0pointer.de/lennart/projects/pulseaudio/doxygen/structpa__sink__info.html | |
| typedef struct pa_devicelist { | |
| uint8_t initialized; | |
| char name[512]; | |
| uint32_t index; | |
| char description[256]; |
This file contains hidden or 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
| #define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <limits.h> | |
| #include <string.h> | |
| struct entry_s { | |
| char *key; | |
| char *value; |
This file contains hidden or 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
| !xrdb ~/.Xresources | |
| !xterm font and locale | |
| xterm.locale:true | |
| xterm.utf8: true | |
| xterm*utf8Title:true | |
| xterm*fontMenu*fontdefault*Label:Default | |
| xterm*faceName:Menlo:antialias=true:pixelsize=13 | |
| xterm*faceNameDoublesize:WenQuanYi Micro Hei Mono:pixelsize=13:antialias=true |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| import base64 | |
| import crypt | |
| ''' | |
| If salt is a character string starting with the characters "$id$" fol‐ | |
| lowed by a string terminated by "$": |
OlderNewer