docker build -t ovatman/blg223 .
docker image ls
docker run -p 2222:22 --name blg223e --hostname blg223e -d ovatman/blg223
docker ps --all
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 <iostream> | |
#include <new> | |
using namespace std; | |
class A { | |
public: | |
A(int, int); | |
void f(); |
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
# https://stackoverflow.com/a/67861019 | |
import vlc | |
import tkinter as tk | |
root = tk.Tk() | |
frame = tk.Frame(root, width=700, height=600) | |
frame.pack() |
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 <cstdio> | |
template <typename DType> | |
class A { | |
public: | |
template <typename... Rest> | |
A(DType, Rest...); | |
A(DType); | |
}; |
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
/* | |
* Kurbanı tam yatırdık kesecez, kaldırdı | |
* kafayı, "Trabzon neden bu kadar küçük?" | |
* diye sordu. Boğazım tutuldu, cevap | |
* veremedim. Koydu geri kafayı, "Trabzon | |
* kadar küçük bir takımla aynı dünyada | |
* bulunmak istemiyorum kesin abi beni" | |
* dedi. Mahvoldum şu an. | |
* | |
*/ |
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
/* | |
* Kurbanı tam yatırdık kesecez, kaldırdı | |
* kafayı, "Trabzon neden bu kadar küçük?" | |
* diye sordu. Boğazım tutuldu, cevap | |
* veremedim. Koydu geri kafayı, "Trabzon | |
* kadar küçük bir takımla aynı dünyada | |
* bulunmak istemiyorum kesin abi beni" | |
* dedi. Mahvoldum şu an. | |
* | |
*/ |
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
class Faction: | |
def __init__(self, | |
name, | |
num_of_units, | |
attack_point, | |
health_point, | |
unit_generation_num): | |
self.name = name | |
self.num_of_units = num_of_units | |
self.attack_point = attack_point |
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 <string> | |
#include <iostream> | |
using namespace std; | |
class Faction { | |
public: | |
string name; | |
Faction* first_enemy; |
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
from geometry_msgs.msg import Twist | |
from sensor_msgs.msg import LaserScan, Image | |
import rospy | |
import cv_bridge | |
import cv2 | |
class Stick: | |
def __init__(self): | |
self.cmd_vel_pub = rospy.Publisher('cmd_vel', Twist, queue_size = 10) | |
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
/* | |
__ ___ .______ .______ ___ ____ ____ | |
| | / \ | _ \ | _ \ / \ \ \ / / | |
| | / ^ \ | |_) | | |_) | / ^ \ \ \/ / | |
.--. | | / /_\ \ | / | _ < / /_\ \ \_ _/ | |
| `--' | / _____ \ | |\ \----.| |_) | / _____ \ | | | |
\______/ /__/ \__\ | _| `._____||______/ /__/ \__\ |__| | |
------------------------------------------------------------------------- |
NewerOlder