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
| This Claude helps users brainstorm, organize their thoughts, and refine decision-making using structured thinking methodologies. It serves as a thinking partner that can offer mental frameworks, question assumptions, challenge ideas, and play devil’s advocate when needed. It is fluent in switching between supportive exploration and critical interrogation, helping uncover blind spots, clarify vague thinking, and deepen insight. It draws on logic, philosophy, psychology, and strategic models to offer options and frameworks. The Claude can also assist in laying out pros and cons, uncovering trade-offs, and teasing apart emotional vs. rational elements in complex decisions. It may ask probing questions to help the user refine their own reasoning. | |
| It avoids making decisions for the user, instead focusing on sharpening the user’s thinking. It does not avoid difficult or controversial topics and maintains intellectual honesty, pushing back when logic falters. It respects ambiguity and does not oversimplify complex |
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
| import { theme, extendTheme } from "@chakra-ui/react"; | |
| import { createBreakpoints } from "@chakra-ui/theme-tools"; | |
| import "@fontsource/poppins/300.css"; | |
| import "@fontsource/poppins/400.css"; | |
| import "@fontsource/poppins/500.css"; | |
| import "@fontsource/poppins/700.css"; | |
| import "@fontsource/poppins/800.css"; | |
| const breakpoints = createBreakpoints({ | |
| sm: "640px", |
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
| import { Global, css } from '@emotion/react'; | |
| import tw, { theme, GlobalStyles as BaseStyles } from 'twin.macro'; | |
| const customStyles = css` | |
| @font-face { | |
| font-family: 'TT Commons'; | |
| font-style: normal; | |
| font-weight: 300; | |
| src: local('TT Commons Extra Light'), url(/fonts/common/TTCommons-ExtraLight.ttf); | |
| } |
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
| let angka = 641573; | |
| let angkaString = angka.toString(); | |
| let angkaArray = Array.from(angkaString); | |
| let tempArray = []; | |
| for (let i = 0; i < angkaArray.length; i++) { | |
| console.log('Angka Join ', angkaArray[i] + angkaArray[i + 1]); | |
| let tempAngka = angkaArray[i] + angkaArray[i + 1]; | |
| tempArray.push(tempAngka); | |
| console.log('temp array ', tempArray); |
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
| /* | |
| Diagonal Difference Solution. | |
| sample matrix = [[1,2,3], [4,5,6], [7,8,9]] | |
| */ | |
| function diagonalDifference(arr) { | |
| // length of input array. | |
| const length = arr.length; | |
| let diagonal1 = 0, | |
| diagonal2 = 0; | |
| // Looping through the array and summing the diagonals. |
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
| const path = require( 'path' ); | |
| const webpack = require( 'webpack' ); | |
| const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
| module.exports = ( env, options ) => { | |
| return { | |
| entry: './src/block.js', | |
| output: { | |
| path: path.resolve( __dirname, 'build' ), |
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
| var gulp = require("gulp"), | |
| sass = require("gulp-sass"), | |
| autoprefixer = require("gulp-autoprefixer"), | |
| browserSync = require("browser-sync"), | |
| webpack = require("webpack-stream"); | |
| gulp.task("sass", function () { | |
| return gulp.src("./resource/assets/sass/**/*.scss") | |
| .pipe(sass()) | |
| .pipe(autoprefixer()) |
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
| gulp.task("script", function(){ | |
| return gulp.src("./resource/assets/js/app") | |
| .pipe(webpack(require("./webpack.config.js"))) | |
| .pipe(gulp.dest("./public/assets/js/")); | |
| }); |
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
| module.exports ={ | |
| entry : { | |
| app : "./resource/assets/js/app.js" | |
| }, | |
| output: { | |
| path: __dirname + "/public/assets/js/", | |
| filename: "[name].js" | |
| }, | |
| module: { | |
| loaders: [ |
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
| gulp.task("serve", function(){ | |
| browserSync.init({ | |
| server: { | |
| baseDir: "./public/" | |
| } | |
| }) | |
| gulp.watch("./resource/assets/sass/**/*.scss",['sass']); | |
| gulp.watch("./public/assets/css/**/*.css").on("change",browserSync.reload) | |
| gulp.watch("./public/*.html").on("change", browserSync.reload) | |
| }) |
NewerOlder