Skip to content

Instantly share code, notes, and snippets.

View roketstorm's full-sized avatar
💻
Working

Artur Shamsutdinov roketstorm

💻
Working
View GitHub Profile
import 'package:flutter/material.dart';
import 'package:gensei_shop/pages/catalogPage.dart';
import 'package:gensei_shop/pages/contactsPage.dart';
import 'package:gensei_shop/pages/homePage.dart';
import 'package:gensei_shop/pages/ordersPage.dart';
// Точка входа в программу
void main() => runApp(MyApp());
// Корневой виджет с настройками приложения
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
int _current;
List<Widget> items = [
GoalStep1(),
GoalStep2(),
GoalStep3(),
GoalStep4(),
GoalStep5()
];
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
-module(test).
-export([start/0]).
-include_lib("/usr/local/Cellar/erlang/21.1.2/lib/erlang/lib/wx-1.8.5/include/wx.hrl").
-define(Connect, 150).
-define(Send, 151).
start() -> spawn_link(fun() -> init() end).
init() ->
@roketstorm
roketstorm / template.php
Created July 21, 2017 04:48
Bitrix web-form template
<?
/** @var array $arParams */
/** @var array $arResult */
?>
<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
?>
<form name="<?=$arResult["WEB_FORM_NAME"]?>" action="<?=POST_FORM_ACTION_URI;?>" enctype="multipart/form-data" method="POST">
<?=bitrix_sessid_post();?>
<input type="hidden" name="WEB_FORM_ID" value="<?=$arParams["WEB_FORM_ID"];?>" />