C:\Users\USERNAME\AppData\Local\Packages\Microsoft.WindowsTerminal_rnd\LocalState\profiles.json
"profiles": {
"defaults": {
"fontFace": "Migu 1M",
"fontSize": 11
},
"list": [
...
C:\Users\USERNAME\AppData\Local\Packages\Microsoft.WindowsTerminal_rnd\LocalState\profiles.json
"profiles": {
"defaults": {
"fontFace": "Migu 1M",
"fontSize": 11
},
"list": [
...
<!doctype html> | |
<html lang="en" ng-app="front"> | |
<head> | |
<meta charset="utf-8"> | |
<title>angular simple example</title> | |
</head> | |
<body> | |
<!-- update this div --> | |
<div ng-view></div> |
> function Some() { this.say = say; return this; function say(msg) { console.log(msg); } } | |
undefined | |
> Some().say('ใใใใใ'); | |
ใใใใใ | |
undefined |
>>> lst = [] | |
>>> def deco(f): | |
... lst.append(f) | |
... | |
>>> @deco | |
... def main(): | |
... pass | |
... | |
>>> print(['{f.__module__}.{f.__name__}'.format(f=f) for f in lst]) | |
['__main__.main'] |
(defun fact (n &optional m) ( | |
if (zerop n) | |
m | |
(fact (1- n) (if m (* m n) n)) | |
)) |
>>> timeit.timeit('{x: x for x in range(10000)}', number=1000) | |
0.5202829837799072 | |
>>> timeit.timeit('dict((x, x) for x in range(10000))', number=1000) | |
1.0116031169891357 |
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
def fizzbuzz(): | |
loop = [ | |
None, | |
None, | |
'fizz', | |
None, |
diff --git a/vim/PKGBUILD b/vim/PKGBUILD | |
index ba3e6990049c..3f45acb5a503 100644 | |
--- a/vim/PKGBUILD | |
+++ b/vim/PKGBUILD | |
@@ -2,8 +2,8 @@ | |
pkgname=vim | |
_topver=7.4 | |
-_patchlevel=728 | |
-__hgrev=9782a8aa2d7f |
# -*- coding: utf-8 -*- | |
import mock | |
import contextlib | |
@contextlib.contextmanager | |
def hoge(): | |
yield u'ใใชใซใใธใใ' | |