This file contains hidden or 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
const cheerio = require('cheerio'); | |
const fs = require('fs-extra'); | |
const got = require('got'); | |
const writeStream = fs.createWriteStream('quote.csv'); | |
async function init() { | |
const url = 'https://quotes.toscrape.com'; | |
const response = await got(url); | |
const $ = cheerio.load(response.body); | |
writeStream.write('quote,author,tags\n'); |
This file contains hidden or 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
@echo off | |
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer /t REG_DWORD /v EnableAutoTray /d 0 /f | |
taskkill /f /im explorer.exe | |
start explorer.exe |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] | |
"EnableAutoTray"=dword:00000001 |
This file contains hidden or 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
@echo off | |
set _operation=%1 | |
set _file=%2 | |
if not exist %_file% goto error_file | |
if %_operation%==enabled GOTO enabled | |
if %_operation%==disabled GOTO disabled | |
if %_operation%==stop GOTO disabled | |
if %_operation%==start GOTO disabled |
This file contains hidden or 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
get-appxpackage | sort-object -property name | format-table -property name,packagefullname | |
get-appxpacakge *<partname>* | select-object -first 1 | |
get-appxpackage <name> | remove-appxpackage | |
remove-appxpackage <packagefullname> | |
get-appxpackage -allusers | foreach { add-appxpackage -disabledevelopmentmode -register "$($_.installLocation)\AppXManifest.xml" } | |
Set-ExecutionPolicy RemoteSigned | |
Set-ExecutionPolicy Restricted | |
Set-ExecutionPolicy Unrestricted | |
sfc /scannow | |
dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String Microsoft.549981C3F5F10 |
This file contains hidden or 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
wmic product list full | |
wmic product where "name like '%%thing%%'" get name,vendor | |
wmic product where "name like '%%thing%%'" call uninstall |
This file contains hidden or 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
set nocompatible | |
set ttyfast | |
" ERROR | |
set noerrorbells | |
set novisualbell | |
" ENCODING | |
set encoding=utf-8 | |
" set termencoding=utf-8 | |
" set fileencodings=utf-8 | |
" VISUALIZATION |
This file contains hidden or 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
dism /Online /Add-Package /PackagePath:"PATH\TO\CAB" | |
wmic qfe list full muestra el listado de actualizaciones |
This file contains hidden or 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
alias com="javac Main.java && java Main" |
This file contains hidden or 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
#!/bin/bash | |
declare fullpath="${1}" | |
if [[ "${fullpath}" != */src/* ]];then | |
echo "src directory not found" | |
fi | |
declare directory="${fullpath%/src/*}" | |
declare src="${directory}/src" | |
declare build="${directory}/build" | |
declare classpath |
OlderNewer