This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// | |
// VIM NAVIGATION SHORTCUTS | |
// | |
{ | |
// "ctrl+h": Focuses on the left editor group when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
"key": "ctrl+h", | |
"command": "workbench.action.focusLeftGroup", | |
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { orderBy, remove } from 'lodash'; | |
export default { | |
/** | |
* State | |
* | |
* @type {Object} | |
* @author {goper} | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import ReactDom from 'react-dom'; | |
export default class Room extends Component { | |
state = {open : false}; | |
handleClick = (e) => { | |
let value = false; | |
if(ReactDom.findDOMNode(this).contains(e.target)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDom from 'react-dom'; | |
const SingleList = (props) => { | |
return ( | |
<li className="dropdown"> | |
<a> | |
Room Type | |
<span className="caret"></span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Helpers\Mailchimp; | |
use DrewM\MailChimp\MailChimp as MailchimpWrapper; | |
use DrewM\MailChimp\Batch; | |
use Carbon\Carbon; | |
use Log; | |
use File; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "Digi-Key", | |
"TotalCount": 3, | |
"Count": 3, | |
"DistributorResults": [{ | |
"PartNumber": "MSP430G2452IRSA16R", | |
"Manufacturer": "Texas Instruments", | |
"Description": "IC MCU 16BIT 8KB FLASH 16QFN", | |
"DistributorPartNumber": "296-28129-2-ND", | |
"Compliance": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var concat = require('gulp-concat'); | |
var minifyJS = require('gulp-uglify'); | |
var minifyCSS = require('gulp-minify-css'); | |
var watcher = require('gulp-watch'); | |
var gutil = require('gulp-util'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var concat = require('gulp-concat'); | |
var minifyJS = require('gulp-uglify'); | |
var minifyCSS = require('gulp-minify-css'); | |
var watcher = require('gulp-watch'); | |
var gutil = require('gulp-util'); | |
var rename = require('gulp-rename'); |