Skip to content

Instantly share code, notes, and snippets.

View galpratama's full-sized avatar
🎯
Focusing

Galih Pratama galpratama

🎯
Focusing
View GitHub Profile
@JamesMenetrey
JamesMenetrey / README.md
Last active September 29, 2022 08:27
Install Oh-My-Zsh + iTerm2 with Solarized + System-wide console in 2017 (macOS)

Install iTerm2 with Solarized in 2017

Here is the looks and feel of your terminal once the tutorial has been applied on your system:

Install iTerm2

Using Homebrew:

<?php
namespace App\Http\Controllers;
use App\Http\Requests;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
class FooController extends Controller
{
adb kill-server
adb connect 127.0.0.1:53001
@bobbygrace
bobbygrace / trello-css-guide.md
Last active May 15, 2024 16:01
Trello CSS Guide

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@anthonyholmes
anthonyholmes / bootstrap-sass-mixin-cheatsheet.scss
Created October 10, 2014 08:13
Bootstrap Sass Mixin Cheatsheet
// Alerts
@include alert-variant($background, $border, $text-color);
// Background Variant
@include bg-variant($parent, $color);
// Border Radius
@include border-top-radius($radius);
@include border-right-radius($radius);
@include border-bottom-radius($radius);
@geovedi
geovedi / tanggapan.md
Last active November 29, 2023 06:06
TL;DR — I don't condemn stupidity, but I can't condone irrationality.

Perhatian: Kalau kamu atau siapapun merasa keberatan atas isi tulisan ini, silakan abaikan karena tulisan ini tidak ditujukan untuk mereka yang belum dewasa, juga tidak ditujukan untuk mereka yang tidak mampu berpikir terbuka dan tentunya tidak ditujukan untuk mereka yang tidak punya rasa humor yang baik.

Kepada wartawan/wartawati: Silakan mengutip tulisan ini tanpa mengubah arti dan mohon mencantumkan tautan agar pembaca dapat membaca sendiri tulisan saya yang sewaktu-waktu diperbarui. Terima kasih untuk para wartawan/wartawati beberapa media yang telah meminta saya menjadi narasumbernya, namun sangat disayangkan saya tidak melayani tanya jawab untuk masalah yang dibahas dalam tulisan ini sampai waktu yang tidak ditentukan.


Terima kasih untuk kalian yang sudah mengirimkan pesan kepada saya lewat surel, Twitter, Facebook dan SMS. Ini tanggapan saya untuk semua pertanyaan, pernyataan dan ajakan kalian.

![](http://fc03.deviantart.net/fs70/f/2013/146/e/7/spongebob_don_t_care_bitch__by_mushroom_c

@dwayne
dwayne / a-modern-frontend-dev.md
Last active March 21, 2021 11:38
Articles, tutorials and tools for modern front-end development.

Problem: What does a Modern Front-End Development Workflow Look Like?

I want to start writing libraries and large applications using the JavaScript language. However, I don't know how to setup the project and which build tools to use. What I do know is that the JavaScript community has moved way beyond using browser developer tool plugins and strategically-placed console.log() statements to debug, test, and build code.

I need help.

Below, I will keep track of articles, tutorials and tools I come across as I search for a way to bring my front-end development chops up-to-date.

The Ultimate Resource

@croxton
croxton / gist:4073583
Last active March 29, 2021 12:34
Install xdebug 2.2.0 for AMPPS on OSX
Grab the 'PHP Remote Debugging Client' (the pre-complied xdebug binary for OSX) from here:
http://code.activestate.com/komodo/remotedebugging/
Unzip it, find the folder that corresponds to the version of PHP you want to install it for and copy the xdebug.so file from there into your php extensions folder in the relevant PHP version directory. E.g. for PHP 5.4:
/Applications/AMPSS/php-5.4/lib/extensions/ext/
Now open PHP.ini in a text editor:
/Applications/AMPSS/php-5.4/etc/php.ini