YouCompleteMe by oblitum é um fork da versão original com aprimoramentos para programadores C++ e C no Vim.
YouCompleteMe é uma engine para auxiliar o programador a digitar o código no Vim.
Essa versão oficial do plugin YouCompleteMe
import re | |
import execjs | |
def find_equations(string): | |
""" Take in a string, and convert everything between $ ... $ into an inline | |
equation and everything between $$ ... $$ into a centred equation. """ | |
doubledollar = re.compile(ur"\$\$([^$]+)\$\$") | |
singledollar = re.compile(ur"(?<![\$])\$([^$]+)\$(?!\$)") |
# Steps to build and install tmux from source. | |
# Takes < 25 seconds on EC2 env [even on a low-end config instance]. | |
VERSION=2.7 | |
sudo yum -y remove tmux | |
sudo yum -y install wget tar libevent-devel ncurses-devel | |
wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz | |
tar xzf tmux-${VERSION}.tar.gz | |
rm -f tmux-${VERSION}.tar.gz | |
cd tmux-${VERSION} |
#!/bin/bash | |
# Load active ports | |
PORTS=`lsof -i | grep mosh-serv | cut -f2 -d":"` | |
STATUS=`sudo ufw status` | |
# Add Rules for new ports | |
for PORT in $PORTS; do | |
echo $STATUS | grep "$PORT/udp" > /dev/null |
YouCompleteMe by oblitum é um fork da versão original com aprimoramentos para programadores C++ e C no Vim.
YouCompleteMe é uma engine para auxiliar o programador a digitar o código no Vim.
Essa versão oficial do plugin YouCompleteMe
#include <stdio.h> | |
#define TOKENPASTE(x, y) x ## y | |
#define TOKENPASTE2(x, y) TOKENPASTE(x, y) | |
#define UNIQUE_FUNC_NAME TOKENPASTE2(cleanuper_func_, __LINE__) | |
#define UNIQUE_VAR_NAME TOKENPASTE2(cleanuper_var_, __LINE__) | |
#define SCOPE_EXIT(code_) \ | |
void UNIQUE_FUNC_NAME(int *t __attribute__((unused))) \ | |
code_ \ |
I've been asked a few times over the last few months to put together a full write-up of the Git workflow we use at RichRelevance (and at Precog before), since I have referenced it in passing quite a few times in tweets and in person. The workflow is appreciably different from GitFlow and its derivatives, and thus it brings with it a different set of tradeoffs and optimizations. To that end, it would probably be helpful to go over exactly what workflow benefits I find to be beneficial or even necessary.
#include <utility> | |
#ifndef SCOPE_EXIT_H_ | |
#define SCOPE_EXIT_H_ | |
// modeled slightly after Andrescu’s talk and article(s) | |
namespace std { | |
namespace experimental { | |
template <typename EF> struct scope_exit { | |
// construction |
##Weechat+Arch Linux+Tor ###A Quick Guide for Anonymous and Pseudonymous irc I'm going to assume you know what irc is, and generally how it works. If you haven't gotten that far watch a youtube video and try out some of the commands on an irc webclient somewhere. On Arch Linux to install Weechat you can run sudo pacman -S weechat or you can download it from the official website at http://weechat.net/download/.
You can also install Tor from the official repositories, but If you are going to be making multiple connections to irc networks and you want to keep your identities seperate, I would recommend installing the Tor Browser Bundle as well. This should be done from the Tor website, and you should check the GnuPG signature on the package before running it. The key they have been using to sign the packages with for the months that I have been verifying it i
### Full command line options | |
``` | |
ffmpeg -f gif -i FOO.gif -pix_fmt yuv420p -c:v libx264 -movflags +faststart -filter:v crop='floor(in_w/2)*2:floor(in_h/2)*2' BAR.mp4 | |
``` | |
### Notie | |
* output mp4 is encoded with h264, support Firefox/Chrome/Safari in Windows, Mac OSX, Android, and iOS. |
#!/usr/bin/env sh | |
sudo update-alternatives --install \ | |
/usr/bin/llvm-config llvm-config /usr/bin/llvm-config-3.6 200 \ | |
--slave /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-3.6 \ | |
--slave /usr/bin/llvm-as llvm-as /usr/bin/llvm-as-3.6 \ | |
--slave /usr/bin/llvm-bcanalyzer llvm-bcanalyzer /usr/bin/llvm-bcanalyzer-3.6 \ | |
--slave /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-3.6 \ | |
--slave /usr/bin/llvm-diff llvm-diff /usr/bin/llvm-diff-3.6 \ | |
--slave /usr/bin/llvm-dis llvm-dis /usr/bin/llvm-dis-3.6 \ |