Skip to content

Instantly share code, notes, and snippets.

View aga5tya's full-sized avatar

Prithvi Raju M aga5tya

View GitHub Profile
@aga5tya
aga5tya / cloudSettings
Created October 7, 2020 05:44
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-10-07T05:44:40.650Z","extensionVersion":"v3.4.3"}
@aga5tya
aga5tya / gist:b7ca66acfb1b4fd3290bacd95495bf74
Created April 23, 2018 15:35 — forked from leoapost/gist:4318441
Delete all remote branches, except master
# Replace REMOTE_NAME with your remote name (e.g. origin)
git branch -r | grep REMOTE_NAME/ | grep -v 'master$' | grep -v HEAD| cut -d/ -f2 | while read line; do git push REMOTE_NAME :$line; done;
@aga5tya
aga5tya / styleguidist.config.js
Last active February 1, 2018 10:01
StyleGuide Config
// styleguidist.config.js
const loaders = require('loaders')
const webpack = require('webpack')
const path = require('path')
module.exports = {
/* Tells the styleguidist to scan the matched files to show in the environement */
components: 'src/components/**/[A-Z]*.js',
/* Base stub used for rendering */
template: 'src/common/index.html',
import React from 'react'
import PropTypes from 'prop-types'
import { createComponent } from 'react-fela'
const __DateContainer = () => ({
'text-align': 'center',
width: '70px',
'line-height': '18px',
'& ._month': {
'font-size': '12px',
<?php
class Twig_Node_Do extends Twig_Node
{
public function __construct(Twig_Node_Expression $expr, $lineno, $tag = null)
{
parent::__construct
(array('expr' => $expr),
array(), $lineno, $tag);
}