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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
Memory blocks currently allocated: 8, size: 86.6 KiB. | |
Memory blocks allocated during the whole lifetime: 236177, size: 249.1 MiB. | |
Memory blocks imported from other processes: 0, size: 0 B. | |
Memory blocks exported to other processes: 0, size: 0 B. | |
Total sample cache size: 0 B. | |
Default sample spec: s16le 2ch 44100Hz | |
Default channel map: front-left,front-right | |
Default sink name: bluez_sink.00_0C_8A_EA_B3_96 | |
Default source name: bluez_source.00_0C_8A_EA_B3_96 | |
Memory blocks of type POOL: 7 allocated/137143 accumulated. |
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> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <xcb/xtest.h> | |
int main(int argc, char *argv[]) |
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
1. Install cygwin packages using setup.exe: gcc4, make, libncurses-devel, mercurial | |
2. hg clone https://vim.googlecode.com/hg/ vim && cd vim | |
3. ./configure --prefix=/usr/ \ | |
--enable-gui=no \ | |
--without-x \ | |
--disable-nls \ | |
--enable-multibyte \ | |
--with-tlib=ncurses \ | |
--enable-pythoninterp \ | |
--enable-rubyinterp \ |
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
got 8 from server |
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
# Setting the prefix from C-b to C-a | |
set -g prefix C-a | |
# Free the original Ctrl-b prefix keybinding | |
unbind C-b | |
#setting the delay between prefix and command | |
set -s escape-time 4 | |
# Rest the cursor back to input mode |
NewerOlder