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
/* @flow weak */ | |
/* eslint react/prop-types: 0 */ | |
import React, {PropTypes} from "react"; | |
import Relay from "react-relay"; | |
import * as _ from "lodash"; | |
import Radium from 'radium'; | |
import formToUrl from "../../../../scripts/search-conv/objToUrl.js"; | |
import urlToObj from "../../../../scripts/search-conv/urlToObj.js"; | |
import encodeUrl from "../../../../scripts/search-conv/urlEncoder.js"; | |
import {browserHistory} from "react-router"; |
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, {PropTypes} from 'react'; | |
import Radium from 'radium'; | |
import withWidth2, { | |
X_SMALL, | |
SMALL, | |
H_SMALL, | |
MEDIUM, | |
X_MEDIUM, | |
LARGE | |
} from '../../../../../../../../../webapp/scripts/withWidth2.js'; |
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, {PropTypes} from 'react'; | |
import Radium from 'radium'; | |
import withWidth2, { | |
X_SMALL, | |
SMALL, | |
H_SMALL, | |
MEDIUM, | |
X_MEDIUM, | |
LARGE | |
} from '../../../../../../../../../webapp/scripts/withWidth2.js'; |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"os" | |
elastic "gopkg.in/olivere/elastic.v3" | |
) |
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
New-Item -ItemType Directory -Path "$env:appdata\Sublime Text 3\Installed Packages" | |
New-Item -ItemType Directory -Path "$env:appdata\Sublime Text 3\Packages\User" | |
Invoke-WebRequest "https://sublime.wbond.net/Package%20Control.sublime-package" -OutFile "$env:appdata\Sublime Text 3\Installed Packages\Package Control.sublime-package" | |
Invoke-WebRequest "https://gist.githubusercontent.com/SvitlanaShepitsena/6b1c6a1590f277738860/raw/e4ba2f4875e76a145457dbe23458c5998434e505/installed-packages -OutFile "$env:appdata\Sublime Text 3\Packages\User\Package Control.sublime-settings" | |
Invoke-WebRequest "https://gist.githubusercontent.com/SvitlanaShepitsena/a03b0df03075c5e0a5f6/raw/12d067f637303a966dc6d94dd1482dc48154877a/sublime-settings -OutFile "$env:appdata\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap" | |
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
#Special windowsy stuff. see http://boxstarter.org/WinConfig | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions | |
Install-WindowsUpdate | |
Disable-InternetExplorerESC | |
Disable-UAC | |
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst | |
Set-TaskbarOptions -Size Large -Lock -Dock Bottom | |
Update-ExecutionPolicy |
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
/*1. самый дешевый телефон с самой большой памятью и черного цвета*/ | |
/*2. чем отличается розовый айфон о | |
*/ | |
var phones = [ | |
{model:'iPhone', | |
price: 5500, | |
color: 'black', | |
memory: '8GB'}, | |
{model:'iPhone', | |
price: 6500, |
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
$Boxstarter.NoPassword=$true # Is this a machine with no login password? | |
Disable-UAC | |
Update-ExecutionPolicy Unrestricted # Allow running PowerShell scripts | |
try { | |
choco -y install visualstudio2015community | |
choco install windows-sdk-10.0 | |
if (Test-PendingReboot) { Invoke-Reboot } |
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
try { | |
choco -y install visualstudio2015community | |
choco install windows-sdk-10.0 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
Write-ChocolateySuccess 'Done' | |
} catch { |
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
$Boxstarter.NoPassword=$true # Is this a machine with no login password? | |
Enable-RemoteDesktop | |
Disable-UAC | |
Update-ExecutionPolicy Unrestricted # Allow running PowerShell scripts | |