Skip to content

Instantly share code, notes, and snippets.

View SilencerWeb's full-sized avatar

Max Gorodov SilencerWeb

View GitHub Profile
<div class="side-menu__active-page">
<a href="" ng-bind="nowProjectItemText()"></a>
<div class="side-menu__active-page-button"></div>
<ul class="side-menu__active-page-sub-menu">
<li class="side-menu__active-page-sub-menu-item"
ng-click="changeProject('person')">
<a href="" ng-bind="i18n.global.project['person']"></a>
</li>
<li class="side-menu__active-page-sub-menu-item"
ng-repeat="(key, value) in user.roles"
import React from 'react';
import { PricesControl } from 'components/prices/prices-control';
import { PricesTable } from 'components/prices/prices-table';
import { api } from 'helpers/api/api';
class Prices extends React.Component {
state = {
exchanges: [
state = {
glossary: [
{
name: 'Altcoins',
description: 'The “alt” means “alternative” and “coins” mean other cryptocurrencies. These are, in essence, alternative to the Bitcoin, and have a lower value on the market. E.g: Ethereum, Litecoin, Dogecoin.',
isOpened: false
},
{
name: 'Altcoins',
description: 'The “alt” means “alternative” and “coins” mean other cryptocurrencies. These are, in essence, alternative to the Bitcoin, and have a lower value on the market. E.g: Ethereum, Litecoin, Dogecoin.',
import React from 'react'
import App from '../containers/App'
import Main from '../components/layouts/Main'
import Home from '../components/Home/'
import NewsList from '../components/News/NewsList'
import ArticlesList from '../components/Articles/ArticlesList'
import ArticleDetails from '../components/Articles/ArticleDetails'
import TradeIdeasList from '../components/TradeIdeas/TradeIdeasList'
import Login from '../components/User/Login'
import SignUp from '../components/User/SignUp'
module.exports = {
entry: './src/index.js',
output: {
filename: 'build/bundle.js',
},
resolve: {
modules: ['node_modules'],
},
module: {
loaders: [
{
"dependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"concurrently": "^3.5.1",
"node-telegram-bot-api": "^0.30.0",
"nodemon": "^1.14.11",
"webpack": "^3.10.0",
import * as React from 'react';
import styled, { css } from 'styled-components';
interface Props {
className?: string;
height?: number;
icon: {
id: string;
node: {
viewBox: {
// @flow
import * as React from 'react';
import styled, { css } from 'styled-components';
type props = {
id?: string,
className?: string,
labelClassName?: string,
inputClassName?: string,
helperTextClassName?: string,
function b64EncodeUnicode(str) {
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,
function toSolidBytes(match, p1) {
return String.fromCharCode('0x' + p1);
}));
}
fetch('https://us17.api.mailchimp.com/3.0/lists/185415c92c/members', {
method: 'POST',
headers: {
<?php
$api_key = '54382c98550fdf0b97613938e4031797-us17';
$datacenter = 'us17';
$list_id = '185415c92c';
$errors = array();
$data = array();
$email = $_POST['email'];
$status = 'subscribed';
$url = 'http://'.$datacenter.'.api.mailchimp.com/3.0/lists/'.$list_id.'/members/';
$auth = base64_encode( 'user:'.$api_key );