Skip to content

Instantly share code, notes, and snippets.

View luritas's full-sized avatar
💭
I may be slow to respond.

Jaekuk luritas

💭
I may be slow to respond.
View GitHub Profile
@luritas
luritas / package.json
Created July 8, 2018 15:38
리플 api for javascript 를 위한 초기 package.json
{
"name": "my_ripple_experiment",
"version": "0.0.1",
"license": "MIT",
"private": true,
"//": "Change the license to something appropriate. You may want to use 'UNLICENSED' if you are just starting out.",
"dependencies": {
"ripple-lib": "*",
"babel-cli": "^6.0.0",
"babel-preset-es2015": "*"
@luritas
luritas / form.blade.php
Last active May 28, 2018 02:47
[Laravel][Bootstrap3] 회원가입 각종 폼 양식
<!--
참고:
https://getbootstrap.com/docs/3.3/css/
https://mdbootstrap.com/components/bootstrap-radio-button/
-->
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="text-center">신청서 작성</h4>
@luritas
luritas / RaspberryPi_install.bash
Last active April 13, 2018 01:25 — forked from isc30/install.bash
Raspberry Pi Install PHP7 + Nginx + MySQL + PhpMyAdmin (last versions)
#!/bin/bash
# Thanks to https://gist.github.com/Lewiscowles1986/ce14296e3f5222082dbaa088ca1954f7
if [ "$(whoami)" != "root" ]; then
echo "Run script as ROOT please. (sudo !!)"
exit
fi
echo "deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi" > /etc/apt/sources.list.d/stretch.list
echo "APT::Default-Release \"jessie\";" > /etc/apt/apt.conf.d/99-default-release
@luritas
luritas / Dockerfile
Last active February 11, 2018 11:51 — forked from kovagoz/docker-compose.yml
Laravel Docker Compose Nginx PHP-FPM
FROM php:7.2-fpm-alpine
RUN docker-php-source extract && \
apk add --update --no-cache autoconf g++ make && \
pecl install redis && \
docker-php-ext-enable redis && \
docker-php-ext-install mysqli && \
docker-php-ext-install pdo && \
docker-php-ext-install pdo_mysql && \
docker-php-ext-install mbstring && \
@luritas
luritas / App\Exceptions\Handler.php
Created April 18, 2017 05:51 — forked from jacurtis/App\Exceptions\Handler.php
How to get filp/whoops to work in Laravel 5.2 or 5.3 - Add this code to your `App\Exceptions\Handler.php` file.
/**
* Create a Symfony response for the given exception.
*
* @param \Exception $e
* @return mixed
*/
protected function convertExceptionToResponse(Exception $e)
{
if (config('app.debug')) {
$whoops = new \Whoops\Run;
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->