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
set nocompatible | |
set guiheadroom=-20 | |
set shell=/bin/bash | |
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal' | |
set t_Co=256 | |
endif | |
filetype on | |
filetype plugin on | |
set autoindent | |
set number |
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 <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <arpa/inet.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <sys/types.h> | |
#include <unistd.h> |
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
set nocompatible | |
set guiheadroom=-20 | |
set shell=/bin/bash | |
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal' | |
set t_Co=256 | |
endif | |
filetype on | |
filetype plugin on | |
set autoindent | |
set number |
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
set nocompatible | |
set guiheadroom=-20 | |
set shell=/bin/bash | |
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal' | |
set t_Co=256 | |
endif | |
filetype on | |
filetype plugin on | |
set autoindent | |
set number |
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
#!/usr/bin/env python | |
# | |
# Copyright (C) 2014 Google Inc. | |
# | |
# This file is part of YouCompleteMe. | |
# | |
# YouCompleteMe is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |
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 cv2 | |
import numpy | |
import numpy as np | |
import math | |
import copy | |
target = 'target.jpg' | |
test = '3.jpg' | |
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 cv2 | |
import numpy | |
import numpy as np | |
import math | |
import copy | |
target = 'target.jpg' | |
test = '3.jpg' | |
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
setw -g mode-keys vi | |
# Set the default terminal mode to 256color mode | |
set -g default-terminal "screen-256color" | |
# enable activity alerts | |
setw -g monitor-activity on | |
set -g visual-activity on | |
#Prefix is Ctrl-a | |
set -g prefix C-a |
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
set guiheadroom=-20 | |
set shell=/bin/bash | |
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal' | |
set t_Co=256 | |
endif | |
filetype on | |
filetype plugin on | |
set autoindent | |
set number | |
set magic |
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
from __future__ import print_function | |
import urllib.request, urllib.parse | |
import sqlite3, zlib | |
import pathlib,os | |
db = sqlite3.connect('info.db') | |
cur = db.cursor() | |
cur.execute('select * from info where id>18000') | |
while True: |