Skip to content

Instantly share code, notes, and snippets.

View getsolaris's full-sized avatar

getsolaris

View GitHub Profile
@skt-t1-byungi
skt-t1-byungi / abbr.txt
Last active May 23, 2021 05:33
내가 코딩때 쓰는 약어 모음
app => application
acc => accumulate
arr => array
abs => absolute
addr => address
arg => argument
args => arguments
attr => attribute
attrs => attributes
auth => authenticate
@yupmin
yupmin / gist:4fb5d3eb0aeb4fd353cbc993a60be7b4
Last active November 25, 2019 00:20
Install Laravel Valet with Phpstorm For Mac OSX

Laravel Valet 은 PHP or Laravel 개발하는데에 거의 필수 툴이 되어가는 듯 합니다. Laravel Valet 제대로 설치하시고 정신건강을 보존하시길 바랍니다.

좀 보강할 내용은 댓글로 남겨주세요.

"Web development that doesn't hurt"

On Mac OSX

0. 참고 링크

@mbeaudru
mbeaudru / Checkbox.js
Created March 22, 2017 09:06
Checkbox with styled-components
import React, { Component, PropTypes } from 'react';
import styled from 'styled-components';
class Checkbox extends Component {
render() {
return (
<Styled
onClick={() => this.props.onChange(!this.props.checked)}
>
<input
@citrusui
citrusui / dropdown.md
Last active April 21, 2024 18:44
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@midascodebreaker
midascodebreaker / setup-docker-laradock.md
Last active October 16, 2020 21:25
Guide: Set Up Laravel 5.3 with Docker + LaraDock + Let's Encrypt SSL in Digital Ocean within 5 Minutes.

Here is what i did to Set up a laravel Project in Digital Ocean

Install Docker

Login Digital Ocean
Add Droplet
1 Click Install docker
Choose Droplet
reset ROOT password
check email
@maxpou
maxpou / _pagination.html.twig
Last active February 26, 2023 20:28
Example of pagination with Twig
{#
Parameters:
* nbPages (int): number of pages
* currentPage (int): current pages
* url (string): route name & query (string): route parameter
ex: list/page-5?q=myFilter (5 = page and query = myFilter)
#}
{% spaceless %}
{% if nbPages > 1 %}
@gilbitron
gilbitron / .env.travis
Last active August 12, 2023 08:06
Laravel 5 Travis CI config
APP_ENV=testing
APP_KEY=SomeRandomString
DB_CONNECTION=testing
DB_TEST_USERNAME=root
DB_TEST_PASSWORD=
CACHE_DRIVER=array
SESSION_DRIVER=array
QUEUE_DRIVER=sync
@roachhd
roachhd / README.md
Last active May 10, 2024 15:10
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

@jeremeamia
jeremeamia / aws-csv-streamwrapper.php
Created June 6, 2014 18:23
Shows how to read a CSV stored in S3 using the AWS SDK for PHP's S3 Stream Wrapper.
<?php
require __DIR__ . '/vendor/autoload.php';
$s3 = Aws\S3\S3Client::factory($config);
$s3->registerStreamWrapper();
$url = 's3://{$bucket}/{$key}';
// Read CSV with fopen