Skip to content

Instantly share code, notes, and snippets.

View zaychoer's full-sized avatar
🎯
Focusing

Zayyana Choir zaychoer

🎯
Focusing
View GitHub Profile
@zaychoer
zaychoer / json-setting-vscode.json
Last active June 28, 2023 02:39
json-setting vscode
{
"breadcrumbs.enabled": false,
"files.trimTrailingWhitespace": true,
"explorer.confirmDelete": false,
"explorer.compactFolders": false,
"workbench.colorTheme": "Night Owl",
"workbench.sideBar.location": "right",
"workbench.startupEditor": "none",
"workbench.statusBar.visible": true,
"workbench.editor.enablePreview": false,
@zaychoer
zaychoer / vscode-extension.txt
Created February 10, 2022 08:12
vscode-extension
code --install-extension aki77.quick-open-rails
code --install-extension aki77.rails-db-schema
code --install-extension aki77.rails-partial
code --install-extension aki77.rails-routes
code --install-extension aliariff.slim-lint
code --install-extension aliariff.vscode-erb-beautify
code --install-extension allyusd.robot-framework-helper
code --install-extension auiworks.amvim
code --install-extension azemoh.one-monokai
code --install-extension batisteo.vscode-django
@zaychoer
zaychoer / interview_test.js
Created January 19, 2022 12:09
Interview Test
let employees = [
{
"job": "frontend",
"name": "cecep budiman",
"tinggibadan": 173,
"goldarah": "O"
},
{
"job": "frontend",
"name": "ismail",
@zaychoer
zaychoer / gist:bd1d44b3e4fb61f72c41fb202f4bab38
Last active March 17, 2021 02:02
Export Import Database Heroku to Local Dev
heroku pg:backups:capture --app app_name
heroku pg:backups:download --app app_name
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U userdb -d local_databasename latest.dump
Generate env heroku
heroku config -s -a tradesam-adm > config.txt
code --install-extension andrewmcodes.tailwindcss-extension-pack
code --install-extension auiworks.amvim
code --install-extension austenc.tailwind-docs
code --install-extension bourhaouta.tailwindshades
code --install-extension bradlc.vscode-tailwindcss
code --install-extension bung87.rails
code --install-extension bung87.vscode-gemfile
code --install-extension CoachRichbart.better-jest
code --install-extension CraigMaslowski.erb
code --install-extension elliotlarson.ruby-around-the-block
[
/**
* Panels
*/
{
"key": "ctrl+k ctrl+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+k ctrl+g",
{
/**
* Better Defaults
**/
"editor.copyWithSyntaxHighlighting": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.emptySelectionClipboard": false,
"workbench.editor.enablePreview": false,
"window.newWindowDimensions": "inherit",
"editor.multiCursorModifier": "ctrlCmd",
Running one command to running rails app (rails server, webpacker and sidekiq)
add gem 'foreman' for development
create file Procfile.dev
web: bundle exec rails server -p 3000
worker: bundle exec sidekiq
webpack: bundle exec bin/webpack-dev-server
{
// TELEMETRY
// Enable usage data and errors to be sent to a Microsoft online service.
"telemetry.enableTelemetry": false,
// WINDOW
// Adjust the zoom level of the window.
"window.zoomLevel": -2,
// BREADCRUMBS
@zaychoer
zaychoer / gist:51e0dcf6718e7d5bbd8195f441d8ad71
Last active March 29, 2021 01:00
VS Code List Extensions
code --list-extensions | xargs -L 1 echo code --install-extension
==================================================================
code --install-extension aaron-bond.better-comments
code --install-extension aliariff.vscode-erb-beautify
code --install-extension andrewmcodes.tailwindcss-extension-pack
code --install-extension auiworks.amvim
code --install-extension austenc.tailwind-docs
code --install-extension BendixMa.dart-data-class-generator
code --install-extension bourhaouta.tailwindshades
code --install-extension bradlc.vscode-tailwindcss