All public logs

Jump to navigation Jump to search

Combined display of all available logs of delarco wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 19:06, 25 August 2022 200.201.163.25 talk created page Node.js: STDIN (Created page with "<pre> var stdin = process.openStdin(); stdin.addListener("data", function(d) { // note: d is an object, and when converted to a string it will // end with a linefeed. so we (rather crudely) account for that // with toString() and then trim() console.log("you entered: [" + d.toString().trim() + "]"); }); </pre>")
  • 18:08, 25 August 2022 200.201.163.25 talk created page Python: PDF Image Extractor (Created page with "<pre> import os import sys import logging import subprocess from PIL import Image, ImageSequence def extract_pdf_images(filepath, directory, ghostscript_path): cwd = r'.' cmd = r'{gs_path} -o "{directory}\p-%03d-000.png" -sDEVICE=png16m -dNOSAFER -r300 {filepath}'.format(gs_path=ghostscript_path, directory=directory, filepath=filepath) subprocess.check_output(cmd, cwd=cwd, shell=True) #def extract_tif_images(filepath, directory): # im = Image....")
  • 01:08, 25 May 2022 200.201.163.25 talk created page Python: Dictonary Object (Created page with "<pre> def obj_dic(d): top = type('new', (object,), d) seqs = tuple, list, set, frozenset for i, j in d.items(): if isinstance(j, dict): setattr(top, i, obj_dic(j)) elif isinstance(j, seqs): setattr(top, i, type(j)(obj_dic(sj) if isinstance(sj, dict) else sj for sj in j)) else: setattr(top, i, j) return top </pre>")
  • 08:58, 3 January 2022 187.75.9.138 talk created page Python: Jupyter (Created page with "<h3>How to Install Jupyter Notebook Without Anaconda</h3> <pre> python -m pip install -upgrade pip python3 -m pip install -upgrade pip python -m pip install jupyter jupyter notebook </pre> <h3>How to Install Python Libraries in Jupyter Notebook</h3> <pre> import sys !{sys.executable} -m pip install pandas </pre>")
  • 18:28, 27 December 2021 200.201.163.25 talk created page Python: OpenCV Pepper and Salt Noise (Created page with "<pre> PYTHON OPENCV PEPPER AND SALT NOISE row,col,ch = crop_img.shape p = 0.5 a = 0.009 noisy = crop_img.copy() # Salt mode num_salt = np.ceil(a * crop_img.size * p) coords = [np.random.randint(0, i - 1, int(num_salt)) for i in crop_img.shape] noisy[coords] = 1 # Pepper mode num_pepper = np.ceil(a * crop_img.size * (1. - p)) coords = [np.random.randint(0, i - 1, int(num_pepper)) for i in crop_img.shape] noisy[coords] = 0 median_blur= cv2.medianBlur(noisy, 3) display...")
  • 02:05, 25 October 2021 200.201.163.25 talk created page CS: MyExtra (Created page with "Add reference to Attachmate EXTRA! 7.1 Object Library (Reference Manager -> COM) <pre> public class MyExtra { private EXTRA.ExtraSystem m_ExtraSystem; private...")
  • 23:54, 19 October 2021 200.201.163.25 talk created page Python: Flask Base (Created page with "app.py <pre> from flask import Flask, render_template app = Flask(__name__) @app.route('/') def hello(): return render_template("home.html", message="Hello Flask!") @...")
  • 06:31, 24 September 2021 Delarco talk contribs created page Tor (Created page with "<div><a href="https://stackoverflow.com/questions/34512989/how-to-specify-ip-country-on-tor-windows">https://stackoverflow.com/questions/34512989/how-to-specify-ip-country-on-...")
  • 06:30, 24 September 2021 Delarco talk contribs created page Python: Cryptography (Created page with "<div><strong><br>Fernet<br></strong><br></div><pre><strong>from</strong> <strong>cryptography.fernet</strong> <strong>import</strong> Fernet key = Fernet.generate_key() <stro...")
  • 06:30, 24 September 2021 Delarco talk contribs created page Python: Base64 (Created page with "<pre><strong>import</strong> <strong>base64</strong> <strong>def</strong> encode(message: str) -> str: message_bytes = message.encode('ascii') base64_bytes = base6...")
  • 06:29, 24 September 2021 Delarco talk contribs created page Python: ASCII Banner (Created page with "<pre><strong>import</strong> <strong>pyfiglet</strong> ascii_banner = pyfiglet.figlet_format("HELLO THERE") <strong>print</strong>(ascii_banner)</pre><div><br></div>")
  • 06:29, 24 September 2021 Delarco talk contribs created page Python: Timer, Sleep, Decorator (Created page with "<pre><strong>import</strong> <strong>time</strong> start_time = time.time() <em># ...</em> time.sleep(5.6) <em># ...</em> elapsedSecondes = time.time() - start_time elaps...")
  • 06:28, 24 September 2021 Delarco talk contribs created page Angular: Web.config (Created page with "<pre><strong><system.webServer></strong> <strong><rewrite></strong> <strong><rules></strong> <strong><rule</strong> name="AngularJS Cond...")
  • 06:28, 24 September 2021 Delarco talk contribs created page Angular: Countdown (Created page with "<pre><strong>let</strong> countDownValue = 5; <strong>let</strong> countDownTimerSubs = timer(0, 1000) .pipe( take(countDownValue), map(() => --countDownValue)...")
  • 06:27, 24 September 2021 Delarco talk contribs created page Angular: Base (Created page with "<h1>Packages</h1><ul><li>Base</li><li><pre>npm i jquery bootstrap ngx-bootstrap ngx-toastr</pre></li><li>FontAwesome</li><li><pre>npm install --save-dev @fortawesome/fontaweso...")
  • 06:26, 24 September 2021 Delarco talk contribs created page Box: SIGEL Situações (Created page with "<div>SITUAÇÃO | DESCRIÇÃO | <br><strong>01 ATIVO</strong> | <strong>ATIVO</strong><br><strong>02 SUSPENSO LICENÇA S/RET. TERMINAL</strong> | <strong>SUSPENSO LICENÇA S/R...")
  • 06:23, 24 September 2021 Delarco talk contribs created page Python: Virtual Environment (Created page with "<pre>python -m venv .env</pre>")
  • 06:22, 24 September 2021 Delarco talk contribs created page Box: Sistemas (Created page with "<div>SISTEMA |  | GESTOR<br>SIDEO | Tesouro Direto | <br>SIDEC |  | <br>SIGPF |  | <br>SIART |  | <br>SIFIX |  | <br>SICAC |&...")
  • 00:09, 24 September 2021 MediaWiki default talk contribs created page Main Page