Skip to content

Instantly share code, notes, and snippets.

View sergey-nikitin-ai's full-sized avatar
🎯
Focusing

Sergey Nikitin sergey-nikitin-ai

🎯
Focusing
View GitHub Profile
@Duroktar
Duroktar / package.json
Created September 23, 2017 16:34
Continuous TDD with pytest in Python using NPM and Nodemon
{
"name": "pytest-nodemon-watch",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"test": "pytest",
"test:watch": "nodemon --exec \"pytest\" *.py"
},
"nodemonConfig": {
"ignore": [
@maztch
maztch / bitbucket-webhook.php
Last active February 24, 2025 10:38
A simple php script for deploy using bitbucket webhook
<?php
//edit with your data
$repo_dir = '~/repository.git';
$web_root_dir = '~/project';
$post_script = '~/project/scripts/post_deploy.sh';
$onbranch = 'master';
// A simple php script for deploy using bitbucket webhook
// Remember to use the correct user:group permisions and ssh keys for apache user!!
// Dirs used here must exists on server and have owner permisions to www-data
@PurpleBooth
PurpleBooth / README-Template.md
Last active March 12, 2026 19:44
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@ikiw
ikiw / xmlTemplate.js
Created July 17, 2015 14:45
XML templating in Ui5
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>test</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5/resources/sap-ui-core.js'
data-sap-ui-theme='sap_goldreflection'
data-sap-ui-libs='sap.ui.commons,sap.ui.ux3'></script>
@nkbt
nkbt / .eslintrc.js
Last active July 21, 2025 17:55
Strict ESLint config for React, ES6 (based on Airbnb Code style)
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {