- Update
- Cleanup
- Optimize
- Run Windows Update
- Installng update requires 2 GB memory.
| import email.utils | |
| import mimetypes | |
| import os | |
| from contextlib import contextmanager | |
| from http import HTTPStatus | |
| from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer | |
| from io import StringIO | |
| from zipfile import ZipFile | |
| DOC_DIR = '/directory/containing/zip/files' |
| class RemoteService { | |
| #id = 0; | |
| #socket = null; | |
| #queue = new Map(); | |
| constructor(wsUrl) { | |
| this.#socket = new WebSocket(wsUrl); | |
| this.#socket.addEventListener('error', error => console.log('socket error: ', error)); | |
| this.#socket.addEventListener('message', this._onMessage.bind(this)); | |
| return new Promise((resolve, reject) => { |
| RunWithShellToken(cmd, args := '', workingDir := '') { | |
| static token := 0 | |
| static startupInfo := 0 | |
| static processInfo := 0 | |
| if !startupInfo { | |
| startupInfo := Buffer(7 * A_PtrSize + 9 * 4 + 2 * 2, 0) | |
| NumPut('Int', startupInfo.Size, startupInfo) ; cb | |
| NumPut('Int', 1, startupInfo, 4 + 3 * A_PtrSize + 4 * 7) ; dwFlags STARTF_USESHOWWINDOW | |
| NumPut('UShort', 5, startupInfo, 4 + 3 * A_PtrSize + 5 * 7) ; wShowWindow SW_SHOW |
| HexToDec(h) { | |
| SetFormat, integer, D | |
| d := 0 | |
| d += "0x" h | |
| return, d | |
| } | |
| PasteColor() { | |
| c := Clipboard | |
| If (RegExMatch(c, "^#[A-Za-z0-9]{6}$")) { |
| func s:Term() | |
| let terms = term_list() | |
| if len(terms) > 0 | |
| let winid = win_findbuf(terms[0]) | |
| let winnr = win_id2tabwin(winid[0]) | |
| exe 'tabnext '.winnr[0] | |
| exe winnr[1].'wincmd w' | |
| else | |
| tab term | |
| endif |
| mkdir php-doc | |
| pushd php-doc | |
| git clone --depth=1 https://github.com/php/phd | |
| mkdir phpdoc | |
| pushd phpdoc | |
| git clone --depth=1 https://github.com/php/doc-base | |
| git clone --depth=1 https://github.com/php/doc-en en | |
| php doc-base\configure.php --enable-chm | |
| popd |
| import os | |
| import re | |
| import sys | |
| from io import StringIO | |
| from lxml import etree | |
| SPECIAL_CHARACTERS = { | |
| 7: 'a', # BELL | |
| 8: 'b', # BS |
| diff --git a/PKGBUILD b/PKGBUILD | |
| index 8a964c7..2a2cdfc 100644 | |
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -1,6 +1,6 @@ | |
| # Maintainer: Marcel Campello Ferreira <marcel.campello.ferreira@gmail.com> | |
| pkgname=neo4j-community | |
| -pkgver=3.0.6 | |
| +pkgver=3.2.3 | |
| pkgrel=1 |
| "use strict"; | |
| global.env = process.env.NODE_ENV || 'production'; | |
| var nconf = require('nconf'), | |
| async = require('async'); | |
| nconf.file({file: "config.json"}) | |
| var db = require('./src/database'); |