This file contains 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
javascript:(() => { const ignoredWords = /Formula.?1|%C3%81zsia Expressz|Boyard|X-Faktor|Sztarbox|MotoGP|Sztarban.sztar|Megasztar|Kisertes|ValoVilag|Azsia.express|Az.arulok|orokosok|House.of.the.Dragon/i; const weigths = { xvid_hun: 500, xvid: 500, dvd_hun: 500, dvd: 500, dvd9_hun: 500, dvd9: 500, hd_hun: 500, hd: 500, xvidser_hun: 300, xvidser: 300, dvdser_hun: 300, dvdser: 300, hdser_hun: 300, hdser: 300, }; document.querySelectorAll('.box_torrent').forEach((box) => { box.removeAttribute('hidden'); const category = box.querySelector('.box_alap_img a').getAttribute('href').match(/tipus=(.*)?/)[1]; const title = box.querySelector('.torrent_txt a')?.getAttribute('title'); const popularity = box.querySelector('.box_d2').innerText.length; const uploadDate = box.querySelector('.box_feltoltve2').innerText; const seeders = parseInt(box.querySelector('.box_s2').innerText, 10) + Math.log2((new Date() - new Date(uploadDate).getTime |
This file contains 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 fs = require("fs"); | |
console.log(Object.keys(process.memoryUsage()).join("\t")); | |
console.log( | |
Object.values(process.memoryUsage()) | |
.map((value) => Math.round(value / 1e4) / 100) | |
.join("\t") | |
); |
This file contains 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-EventLog -Log Security -Newest 100 -InstanceId 5152 -Message "*%%14593*" | Sort-Object -Property TimeGenerated | Select-Object -ExpandProperty Message | ? { $_ -notlike "*svchost*" } | % { $_ -split "\r\n" } | ? { $_ -like "*Application Name*" -or $_ -like "*Destination*" } | % { $_ -replace "\\device\\harddiskvolume.",":" } | |
$path = Read-Host 'Path: ' | |
$appName = Read-Host 'App name: ' | |
$date = Get-Date -Format "yyyy-MM-dd" | |
Write-Output "XX $appName / $date" | |
New-NetFirewallRule -DisplayName "XX $appName / $date" -Direction Outbound -Program $path -Action Allow |
This file contains 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
The arsenal, armory & library by Maderas (@hackermaderas, #CyberpunkisNow) 6/8/2019 | |
Original / 1st version here: https://pastebin.com/rMw4WbhX | |
___________________________________________________________________________________ | |
# Basic knowledge requirements for Red Teaming, PenTesting, Hacking & Cybersecurity | |
# These are the basic competencies expected (and tested for during the in-person technical interview) by one of the largest, most visible InfoSec companies # on Earth. | |
This file contains 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
<app-spinner *ngIf="someGetApiResult.loading$ | async"></app-spinner> | |
<app-table [data]="data$ | async"></app-table> |
This file contains 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
this.someGetApiResult.loading$.subscribe(loading => console.log(loading)); | |
this.data$ = this.someGetApiResult.data$.pipe(map(someParsingLogic)); |
This file contains 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
this.apiFacade.callApi(new SomePostApiCall({ property: 'value' }, false)); | |
this.apiFacade.callApi({ | |
url: '/api/get/some', | |
data: { property: 'value' }, | |
useExisting: false, | |
}); |
This file contains 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
import { ApiCallItem } from '@modules/api/model/api-call-item.model'; | |
export class SomeGetApiCall implements ApiCallItem { | |
public url: string = '/api/get/some'; | |
} | |
export class SomePostApiCall implements ApiCallItem { | |
public url: string = '/api/get/some#Distinctive-hashtag'; | |
public auth: boolean = true; |
This file contains 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
this.someGetApiResult = this.apiFacade.createApiResults(new SomeGetApiCall()); | |
// lazy! | |
this.someGetApiResult = this.apiFacade.createApiResults({ url: '/api/get/some' }); |
This file contains 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
this.apiFacade.callApi(new SomeGetApiCall()); | |
// or, lazy-way: | |
this.apiFacade.callApi({ url: '/api/get/some' }); |
NewerOlder