Skip to content

Instantly share code, notes, and snippets.

View arifikhsan's full-sized avatar
🏡
Cool and Focusing

Arif Ikhsanudin arifikhsan

🏡
Cool and Focusing
View GitHub Profile
module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
]
}
<p class="text-red-500">
For a guide and recipes on how to configure / customize this project,<br>
check out the
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
</p>
@arifikhsan
arifikhsan / tailwind.config.js
Last active December 2, 2019 06:49
tailwind medium
module.exports = {
theme: {
extend: {}
},
variants: {},
plugins: []
}
@arifikhsan
arifikhsan / automation.txt
Last active November 23, 2019 04:29
sig automation
Peta_Erosivitas == Erosivitas_Hujan
buka Daerah_Penelitian dan Data_Hujan
save as
Daerah_Penelitian -> Erosivitas_Hujan
Data_Hujan -> Peta_Hujan
buka Erosivitas_Hujan dan Peta_Hujan
module.exports = {
theme: {
extend: {
spacing: {
'72': '18rem',
'80': '20rem'
},
padding: {
'5/6': '83.3333333%'
}
@arifikhsan
arifikhsan / bash.sh
Created July 8, 2019 09:21
create directories with folder number
// s1 s2 s3 ... s50
mkdir s{1..50}
@arifikhsan
arifikhsan / install_nano.sh
Created April 12, 2019 14:23
heroku install nano
mkdir /app/nano
curl https://github.com/Ehryk/heroku-nano/raw/master/heroku-nano-2.5.1/nano.tar.gz --location --silent | tar xz -C /app/nano
export PATH=$PATH:/app/nano
@arifikhsan
arifikhsan / ahoy_base.rb
Created April 12, 2019 03:00 — forked from jabbett/ahoy_base.rb
Setting up Ahoy models to use a separate datastore
module Ahoy
class AhoyBase < ActiveRecord::Base
establish_connection DB_STATS
self.abstract_class = true
end
end
@arifikhsan
arifikhsan / .gitlab-ci.yml
Created April 1, 2019 05:13
gitlab ci rails postgres
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/ruby/tags/
image: "ruby:2.4"
# Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
services:
- mysql:latest
@arifikhsan
arifikhsan / card.component.html
Created March 25, 2019 14:33
angular material card action center
one button in the right
<mat-card-actions align="end">
<button mat-button>Click me!</button>
</mat-card-actions>
first button left, second button right
<mat-card-actions align="end">
<button mat-button>LEFT</button>