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
I am the Miaou user with id 7718 and name "mu_mind" on https://miaou.dystroy.org |
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
diff --git a/lib/src/parser/mod.rs b/lib/src/parser/mod.rs | |
index 032c79870f..7d5670577f 100644 | |
--- a/lib/src/parser/mod.rs | |
+++ b/lib/src/parser/mod.rs | |
@@ -1,8 +1,9 @@ | |
use crate::data::VimModule; | |
use crate::{Error, VimNode, VimPlugin}; | |
use std::ffi::OsStr; | |
-use std::path::{Path, PathBuf}; | |
+use std::path::Path; |
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
call plug#begin('~/.vim/plugged') | |
Plug 'google/vim-maktaba' | |
Plug 'google/vim-codefmt' | |
Plug 'google/vim-glaive' | |
call plug#end() | |
call glaive#Install() |
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
""" | |
Response to | |
http://venodesigns.net/2010/11/02/emulating-rubys-method_missing-in-python/ | |
If you're going to enumerate each "missing method" and its args, why not just | |
define a stub? | |
""" | |
class Twython(object): | |
def __init__(self, params): |
This file has been truncated, but you can view the full file.
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
--- modulename: req, funcname: prepare_files | |
req.py(898): unnamed = list(self.unnamed_requirements) | |
req.py(899): reqs = list(self.requirements.values()) | |
--- modulename: req, funcname: values | |
req.py(754): values_list = [] | |
req.py(755): for key in self._keys: | |
req.py(757): return values_list | |
req.py(900): while reqs or unnamed: | |
req.py(901): if unnamed: | |
req.py(902): req_to_install = unnamed.pop(0) |
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
import random | |
class Vehicle(object): | |
def __init__ (self, _id): | |
self.company = None | |
self.id = _id | |
def printDoors(self): | |
print 'Car ' + str(self.id) + ' has ' + str(self.doors) + ' doors.' |
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
import simplejson | |
import sqlalchemy | |
from sqlalchemy import String | |
from sqlalchemy.ext.mutable import Mutable | |
class JSONEncodedObj(sqlalchemy.types.TypeDecorator): | |
"""Represents an immutable structure as a json-encoded string.""" | |
impl = String |
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
#!/usr/bin/env python | |
import glob | |
import os | |
import setuptools | |
import sys | |
import types | |
def show_all_files(*args, **kw): | |
# package files |