Skip to content

Instantly share code, notes, and snippets.

@kumar8600
kumar8600 / gen_cargo_vscode.py
Last active November 20, 2016 08:58
Generates cargo executable project and debugging configurations for vscode.
# -*- coding: utf-8 -*-
"""Generates cargo executable project and debugging configurations for vscode.
Calls `cargo new <project_name> --bin`
and generates vscode configurations for debugging via the Native Debug extension.
Usage: python gen_cargo_vscode.py <project_name>
"""
import sys
import os
@kumar8600
kumar8600 / .editorconfig
Created March 20, 2017 15:10
Visual Studio 2017 C++ 用 EditorConfig
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# C++
[*.{c,cpp,h}]
indent_style = space
indent_size = tab
tab_width = 4
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/CameraUi.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class ikApp : public App {
@kumar8600
kumar8600 / smb.conf
Created September 26, 2019 15:31
ホームディレクトリを読み書きするための smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as