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
import java.util.Scanner; | |
import java.util.Queue; | |
import java.util.LinkedList; | |
public class MazeMain { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
int startX = 0, startY = 0; | |
int goalX = 0, goalY = 0; |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import numpy as np | |
import matplotlib.pyplot as plt | |
n = 100 | |
# x,yのデータ | |
x = np.arange(0, n, 1) |
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
ls /usr/local/cuda/lib64/ | grep '7\.5$' | sed 's/\.7\.5//g' | xargs -I{} sudo ln -s {}.7.5 /usr/local/cuda/lib64/{}.8.0 |
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
find /usr -name '*cudnn*' -print |
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 | |
# NOTICE: This script must be run as root, | |
# and it also need some packages -> sshpass | |
# To install it, run the code below. | |
# `sudo apt-get install sshpass` | |
##### GitLab ##### | |
# Run Backup | |
/opt/gitlab/bin/gitlab-rake gitlab:backup:create |
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
# "hoge"が含まれるファイルを探索 | |
grep hoge ./* | |
# ディレクトリ内を掘って全ファイルを探索 | |
grep -ilr hoge ./* |
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
"source":\s\[\n(((.*),\n)*)(.*)\n\s\s\s\] |
あなたは flag にアクセスする権限を持っていますか?
Host: pwn1.chall.beginners.seccon.jp
Port: 16268