Skip to content

Instantly share code, notes, and snippets.

@Radostin
Radostin / twitter.html
Created November 6, 2017 20:25
Twitter Mockup with TailwindCSS
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Twitter</title>
<link rel="stylesheet" type="text/css" href="./css/tailwind.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
@Radostin
Radostin / install.sh
Last active August 29, 2015 14:26 — forked from stayallive/install.sh
Install PHP 5.6.7 on Plesk 11.5 & 12 (CentOS 6)
#!/bin/bash
# Make sure you are up to date
yum -y update && yum -y install wget
# Install EPEL repository
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# Get us a clean working directory
mkdir /php
CREATE USER SCOTT IDENTIFIED BY PASS
GRANT DBA TO SCOTT
@C:\SCOTT.sql
@Radostin
Radostin / Gulpfile.js
Last active March 20, 2016 20:35
bundling reactjs components with Gulp
var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('babelify');
var source = require('vinyl-source-stream');
gulp.task('browserify', function () {
return browserify('./js/app.js')
.transform(babelify, {stage: 0})
.bundle()
.pipe(source('bundle.js'))
@Radostin
Radostin / bashrc
Last active August 29, 2015 14:18
some development shortcuts in bashrc
export PATH="$PATH:~/.composer/vendor/bin"
#development aliases
alias vm="clear && homestead ssh"
alias a="clear && php artisan"
alias g="clear && gulp watch"
alias cm="clear && git add -A && git commit -m"
alias gp="clear && git push origin"