Discover gists
View bashrc
| # vim: ft=sh | |
| # No brainer, default to Vim | |
| export EDITOR="vim" | |
| # Color LS output to differentiate between directories and files | |
| export LS_OPTIONS="--color=auto" | |
| export CLICOLOR="Yes" | |
| export LSCOLOR="" |
View YUV400.py
| import argparse | |
| import math | |
| import sys | |
| from pathlib import Path | |
| from typing import List | |
| import imageio | |
| import matplotlib.pyplot as plt | |
| import numpy as np |
View SiteCollectionPathScopdQuery.ps1
| [System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials | |
| [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls11 -bor [System.Net.SecurityProtocolType]::Tls12 | |
| Import-Module -Name SharePointPnPPowerShellOnline -WarningAction SilentlyContinue | |
| $tenantUrl = "https://contoso.sharepoint.com" | |
| $outputPath = "E:\_temp\SearchResults_$(Get-Date -Format yyyymmdd_hhmmss).csv" | |
| $inputPath = "E:\_temp\input.csv" | |
| if( $credential -eq $null ) |
View cordovaRun
| cordova run android |
View gist:6ebaf736f3611768fec629e6561af5cc
| Optional<Serializable> linkedDocumentsMarks = IntStream.range(0, linkedDocumentsList.size()).parallel().filter(value -> { | |
| try { | |
| String linkType = linksTypes.get(value); | |
| return Arrays.asList(linkType.split("#")).contains(associationKind);//associationKind.equals(linkType); | |
| }catch (Exception e){ | |
| // логгер почему-то не работал в отчетах | |
| e.printStackTrace(); | |
| logger.error("Ошибка в связях документов для узла " + doc.toString(),e); | |
| return false; | |
| } |
View DupeFile - 76561198153573056.json
| { | |
| "CharacterClass": "RexAdultS", | |
| "DNA": "", | |
| "Location_Isle_V3": "X=-247641.109 Y=550687.625 Z=-22163.938", | |
| "Rotation_Isle_V3": "P=0.000000 Y=60.361355 R=0.000000", | |
| "Growth": "1.0", | |
| "Hunger": "1713", | |
| "Thirst": "58", | |
| "Stamina": "100", | |
| "Health": "6500", |
View SaveFile - 76561198153573056.json
| { | |
| "CharacterClass": "RexAdultS", | |
| "DNA": "", | |
| "Location_Isle_V3": "X=-247641.109 Y=550687.625 Z=-22163.938", | |
| "Rotation_Isle_V3": "P=0.000000 Y=60.361355 R=0.000000", | |
| "Growth": "1.0", | |
| "Hunger": "1713", | |
| "Thirst": "58", | |
| "Stamina": "100", | |
| "Health": "6500", |
View PY0101EN-5-1-Numpy1D.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View output_log.txt
| Log uploaded on Friday, August 7, 2020, 3:39:19 PM | |
| Loaded mods: | |
| Harmony(brrainz.harmony)[mv:1.0.4.0]: 0Harmony(2.0.2), HarmonyMod(1.0.4) | |
| Core(Ludeon.RimWorld): (no assemblies) | |
| Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
| HugsLib(UnlimitedHugs.HugsLib)[ov:7.2.1]: HugsLib(av:1.0.0,fv:7.2.1), 0Harmony(av:2.0.2,fv:1.2.0.1) | |
| Tables+(SaintHAku870.TablesS): (no assemblies) | |
| ResearchPal(notfood.ResearchPal)[mv:1.1.3.0]: 0MultiplayerAPI(av:0.1.0,fv:0.1.0), ResearchTree(av:3.0.0,fv:3.13.503) | |
| CleaningArea(hatti.cleaningarea): CleaningArea(av:1.0.3,fv:1.0.3), 0Harmony(av:2.0.2,fv:1.1.0) | |
| Camera+(brrainz.cameraplus)[mv:2.0.4.0]: CameraPlus(2.0.4), 0Harmony(av:2.0.2,fv:1.2.0.1) |
NewerOlder