Skip to content

Instantly share code, notes, and snippets.

View lishunan246's full-sized avatar
🍥
神楽めあは世界一可愛い

复读机 lishunan246

🍥
神楽めあは世界一可愛い
View GitHub Profile
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@yasuharu519
yasuharu519 / HelloWorld.cpp
Created November 3, 2014 15:29
CSB Load sample for cocos2d-x 3.3rc0
#include "HelloWorldScene.h"
#include "editor-support/cocostudio/CocoStudio.h"
USING_NS_CC;
Scene* HelloWorld::createScene()
{
auto scene = Scene::create();
auto layer = HelloWorld::create();
scene->addChild(layer);
@darkdukey
darkdukey / MyWidget.cpp
Last active March 20, 2019 06:20
Cocos Studio Event Callback example
#include "MyWidget.h"
#include "ui/UIText.h"
USING_NS_CC;
using namespace std;
using namespace cocos2d::ui;
MyWidget::MyWidget(){}
Widget::ccWidgetTouchCallback MyWidget::onLocateTouchCallback(const string &callBackName)
{
@BartG95
BartG95 / build_opencv.md
Last active January 30, 2023 21:30
How to: build OpenCV x64 with Qt on Visual Studio 2015 Community Preview and Windows 10 Preview (build 10162)

Note: since I switched to GNU+Linux (a libre operating system, which I recommend), I don't maintain this tutorial anymore. Also, be aware that this tutorial is about preview software that is superseded by multiple stable releases. Consider all information below as outdated and possibly wrong.

How to: build OpenCV x64 with Qt on Visual Studio 2015 Community Preview and Windows 10 Preview (build 10162)

Introduction

As I'm an update addict, I like to try preview software. Or I'm an update addict because I like preview software. I don't know. Anyway, before my holiday started, I used OpenCV for a project in college. I like the library, because it's possible to achieve funny things with it and it makes computer vision easy. So when my holiday began, I started using OpenCV for some fun projects. And then I upgraded Windows 10. It wasn't stable back then, but I didn't need my pc for a while, so I could try it. Also I installed Visual Studio 2015 and I started to make an OpenCV project.

Unfortunately, th

@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active July 26, 2024 10:08
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized