Skip to content

Instantly share code, notes, and snippets.

@vikky410
vikky410 / index.html
Created February 14, 2017 12:57 — forked from anonymous/index.html
protein tracker app
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>protein tracker app</title>
<script type="application/dart" src="main.dart"></script>
</head>
@vikky410
vikky410 / index.html
Created February 14, 2017 11:01 — forked from anonymous/index.html
throbbing-toast-6592
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>throbbing-toast-6592</title>
<script type="application/dart" src="main.dart"></script>
</head>
License Key PhpStorm 8
User Name : EMBRACE
===== LICENSE BEGIN =====
43136-12042010
00002UsvSON704l"dILe1PVx3y4"B3
49AU6oSDJrsjE8nMOQh"8HTDJHIUUh
gd1BebYc5U"6OxDbVsALB4Eb10PW8"
===== LICENSE END =====
@vikky410
vikky410 / SideBarViewComposer.php
Created March 31, 2015 11:16
TechCMS SidebarViewComposer
<?php
namespace TechCMS\Modules\Groups\Composers;
use Illuminate\Support\Facades\Config;
use Illuminate\View\View;
class SidebarViewComposer
{
public function compose(View $view)
{
@vikky410
vikky410 / .env
Created March 28, 2015 05:28
env file
APP_ENV=local
APP_KEY=SomeRandomString
DB_USERNAME=root
DB_PASSWORD=tech
DB_NAME=typicms
REMOTE_HOST=
REMOTE_USERNAME=
REMOTE_PASSWORD=
REMOTE_KEY=
REMOTE_KEYPHRASE=
@vikky410
vikky410 / Macros.php
Created March 21, 2015 18:34
Laravel4: macros by Vik
<?php
/**
* Back office table headers
*/
HTML::macro('th', function ($field = '', $defaultOrder = null, $sortable = true, $label = true) {
$inputs = Input::all();
$order = Input::get('order');
if ($defaultOrder && ! $order) { // set default column active
$order = $field;
}
@vikky410
vikky410 / file.php
Created March 21, 2015 15:48
Laravel: file des app/file.php
<?php
return array(
'types' => array(
'mp3' => 'a',
'wav' => 'a',
'aif' => 'a',
'aac' => 'a',
'm4v' => 'v',
'mkv' => 'v',
@vikky410
vikky410 / app-locales.php
Created March 21, 2015 15:45
Laravel4: app locales
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/
@vikky410
vikky410 / start.php
Created March 21, 2015 15:37
Laravel4: start.php of bootstrap
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
@vikky410
vikky410 / angular.html
Created March 16, 2015 11:09
Angular Template
<!DOCTYPE html>
<html lang="en" ng-app>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Title Page</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.24/angular.min.js"></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">