This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# requirements: | |
# - pageres-cli (https://github.com/sindresorhus/pageres-cli) | |
# CLI website screenshot tool | |
# - crunch (https://github.com/chrissimpkins/Crunch) | |
# PNG image optimizer | |
# | |
# usage: | |
# see https://github.com/sindresorhus/pageres-cli#usage | |
# don't use `--format` argument, let script do it automatically |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function logic() { | |
let data = {} | |
// kode pemrosesan data ... | |
debugger | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function logic() { | |
let data = {} | |
// kode pemrosesan data ... | |
console.log('-----------------------') | |
console.log('data setelah diproses') | |
console.log(data) | |
console.log('-----------------------') | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# factories | |
begin | |
require "active_support/inflector" | |
watch(%r{spec/factories/(.+).rb}) do |match| | |
"#{rspec.spec_dir}/models/#{match[1].singularize}_spec.rb" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
MAJOR_VERSION=21 | |
MINOR_VERSION=1 | |
INSTANTCLIENT_DIRNAME=instantclient_${MAJOR_VERSION}_${MINOR_VERSION} | |
INSTANTCLIENT_PATH=/opt/${INSTANTCLIENT_DIRNAME} | |
INSTANTCLIENT_DOWNLOAD_PATH=/tmp/${INSTANTCLIENT_DIRNAME} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.mint.com/ | |
https://www.mobify.com/ | |
https://alpha-creative.vuetifyjs.com | |
http://www.templatemonsterpreview.com/demo/94212.html?_ga=2.104293187.2122524184.1599223583-2013893291.1599223583 | |
https://www.groovecommerce.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (is_numeric($data1) && is_numeric($data2)) { | |
return $data1*$data2; | |
} else { | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Layout/EmptyLinesAroundAttributeAccessor: | |
Enabled: false | |
Layout/SpaceAroundMethodCallOperator: | |
Enabled: false | |
Lint/DeprecatedOpenSSLConstant: | |
Enabled: false | |
Lint/DuplicateElsifCondition: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# version 0.88.0 | |
AllCops: | |
Exclude: | |
- 'node_modules/**/*' | |
- 'vendor/**/*' | |
- 'bin/*' | |
- 'db/*_schema.rb' | |
- 'db/schema.rb' | |
- 'config/spring.rb' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :development, :test do | |
gem 'guard-rspec', require: false | |
gem 'rspec-rails', '~> 4.0.1' | |
end | |
group :development do | |
gem 'rubocop', '~> 0.88.0', require: false | |
gem 'spring-commands-rspec' | |
gem 'spring-commands-rubocop' | |
end |