Just use Spotify's garbage collector by simply running
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock spotify/docker-gc| class Car | |
| { | |
| public: | |
| Car() | |
| :_status(0x00) | |
| { | |
| } | |
| void setLocked() | |
| { |
| struct Vector2 | |
| { | |
| double x; | |
| double y; | |
| }; | |
| struct Triangle2 | |
| { | |
| Vector2 v[3]; | |
| }; |
| #ifdef WIN32 | |
| int WINAPI WinMain(HINSTANCE instance, HINSTANCE prev_instance, char* command_line, int show_command) | |
| { | |
| int argc; | |
| char** argv; | |
| char* arg; | |
| int index; | |
| int result; | |
| // count the arguments |
| class A | |
| { | |
| public: | |
| const B& getB() const | |
| { | |
| return _myB; | |
| } | |
| void setB(const B& newB) const | |
| { | |
| _myB = newB; |
| ### Cocos2dx package configuration ### | |
| # This module configure the cocos2dx libs. | |
| # | |
| # WARNING: This is not supposed to be a full fledged configuration file, | |
| # it just supports our current needs | |
| # | |
| # It defines the following: | |
| # - COCOS2DX_INCLUDE_DIRS (include directories); | |
| # - The imported target libcocos2d (shared library); | |
| # - COCOS2DX_DLLS_RELEASE (if WIN32 - all needed release dlls); |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| # Version 2, December 2004 | |
| # | |
| # Copyright (C) 2013 Clodéric Mars <cloderic.mars@masagroup.net> | |
| # | |
| # Everyone is permitted to copy and distribute verbatim or modified | |
| # copies of this license document, and changing it is allowed as long |
| from scene import * | |
| from collections import namedtuple | |
| import copy | |
| import random | |
| class Vector2: | |
| def __init__(self, x = 0.0, y = 0.0): | |
| self.x = x | |
| self.y = y | |
Just use Spotify's garbage collector by simply running
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock spotify/docker-gc| #!/bin/bash | |
| host=$1 | |
| echo "Adding $host to the ssh known hosts..." | |
| ssh-keyscan -t rsa,dsa $host 2>&1 | sort -u - ~/.ssh/known_hosts > ~/.ssh/tmp_hosts | |
| cat ~/.ssh/tmp_hosts >> ~/.ssh/known_hosts |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| import subprocess | |
| import os | |
| import shutil | |
| import sys | |
| import datetime |