Skip to content

Instantly share code, notes, and snippets.

View dejanbatanjac's full-sized avatar
🏠

Dejan Batanjac dejanbatanjac

🏠
View GitHub Profile
@dejanbatanjac
dejanbatanjac / React input and feedback
Created January 28, 2017 13:03
Input changes the feedback.
import React from "react";
import ReactDOM from "react-dom";
class Text extends React.Component{
constructor(props){
super(props);
}
render() {
@dejanbatanjac
dejanbatanjac / \n([ ]{4}.*\n)+\n
Created November 18, 2016 15:00
Regular expressionists
Welcome to RegExr v2.1 by gskinner.com, proudly hosted by Media Temple!
Edit the Expression & Text to see matches. Roll over matches
or th
Σὲ γνωρίζω ἀπὸ τὴν κόψη τοῦ σπαθιοῦ τὴν τρομερή, σὲ γνωρίζω ἀπὸ τὴν ὄψη
ποὺ μὲ βία μετράε ι τὴ γῆ.e expression for details. Undo mistakes with ctrl-z.
Save Favoritese in the Library, or watch the video Tutorial.
# Travis CI configuration file.
# @link https://travis-ci.org/
# For use with the Twenty Seventeen WordPress theme
# @link https://github.com/WordPress/twentyseventeen/
# Declare project language and PHP versions to test against.
# @link http://about.travis-ci.org/docs/user/languages/php/
language: php
@dejanbatanjac
dejanbatanjac / git tips
Last active October 22, 2016 21:45
git tips
atom = change set
---
states = (fs) (staged) (stashed)
(lntb) (ltb) (rtb)
(rb)
---
states complex (fs, staged), ...
---
$ cp -a /source/. /dest/
$ rsync -r source/* destination
$ tput cols
$ tput lines
$ echo -e "\na\na" | grep --count ^
$ echo -e "\na\na" | wc -l