Python support is needed by vim in order to run things like Conque and Slimv. Arch keeps vim slim by only providing Python support in gvim. But you may prefer vim to gvim, so here's what's needed.
# Install and run abs (sync)
sudo pacman -S abs
Python support is needed by vim in order to run things like Conque and Slimv. Arch keeps vim slim by only providing Python support in gvim. But you may prefer vim to gvim, so here's what's needed.
# Install and run abs (sync)
sudo pacman -S abs
| # gem install httparty | |
| # ruby gists.rb | |
| require 'httparty' | |
| class Gists | |
| include HTTParty | |
| @username = 'x' | |
| @password = 'x' |
| mm@cereal:~/dytest$ rustc -C prefer-dynamic --crate-type=dylib fooz.rs | |
| mm@cereal:~/dytest$ cat fooz.rs | |
| #[no_mangle] | |
| pub extern "C" fn foo(x: int) { | |
| println!("Cowabunga, {}", x); | |
| } | |
| mm@cereal:~/dytest$ cat test.py | |
| import ctypes | |
| fooz = ctypes.CDLL("/home/mm/dytest/libfooz-afaf02c9-0.0.so") |
| #[link(name="python2.7")] | |
| extern { | |
| fn Py_SetProgramName(name: *u8); | |
| fn Py_Initialize(); | |
| fn PyRun_SimpleString(command: *u8); | |
| fn Py_Finalize(); | |
| } | |
| fn main() { | |
| let args = std::os::args(); |
| alias airport="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" | |
| CURRENT_WIFI_SSID=$(eval airport -I | grep '^[[:space:]]*SSID' | sed -e 's/^.*SSID: //g') | |
| proxy() { | |
| export addy='http://www-west.sony.com:80' | |
| git config --global http.proxy $addy | |
| git config --global https.proxy $addy | |
| npm config set http-proxy $addy | |
| npm config set https-proxy $addy |
| ; Emulating cps call using LLVM Coroutines | |
| ; RUN: opt coro-cps.ll -O2 -enable-coroutines -S | |
| define void @f(i32 %arg) { | |
| entry: | |
| %bar.ret.addr = alloca i32 | |
| %id = call token @llvm.coro.id(i32 0, i8* null, i8* null, i8* null) | |
| %size = call i32 @llvm.coro.size.i32() | |
| %alloc = call i8* @malloc(i32 %size) | |
| %hdl = call noalias i8* @llvm.coro.begin(token %id, i8* %alloc) |
| http://codeforces.com/problemset/problem/628/F | |
| http://codeforces.com/gym/100729 : Problem F | |
| http://codeforces.com/gym/100517 : Problem H | |
| http://codeforces.com/gym/101128 : Problem F | |
| http://codeforces.com/gym/100491 : Problem A | |
| http://codeforces.com/gym/101175 : Problem D (WF) | |
| http://codeforces.com/gym/101221 : Problem I (WF) | |
| http://codeforces.com/gym/100800 : Problem A | |
| http://codeforces.com/gym/101239 : Problem C (WF) | |
| http://codeforces.com/gym/101208 : Problem C (WF) |
| {-# language FlexibleInstances #-} | |
| {-# language DefaultSignatures #-} | |
| {-# language RankNTypes #-} | |
| {-# language MultiParamTypeClasses #-} | |
| {-# language QuantifiedConstraints #-} | |
| module Data.Group.Graded where | |
| import Data.Functor.WithIndex | |
| import Data.Group | |
| import Data.Map (Map) |